Skip to content

ci(heartbeat): monitor the xsj-dispatch pool, not fixed runner names - #4638

Merged
kovtcharov-amd merged 2 commits into
amd:mainfrom
kovtcharov:ci/heartbeat-xsj-dispatch
Oct 4, 2026
Merged

kovtcharov-amd merged 2 commits into
amd:mainfrom
kovtcharov:ci/heartbeat-xsj-dispatch

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

This week's runner heartbeat failed because two of its jobs target the fixed runner names sjlab-stx-1 and sjlab-stx-3. Since #4534 those machines serve the ephemeral xsj-dispatch pool, so they register under per-job names like ephemeral-sjlab-stx-1-<id> and nothing answers the old names. Those jobs sit queued until the 24h cancel and hide the healthy result. The heartbeat now checks the two pools that actually carry the self-hosted workload: devlab-dispatch and xsj-dispatch.

Test plan

  • monitor_selfhosted_runners.yml's awk parser reads the new list as devlab-dispatch, xsj-dispatch
  • actionlint passes
  • After merge, a manual Runner Heartbeat run gets both jobs picked up. xsj-dispatch has so far only been seen serving the full [self-hosted, Windows, xsj-dispatch, strix-point] set, so this run confirms it also answers [self-hosted, xsj-dispatch].

The weekly heartbeat failed on 2026-10-04: its sjlab-stx-1 and sjlab-stx-3
jobs sat queued because those static runners were retired when amd#4534 moved
their jobs to the ephemeral xsj-dispatch pool. Left alone they cancel at 24h
and bury the healthy result every week.

The matrix now names the two pools that carry the self-hosted workload,
devlab-dispatch and xsj-dispatch, so the heartbeat checks that each pool
still provisions a runner.
@github-actions github-actions Bot added the devops DevOps/infrastructure changes label Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Verdict: Approve

The weekly runner heartbeat stopped pinging two retired machines that kept every run stuck as cancelled. It now checks the two shared pools that actually run the self-hosted jobs. It's a small, correct change: the monitor workflow reads the same list, so it switches over without further edits. The one open question is the post-merge item already in the test plan: confirming xsj-dispatch picks up a job that asks only for its pool label.

Real-world evidence

N/A: this PR only changes CI configuration, so there is no user-facing surface to run, and no evidence bundle was produced. The verdict rests on static review. The author's own check (a manual heartbeat run after merge) is the real test.

🔍 Technical details

Issues found

🟢 Comment points to a history note that was removed (.github/workflows/runner_heartbeat.yml:33). "the sjlab-stx-2 failure, self-inflicted" pointed back to the deleted paragraph about sjlab-stx-2. A reader now meets that name with no explanation. You could drop the reference or say "the retired-runner failure."

🟢 "the other three will answer every beat" (.github/workflows/runner_heartbeat.yml:35) describes devlab-dispatch's four boxes. The sentence now covers two pools, so "the rest of the pool" would stay accurate for both.

Strengths

  • Monitoring by pool label rather than runner name avoids the queue-until-24h-cancel problem that the comment block explains.
  • The two runner labels stay as one dash-line per entry, so the parser in monitor_selfhosted_runners.yml still reads both.
  • The xsj-dispatch pool already carries Windows jobs (test_gaia_agent_eval.yml, email_scorecard_refresh.yml), and the existing Windows heartbeat step covers them.

@kovtcharov kovtcharov changed the title ci(heartbeat): monitor the xsj-dispatch pool instead of retired runners ci(heartbeat): monitor the xsj-dispatch pool, not fixed runner names Oct 4, 2026
@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Oct 4, 2026
Merged via the queue into amd:main with commit a3127cd Oct 4, 2026
@kovtcharov-amd
kovtcharov-amd deleted the ci/heartbeat-xsj-dispatch branch October 4, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps/infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants