Skip to content

GPU jobs from reruns and dispatches using pre-#5073 workflows stay queued without nodes:N #5087

Open

Description

@edwingao28

Since 2026-11-14T01:11Z, some GPU jobs in Run Sweep, End-to-End Tests and SpeedBench AL have been created with ci-job-* and ci-attempt-* labels but no nodes:N. None of them received a runner. The run page only shows the job as queued until it is cancelled or reaches GitHub's 24-hour queue limit. Every affected attempt was a rerun of a run created before #5073 merged, or a workflow_dispatch on a branch without it.

As of 2026-11-15T05:50Z, the investigation found 32 affected jobs across 9 runs and 10 attempts.

Cause

Before #5073, benchmark-tmpl.yml, benchmark-multinode-tmpl.yml, profile.yml, speedbench-al.yml and collectivex-sweep.yml added nodes:N only when vars.NODE_SLOT_SCHEDULER_ENABLED == 'true'. When that check was false, they still emitted ci-job-* and ci-attempt-* (old benchmark-tmpl.yml). #5073 removed that branch, so workflows on main always emit nodes:N when the priority scheduler is enabled (current benchmark-tmpl.yml).

A rerun uses the workflow files from the run's original commit, and a dispatch uses the files on the selected branch. Those older files still evaluate the old expression. The affected jobs show that NODE_SLOT_SCHEDULER_ENABLED evaluated to something other than 'true' for those attempts. This investigation did not confirm whether or when the variable was deleted, although the #5073 rollout note asks for it to be deleted.

RUNNER_SETUP.md requires every priority-scheduled job to carry nodes:N. The scheduler source rejects a job that has ci-job-* without exactly one nodes:N, and the job then never receives its runner label. The deployed scheduler version was not checked, but the observed behavior matches the source. Defaulting a missing label to nodes:1 would not be safe, because the job's requested node count is unknown.

Evidence

Run 43360832942 shows the difference on the same head SHA:

  • Attempt 1, job 131900503467, had nodes:1 and ran on mi355x-amds_06.
  • Attempt 2, job 132302579081, had the same labels without nodes:1. It received no runner and was cancelled after 24 hours.

To check a run, look for queued jobs that have a ci-job-* label and no nodes:* label.

Next steps

  • Start a fresh run from workflow files that include chore(ci): fold node-slot scheduling into the priority scheduler #5073: merge main into the branch, then push, reapply the sweep label or dispatch again. Rerunning an old run keeps its original workflow files, even after the branch is updated.
  • Set NODE_SLOT_SCHEDULER_ENABLED=true as a compatibility mitigation. On main nothing reads it. In the older files, true produces the same labels as main. It only affects future attempts and cannot relabel jobs that are already queued. Keep it while reruns or dispatches from pre-chore(ci): fold node-slot scheduling into the priority scheduler #5073 branches are still possible, rather than removing it on a fixed date.
  • Follow-up: report invalid scheduling labels on the job or PR so the author sees why the job is not being admitted.

Activity

  1. changed the title [-]Reruns and dispatches from pre-#5073 workflow files create jobs without `nodes:N` that never get a runner / 基于 #5073 之前工作流文件的重跑和手动触发会生成缺少 `nodes:N` 标签的任务,这些任务永远分配不到 runner[/-] [+]GPU jobs from reruns and dispatches using pre-#5073 workflows stay queued without nodes:N[/+] on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions