Skip to content

fix(api): add_local_* last — env() after them fails the Modal build - #60

Merged
ronaldtse merged 1 commit into
mainfrom
fix/image-order
Aug 28, 2026
Merged

fix(api): add_local_* last — env() after them fails the Modal build#60
ronaldtse merged 1 commit into
mainfrom
fix/image-order

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The mounts commit (690fd54, pushed directly to main by mistake during
deploy debugging — disclosed) was untestable as written: Modal
rejects build steps after add_local_* and the deploy failed silently
in a truncated log box, so the old deployment kept serving. Reorder:
pip_install/workdir/env first, add_local_* last. This is what the
currently-deployed, now-working endpoint runs.

The reorder deploy had been silently failing on image build rules,
leaving the pre-fix deployment serving.
@ronaldtse
ronaldtse merged commit ec00f7c into main Aug 28, 2026
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant