Repository navigation
fix(apps): deploy every function when an App is split across files - #710
Merged
KAJdev merged 4 commits intoNov 11, 2026
Merged
Conversation
deanq
reviewed
Nov 10, 2026
deanq
reviewed
Nov 10, 2026
deanq
approved these changes
Nov 11, 2026
KAJdev
deleted the
zeke/con-2067-directory-deploy-drops-every-resource-when-the
branch
November 11, 2026 00:49
Promptless documentation updates
|
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Splitting an App across files could deploy it with none of its functions.
rp flash deploy .on this project could exit 0 with zero functions and delete the live endpoints.app.pywas loaded twice under two module names, which made two Apps, and the empty one was deployed.Now project files load under their normal Python import names, so every file shares one App and
gendeploys. A package keeps its folder in the artifact, sofrom .app import appalso works on the worker.Deploy now stops before building when a file fails to import, when two files create separate Apps with the same name, or when an App has no functions. Each of those previously shipped a partial app, and a partial deploy removes whatever endpoints are missing from it.
rp flash devnow takes a folder the same way deploy does, so both commands see the same functions. A local entrypoint is optional, and--entrypoint module:functionpicks one when a project has several. A broken edit during a session keeps the current endpoints up until the next good save.Refs CON-2067.