Skip to content

Local area publish workflow fails: Modal cannot auto-detect entrypoint #592

@baogorek

Description

@baogorek

Problem

The Publish Local Area H5 Files workflow (run #22779569113) fails immediately with:

Error: Specify a Modal Function or local entrypoint to run.

Root cause

modal_app/local_area.py has two @app.local_entrypoint() functions: main and main_promote. When there was only one, Modal auto-selected it. With two, modal run modal_app/local_area.py is ambiguous and Modal exits with an error.

The workflow command:

modal run modal_app/local_area.py --branch=main --num-workers=8

needs to be:

modal run modal_app/local_area.py::main --branch=main --num-workers=8

Impact

  • Local area H5 files were not published
  • The workflow failure also blocked visibility into the non-local-area publish pipeline

Fix

  • Add ::main to disambiguate the entrypoint
  • Temporarily disable automatic triggers (push/repository_dispatch) so this doesn't block other workflows until we're ready to re-run it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions