Skip to content

fix: isolate reconcile health status output - #59

Merged
Nickfost merged 1 commit into
mainfrom
fix/reconcile-health-status-output
Jul 28, 2026
Merged

fix: isolate reconcile health status output#59
Nickfost merged 1 commit into
mainfrom
fix/reconcile-health-status-output

Conversation

@Nickfost

Copy link
Copy Markdown
Member

Summary

Keep remote reconciliation's persisted health field machine-readable.

The health command writes a structured report and also renders a human summary to stdout. Command substitution was capturing that summary together with the parsed status, so the state file received a multiline value instead of one of healthy, warning, or unhealthy.

Suppress only the human rendering inside the helper; continue parsing the structured report exactly as before.

Verification

  • python3 -m unittest discover -s scripts -p 'test_*.py'
  • ./scripts/test-install-worker-controller.sh
  • shellcheck, shell syntax, diff, and committed-secret checks

@Nickfost

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 8854fbb36c

ℹ️ 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 5f7646b into main Jul 28, 2026
1 check passed
@Nickfost
Nickfost deleted the fix/reconcile-health-status-output branch July 28, 2026 08:34
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