Skip to content

fix: permit transactional maintenance health - #58

Merged
Nickfost merged 1 commit into
mainfrom
fix/bootstrap-maintenance-health
Jul 28, 2026
Merged

fix: permit transactional maintenance health#58
Nickfost merged 1 commit into
mainfrom
fix/bootstrap-maintenance-health

Conversation

@Nickfost

Copy link
Copy Markdown
Member

Summary

Follow-up to #57 for a deployment-blocking transaction-health interaction found while exercising the merged upgrade and rollback paths.

  • ignore stale maintenance-service results only during pre-commit activation health
  • apply the same transactional health mode while validating a restored rollback checkpoint
  • retain full maintenance-service enforcement for every scheduled health run

Root cause

Activation intentionally runs health before committing installation state. At that point, maintenance oneshots can still report the previous revision's result; treating those historical results as candidate failures makes a healthy activation roll back. The rollback verifier had the same issue and could reject a correctly restored checkpoint.

Verification

  • python3 -m unittest discover -s scripts -p 'test_*.py'
  • ./scripts/test-install-worker-controller.sh
  • shellcheck scripts/*.sh examples/project/scripts/ci/*.sh templates/config-repository/scripts/*.sh
  • shell syntax and diff checks
  • committed-secret scan

@Nickfost

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 6b9626d623

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Nickfost
Nickfost merged commit 9afb9e0 into main Jul 28, 2026
1 check passed
@Nickfost
Nickfost deleted the fix/bootstrap-maintenance-health branch July 28, 2026 07:50
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