-
-
Notifications
You must be signed in to change notification settings - Fork 32
fix: harden Railway startup persistence and readiness #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Coding-Dev-Tools
wants to merge
13
commits into
main
Choose a base branch
from
codex/railway-deployment-hardening-20260916
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4e085f3
fix: harden Railway startup persistence and readiness
Coding-Dev-Tools aff0a37
fix: reject unsafe Railway ownership markers
Coding-Dev-Tools 2e52158
fix: reject unsafe Railway state directories
Coding-Dev-Tools 5bc085a
fix: own newly created Railway config directories
Coding-Dev-Tools f0c77f5
fix: reject linked Railway config ancestors
Coding-Dev-Tools 6ec3b4a
fix: fail closed for unusable Railway config mounts
Coding-Dev-Tools 1a32f1d
fix: revalidate trusted container paths before ownership changes
Coding-Dev-Tools 8539088
fix: preserve ownership of external container state directories
Coding-Dev-Tools f65fee2
fix: bind startup ownership marker to the managed data volume
Coding-Dev-Tools e8bd797
fix: initialize private state for rootless container startup
Coding-Dev-Tools 07cf507
fix(container): own newly created private directory ancestors
Coding-Dev-Tools a6debb3
fix(container): repair restored descendants despite ownership marker
Coding-Dev-Tools c830f9e
fix(container): reject hard-linked privileged startup inputs
Coding-Dev-Tools File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the image is run with
--user 10001or a KubernetesrunAsUserand/data/.engraphis/config.envhas not already been provisioned, the root-only entrypoint block never creates this newly explicit config file. Becauseconfig._load_trusted_dotenv()treats an explicitENGRAPHIS_ENV_FILEas required (allow_missing=False), importing the configuration raisesFileNotFoundErrorand the dashboard exits before serving; ensure the non-root path creates the file when writable or tolerates its initial absence.Useful? React with 👍 / 👎.