-
Notifications
You must be signed in to change notification settings - Fork 0
refactor(server): Python restart control module — deploy stamp, image/SIF promotion, drain, rollback #217
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
Merged
Merged
refactor(server): Python restart control module — deploy stamp, image/SIF promotion, drain, rollback #217
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
408b8cb
fix(server): stream SLURM wrapper output unbuffered so run_stage reco…
YaoYinYing 153eaa9
refactor(server): Python restart control module with deploy stamp, pr…
YaoYinYing c2ab59b
fix(ctl): dry-run skips the worker audit container; stamp any configu…
YaoYinYing 20df403
chore(ctl): drop unused imports flagged by pyflakes
YaoYinYing b3d7897
fix(ctl): pin git stamp reads to the server checkout, not the caller cwd
YaoYinYing 2477eff
fix(ctl): resolve runner identity before the drain/backup container s…
YaoYinYing 1ef537b
fix(ctl): close stdin for container fs ops that do not feed it
YaoYinYing e488961
fix(ctl): rollback rejects --dry-run; executor resolution matches the…
YaoYinYing 52ead84
fix(ctl): compute change sets at use time; dev retags previous from b…
YaoYinYing 43f5a7f
test(ctl): proxy broadcast reaches subprocess env, stays redacted in …
YaoYinYing c5447bb
fix(ctl): pass -C as a separate git argument — the glued form is invalid
YaoYinYing cd90592
fix(ctl): drop --no-build from the resource-audit compose run
YaoYinYing 19582ff
fix(server): unbuffer AlphaFold stderr so stage markers stream to the…
YaoYinYing b5b760c
fix(ctl): SIF staging keys on image/SIF freshness, not the restart delta
YaoYinYing aee2123
fix(ctl): stamp hashes SIFs promoted via the freshness path too
YaoYinYing 0b1e1bc
fix(ctl): atomic SIF staging — a killed build cannot corrupt .next
YaoYinYing 864a080
docs(ops): SIF freshness detection and scoped catch-up builds
YaoYinYing 4d8b72f
fix(server): python stage translator — mawk holds pipe input until EOF
YaoYinYing 371a232
docs(changelog): the translator rewrite is the streaming fix
YaoYinYing 567b9c6
fix(server): preserve scoped SLURM sweep in restart control
YaoYinYing cf9df4e
fix(ci): install restart controller dependency in full-stack test
YaoYinYing 143fea7
fix(ci): install admin bootstrap dependency in full-stack test
YaoYinYing 51f5d73
fix(server): harden restart rollback and drain cleanup
YaoYinYing 3329dc5
fix(server): harden drain and rollback recovery
YaoYinYing 1addcb0
fix(server): tighten restart controller edge cases
YaoYinYing 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.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: YaoYinYing/REvoDesign
Length of output: 159
🏁 Script executed:
Repository: YaoYinYing/REvoDesign
Length of output: 44248
🏁 Script executed:
Repository: YaoYinYing/REvoDesign
Length of output: 11097
🏁 Script executed:
Repository: YaoYinYing/REvoDesign
Length of output: 529
Update the production-rule intro and add an atomic-staging regression test.
Replace the intro text that tells operators to delete the old SIF.
build_slurm_imageswrites to<sif>.next.buildand callsos.replaceonly after a successful build. Promotion preserves the current SIF as<sif>.previous. Add a test that checks the build target and confirms that failed builds leave neither a corrupt.nextnor an uncleaned.next.build.🤖 Prompt for AI Agents
Source: Coding guidelines