Skip to content

fix(health): separate monitored runner identity#2269

Merged
OgeonX-Ai merged 2 commits into
mainfrom
codex/fix-runner-health-variable
Jul 10, 2026
Merged

fix(health): separate monitored runner identity#2269
OgeonX-Ai merged 2 commits into
mainfrom
codex/fix-runner-health-variable

Conversation

@OgeonX-Ai

Copy link
Copy Markdown
Contributor

Summary

Correct Runner Health Monitor so it observes the intended self-hosted runner instead of GitHub Actions built-in runtime metadata.

Changes

  • Rename the monitored-runner environment variable to avoid the reserved RUNNER_NAME.
  • Set the target to the restored CAS-Workstation-Kim runner.
  • Add a workflow contract regression test and documented fix record.

Why

GitHub Actions overwrote RUNNER_NAME in the health monitor, causing false offline alerts for hosted runners.

Validation

  • Executed the new workflow contract test directly.
  • Parsed runner-health.yml with PyYAML.
  • Ran git diff --check.

Risks

Existing stale alerts remain historical evidence; a post-merge dispatch verifies only future monitoring.

Related

Addresses false alerts such as #2268.

Reviewer notes

Review the variable rename in .github/workflows/runner-health.yml first.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: deb05f8581

ℹ️ 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".

Comment thread .github/workflows/runner-health.yml
@OgeonX-Ai OgeonX-Ai merged commit 5f189c2 into main Jul 10, 2026
4 checks passed
@OgeonX-Ai OgeonX-Ai deleted the codex/fix-runner-health-variable branch July 10, 2026 13:52
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