Skip to content

fix(health): schedule after timer activation - #45

Merged
Nickfost merged 1 commit into
mainfrom
fix/health-timer-activation
Jul 23, 2026
Merged

fix(health): schedule after timer activation#45
Nickfost merged 1 commit into
mainfrom
fix/health-timer-activation

Conversation

@Nickfost

Copy link
Copy Markdown
Member

VM 130 read-only verification found ci-fleet-health.timer active but elapsed with no next trigger after the managed installer restarted it long after boot. OnBootSec was already in the past, while the last health service activation predated the restart, so neither monotonic trigger scheduled a future run.

Use the native activation-relative OnActiveSec=2min initial trigger and retain OnUnitActiveSec=5min for recurrence. Add one installer-suite regression asserting the timer cannot regress to boot-relative startup.

Validation:

  • ./scripts/test-install-worker-controller.sh
  • python3 -m unittest scripts/test_health.py
  • Python compilation, shell syntax, and git diff --check

No host state was changed.

@Nickfost

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 298be791a8

ℹ️ 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 543f730 into main Jul 23, 2026
1 check passed
@Nickfost
Nickfost deleted the fix/health-timer-activation branch July 23, 2026 23:54
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.

2 participants