Skip to content

CI: build server is idle — 0% of obs-rust merge-queue jobs route to the Dell pool #5501

Open

Description

@zackees

Summary

The build server is idle. Measured 2026-11-23T09:07Z: 0 of 21 dispatcher slots busy, 0 queued, across all four lanes on both Dells. (Re-measured 10:15Z: still 0 busy; the obs-rust lane now advertises 10 slots on dell-fsx3mn2 alone — see the fan-out #2 comment for the corrected lane composition.) Meanwhile obs-rust/obs-studio pushed 3,228 hosted runner-minutes in the last 24 h (1,192 completed jobs) and 5 minutes on the pool. The Dell fleet exists to accelerate this repo's merge queue (forge-ci/gh-runner docs/pool.md), and it is currently serving 0% of it.

This is a meta issue: it collects the root cause and the five separate problems the fan-out found, so they can be fixed in one place rather than rediscovered per symptom.

Root cause: FORGE_POOL_LABELS is unset, so the selector never runs

ci.yml selects the pool on merge_group only, gated on vars.FORGE_POOL_LABELS:

runs-on: ${{ vars.FORGE_QUICK_LABELS }}          # selector runs on the quick admin runners
...
- uses: forge-ci/ci.yml/actions/pool-select@829f807 # signal source, counts Dell dispatcher room
  if: github.event_name == 'merge_group'          # ← and vars.FORGE_POOL_LABELS set

gh api /repos/obs-rust/obs-studio/actions/variables returns 9 variables and none of them is FORGE_POOL_LABELS. So the selector step is skipped, heavy-labels is empty, and every heavy job falls back to hosted.

Evidence from run 45141207911:

  • The Select Merge Queue Runner job → success, but its only real step, Select Pool or Hosted, is skipped. The job's step list is: Set up job, Set up runner, Select Pool or Hosted skipped, Complete runner, Complete job.
  • 28 of 29 completed jobs ran on hosted runners; the single self-hosted job was the selector itself on quick-obs-rust-*.

That step being skipped is the whole story. It is not a capacity problem, not a signal problem, not a permissions problem.

Why it was left unset, and why that reason has expired

PR #5433 (ci: route merge-queue heavy jobs via pool-select) merged 2026-11-22T06:26Z and said so explicitly:

FORGE_POOL_LABELS is unset, so this merge changes nothing at runtime. Dell routing comes after demand-driven dispatch lands (gh-runner#67).

forge-ci/gh-runner#67 (dispatcher: demand-driven scaling) is CLOSED (2026-11-22T06:56:22Z). The stated precondition was satisfied 30 minutes after the PR merged, and the variable was never set afterwards. The migration was left half-finished.

Timeline, measured

Window Pool jobs per merge-group run
2026-11-20 21:45Z – 2026-11-22 07:59Z (old probe selector) 10–11 of 43
2026-11-22 08:00Z onward (pool-select, var unset) 0 of 42 (only the selector job)

24 h ending 2026-11-23T09:00Z: 30 merge-group runs, 1,192 hosted jobs, 3,228 hosted minutes, 5 self-hosted minutes.

Secondary problems found in the fan-out

  1. Six dead repository variables. DELL_PR_ROUTING=off, MQ_PROBE_APP_ID, MQ_PR_DEMAND, MQ_PR_RESERVE, MQ_RUNNER_DEMAND, MQ_RUNNER_MAX_RUNS, MQ_RUNNER_MIN_IDLE all belong to the probe selector ci: route merge-queue heavy jobs through forge pool-select (signal) #5433 removed. They are inert but they read as live configuration, and DELL_PR_ROUTING=off in particular looks like the reason PRs stay hosted when in fact the new selector ignores it. ci: route merge-queue heavy jobs through forge pool-select (signal) #5433 said they "can be deleted later"; that later is now.

  2. docs/ci-tooling.md still documents the removed selector. ci: route merge-queue heavy jobs through forge pool-select (signal) #5433 called this a follow-up. Anyone reading the doc today will configure the wrong thing.

  3. The host is oversubscribed by lane maxima. One host advertises 21 concurrent slots (obs-rust 10, forge-ci 6+1, FastLED 2, talos-hq 2) while docs/pool.md describes lanes that "share the host's CPU, RAM, caches and job dockerd". If obs-rust routing is switched on at max 10 while other lanes run, jobs contend for CPU — which is exactly the mechanism ci: Darwin fixtures step is 530-600 s on the Dell against 344 s hosted, on the queue critical path #5199 measured (Dell fixtures 530–600 s vs 344 s hosted under overlap).

  4. The Dell is slower on the queue critical path for some jobs. ci: Darwin fixtures step is 530-600 s on the Dell against 344 s hosted, on the queue critical path #5199: Darwin fixtures 529–602 s on the Dell vs 344 s hosted; Qt contracts 106–139 s vs 77 s; uploads 100–129 s vs <30 s. Raising utilization on this host can lower merge-queue throughput. Utilization is not the goal; throughput is. This needs to be stated before anyone "fixes" utilization by turning the pool on.

  5. Stale offline runner registrations. Retracted (fan-out docs: Rust port testing policy #2). The six dell-* registrations report offline because the pool runs ephemeral runners created per job — that is expected, not rot. The real capacity signal is the dispatcher's spare (4 at 10:15Z). Nothing to prune.

What "done" means

  • Decide whether obs-rust merge-queue heavy jobs should route to the pool. If yes, set FORGE_POOL_LABELS to the lane's label set and verify the next merge-group run's Select Merge Queue Runner step is not skipped.
  • Measure the effect on merge-queue wall time before and after. The pool is worth using only if queue time improves; ci: Darwin fixtures step is 530-600 s on the Dell against 344 s hosted, on the queue critical path #5199 says it may not for the macOS fixtures leg.
  • Delete the six dead variables, or document why each remains.
  • Update docs/ci-tooling.md to the pool-select selector.
  • Reconcile the lane maxima with the host's real core count, or lower them so lanes cannot oversubscribe.
  • Prune stale offline runner registrations.

Deliberately not done

I have not changed the variable or the workflow. Turning the pool on changes merge-queue behaviour for every PR in this repo, and #5199's measurements suggest the throughput effect is not obviously positive. That is a maintainer decision, not a CI fix.

References

Activity

  1. added
    infra
    P1
    tracker
    ci
    on Nov 23, 2026
  2. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Decisive measurement: the pool was slower and flakier than hosted

    Before anyone "fixes" this by setting FORGE_POOL_LABELS, the two eras need comparing. Both windows are the same repo, same workflows, same merge queue — only the routing changed.

    pool-routed (11-20 21:00 → 11-22 08:00) hosted (11-22 08:00 → now)
    merge-group runs 70 30
    success 42 27
    failure 14 (20%) 0
    cancelled (superseded) 14 3
    success wall time, median 27.2 min 20.5 min
    success wall time, p90 43.0 min 26.2 min

    Pool-routed runs were ~25% slower at the median and ~64% slower at p90, and one in five failed. The failures land on Dell runners, not hosted ones:

    • 44955283199 — Windows Link Check on dell-jw22zc3-obs-rust-1 failed at Link Windows Test Binaries 🔗; Tier 2 Link Check (win-x64) on dell-jw22zc3-obs-rust-3 failed at Link Tier 2 Fixtures 🔗.
    • 44958354092 — same two jobs plus macOS Rust Artifacts on dell-jw22zc3-obs-rust-3.
    • Two later runs failed on hosted macos-26 instead, so not every failure is the Dell's.

    This is consistent with PR #5433's own note — "the Dell obs-rust runners were going down" — and with #5199 (Dell slower on the critical path) and #4953 (Dell caches ineffective, Tier 2 cold either way).

    So the low utilization is not itself the defect. It is the visible consequence of an unresolved performance and reliability problem on the Dell. Turning the pool on today would raise utilization and lower merge-queue throughput at the same time. The order of work is:

    1. Make the Dell lanes reliable and at least as fast as hosted for the jobs they would take (ci: Darwin fixtures step is 530-600 s on the Dell against 344 s hosted, on the queue critical path #5199, Dell E640 runner caches are ineffective: 22 min Tier 2 builds whether cold or warm (measurements and causes) #4953, Design: heavily caching CI on the Dell E640 runner host (setup-soldr owns caching, shared RAM+NVMe store, Rust artifacts, disk image, advisory coordination) #4954, ci: Tier 2 Linux runtime installs apt packages on every hosted run; refresh the prepared runtime and retry the delta install #5237, ci: prebake Dell Tier 2 Linux package installation #5006).
    2. Then route, and measure queue time — not utilization — before and after.

    An "idle server" is cheaper than a slow one. The metric to optimise is merge-queue wall time, not CPU occupancy.

  3. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Fan-out #2 — measured 2026-11-23T10:15Z, and two corrections to this issue's own text

    Four independent probes (utilization, routing mechanism, Dell health, config drift), each re-derived from the API rather than from the earlier notes. Root cause unchanged and re-confirmed on the newest run: FORGE_POOL_LABELS is still absent (9 repo vars, 0 org vars), and Select Merge Queue Runner on run 45153661763 shows its only real step skipped.

    Refined utilization (24 h ending 10:10Z, 31 merge_group runs)

    Metric Value
    Self-hosted job-minutes 5.3 of 3,565 = 0.15 %
    Build/test/lint minutes on the Dell 0
    Failure rate (28 concluded) 14.3 % (3 failures + 1 cancel)
    Run wall time median / p90 21.0 / 29.1 min
    Merge-queue wait median ~2 s
    Linux-addressable hosted minutes 2,290/day = 64 %

    All 31 self-hosted jobs are the selector itself (~10 s each). The queue is not waiting on capacity — it is waiting on nothing. That is the whole argument for routing.

    New defect: three heavy jobs can never be routed — RETRACTED, this is deliberate policy

    Correction posted 2026-11-23T11:17Z. The fan-out reported this as a wiring bug and I repeated it. It is not a bug. git log -S lands on PR #5279, "ci: let members' same-repo PRs use idle Dell capacity (default off)", and the behaviour is pinned by a test whose name states the intent: test_fast_gate_pr_routing_keeps_queue_hosted (ci/test_member_pr_routing.py:35).

    build-project.yaml:1759 / :2065 / :3299 read:

    runs-on: ${{ github.event_name == 'pull_request' && inputs.mq-heavy-labels != '' && fromJSON(inputs.mq-heavy-labels) || 'ubuntu-26.04' }}

    So PRs may use Dell labels; merge-queue runs stay hosted for Fast Gate, Cross Compile and Qt Frontend Linux. That is a deliberate throughput decision — those three sit on the queue's critical path and the Dell measured slower for them (#5199). The real consequence for this issue is narrower and worth stating plainly: because the selector only publishes labels on merge_group, those three jobs are never routed to the Dell in either mode, so the pool-era "10–11 of 43 jobs" figure did not include them either. No code change is proposed here.

    New: the obs-rust lane has halved

    The lane now contains only dell-fsx3mn2 — max 10, busy 0, starting 0, spare 4. dell-jw22zc3 no longer appears in the obs-rust lane at all (it remains in the FastLED and forge-ci lanes), and it carried 153 of the 304 pool-era jobs. So "both Dells" in the summary above is no longer true for this repo, and the reachable ceiling is 10 concurrent jobs, not 21.

    Correction: the "Directory not empty" failures are already filed

    The fan-out's biggest Dell-specific finding — soldr: IO error: Directory not empty (os error 39), 8 of 22 Dell job failures, dying 5–7 s in before compiling — is #5420, closed 2026-11-22T00:35Z after a runner-side quarantine. The lasting fix is forge-ci/soldr#4185, still OPEN. So this is not a new bug; it is an unlanded fix, and the Windows cross legs remain the least safe part of the pool until it ships. The related soldr: incomplete MSVC Clang resources failures are the same half-populated-cache family.

    Correction: "3 stale offline runners" is wrong

    The six dell-* registrations show offline because the pool runs ephemeral runners — they are created per job and disappear. That is expected, not rot. The real capacity signal is the dispatcher's spare, currently 4. There is nothing to prune; the earlier item 5 should be dropped.

    Confirmed drift

    • 7 of 9 repo variables are dead (zero vars.* readers): DELL_PR_ROUTING, MQ_PROBE_APP_ID, MQ_PR_DEMAND, MQ_PR_RESERVE, MQ_RUNNER_DEMAND, MQ_RUNNER_MAX_RUNS, MQ_RUNNER_MIN_IDLE. Only AI_REBASE_APP_ID (13 readers) and FORGE_QUICK_LABELS (4) are live.
    • 5 variables are used but undefined: FORGE_POOL_LABELS, FORGE_POOL_MIN_IDLE, SETUP_SOLDR_PROFILE, OBS_MACOS_STARTUP_LLDB, and CF_PAGES_PROJECT (a Pages leftover). Silent no-ops — FORGE_POOL_LABELS being one of them is the whole bug.
    • No label spelling mismatch: ["self-hosted","forge-pool","obs-ubuntu-2604"] matches the Dell runners exactly. The problem is purely that the variable is absent.

    Revised order of work

    1. Fix the dead guard No action — retracted above; the three hosted-on-queue jobs are deliberate (ci: let members' same-repo PRs use idle Dell capacity (default off) #5279).
    2. Land cc-driver: a driver directory without .complete makes every Windows cross build fail with "Directory not empty (os error 39)" forge-ci/soldr#4185, or exclude the Windows cross targets from the first canary.
    3. Canary: set FORGE_POOL_LABELS for one merge-group run per hour and compare wall time; auto-fallback when the Dell cannot start a runner.
    4. Restore dell-jw22zc3 to the obs-rust lane before widening beyond a canary.
    5. Delete the 7 dead variables, update docs/ci-tooling.md and docs/features.md, and drop the registration-pruning item.

    The decision this issue needs is unchanged: whether to route obs-rust merge-queue work to the pool at all. The measurements now say the answer is "yes, but in this order" — and that order starts with a three-line workflow fix, not with the variable.

  4. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Correction to my previous comment: the "dead guard" was not a bug. I claimed build-project.yaml's github.event_name == 'pull_request' && inputs.mq-heavy-labels condition was a wiring defect. It is deliberate policy from PR #5279 ("let members' same-repo PRs use idle Dell capacity"), and it is pinned by a test literally named test_fast_gate_pr_routing_keeps_queue_hosted (ci/test_member_pr_routing.py:35). PRs may use Dell labels; merge-queue runs keep Fast Gate, Cross Compile and Qt Frontend Linux on hosted runners on purpose, because those three sit on the queue's critical path and the Dell measured slower for them (#5199).

    The narrower consequence that is true: the selector only publishes labels on merge_group, so those three jobs are never routed to the Dell in either mode — the pool-era "10–11 of 43 jobs" figure did not include them either. That is a policy consequence, not a defect, and no workflow change is proposed.

    I have edited the previous comment so the retracted section cannot be acted on. The rest of that comment — the lane composition, the utilization numbers, the #5420 correction, and the #5420/soldr#4185 note — stands.

  5. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Fan-out #3 — 2026-11-23T11:25Z: the merge queue is red for a reason unrelated to the pool

    Re-checked live. The pool is still idle (dell-fsx3mn2 0 busy / max 10 / spare 6 / queued 0; FORGE_POOL_LABELS still absent, 9 repo variables). But the three most recent merge-queue failures are not pool failures — they are all the same hosted-runner step, and I found why.

    The current red queue

    All 3 failures in the last hour died on one step:

    Run Event Failing step Error
    45158225909 merge_group Install Git 📦 timed out after 10 minutes
    45158894346 push (master) Install Git 📦 timed out after 10 minutes
    45159376402 pull_request (PR #5508) Install Git 📦 Process completed with exit code 1

    45158225909 stalled mid-download: Get:1 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 perl-base ... [1851 kB] at 10:50:34Z, then nothing until the 10-minute timeout. The other two are the same step, same window. PR #5508 (fix/5504-ci-runtime-apt) already retries after dpkg recovery — a mitigation for the symptom, not a removal of the fetch.

    Root cause: the prebaked Tier 2 image has never been used

    build-project.yaml:2767 sets TIER2_PREBAKED from ci/tier2_image.py select, which returns the prebaked image only if an anonymous GHCR manifest probe succeeds; any exception falls back to stock Ubuntu (ci/tier2_image.py:78-88). Running that probe myself against the real tag:

    $ MQ_RUNNER_LABELS='["self-hosted","obs-ubuntu-2604"]' uv run --no-project ci/tier2_image.py select
    Tier 2 image probe unavailable (HTTPError); using stock Ubuntu
    image=ubuntu:26.04@sha256:f144425ff09be612d6d9ad965196e9cdc23dae1f42110a8a11a3e9a8198759f7
    prebaked=false
    

    The HTTPError is 401 Unauthorized — ghcr.io/obs-rust/tier2-linux is a private package. publish() in the same file warns "ensure the GHCR package visibility is public", but that was never done. So the probe can never succeed, and the fallback is silent.

    Consequence: every Linux Tier 2 build runs the full apt-get update against archive.ubuntu.com — on hosted runners and on the Dell pool alike. Confirmed from historical logs: run 44988496579 (pool era, labels ["self-hosted","obs-ubuntu-2604"]) also printed prebaked=false. The prebaked-image optimization has never once taken effect.

    This is independent of the pool decision. It affects hosted runs today, and it is what is reddening the queue right now. Making the GHCR package public removes the apt index fetch from the critical path entirely — the failure class goes away rather than being retried.

    Correcting my own earlier suggestion

    I implied the pool's prebaked image would avoid the apt stall. It would not — the pool runs stock Ubuntu too, for the same reason. The pool decision and this defect are orthogonal; this one should be fixed first because it is live and cheap.

    Still open from this issue

    1. Make ghcr.io/obs-rust/tier2-linux public so TIER2_PREBAKED can be true.
    2. FORGE_POOL_LABELS still unset — one variable away from routing, but the Dell's Windows cross legs are still the least safe part of the pool (soldr#4185 open).
    3. The obs-rust lane is dell-fsx3mn2 only; dell-jw22zc3 now reports under the FastLED lane (max 1).
  6. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Verification of the prebaked-image finding. The image does exist — master push 45129984266 ran Tier 2 Package Image 📦 to success and its log reads ghcr.io/obs-rust/tier2-linux:fd8a2056… already exists; nothing to build. So the image is built and pushed; what fails is only the anonymous read. An unauthenticated pull of that tag returns 401 Unauthorized ({"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}), i.e. the package is private. ci/tier2_image.py treats every probe failure as 'no image' and silently uses stock Ubuntu, so TIER2_PREBAKED is false on every run.

    The fix is one settings change: make the tier2-linux container package public in the obs-rust org package settings. I cannot do it — the gh token here has scopes admin:org, admin:ssh_signing_key, gist, project, repo, workflow and no read:packages, so even reading the package returns 403. Once public, the probe succeeds and Linux Tier 2 builds stop fetching the apt index at all, which removes the Install Git 📦 timeout class rather than retrying it.

    Also worth a one-line hardening: select_image should not swallow a 401 as 'absent' — a 401 on a tag the pipeline just published means misconfiguration, and falling back silently is what hid this for as long as it did.

  7. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Live confirmation during this iteration — and the full tally. Every merge-queue failure since 10:05Z is the same step, Install Git 📦:

    Run Started Event
    45152901187 10:05:35Z merge_group
    45153661763 10:10:34Z merge_group
    45158225909 10:40:19Z merge_group
    45158894346 10:44:54Z push (master)
    45159376402 10:48:03Z pull_request (PR #5508)
    45164403435 11:21:03Z merge_group

    6 of 6. Not one is a Dell failure. The queue is red for this reason right now, and it is unrelated to the idle pool.

    I could not apply the fix myself: the gh token lacks read:packages (GET /orgs/obs-rust/packages/container/tier2-linux/versions -> 403), PATCH to change visibility returns 404, and the browser path is unavailable in this session. Making the tier2-linux package public in the obs-rust org settings is the one action needed, and it needs someone with package-admin access.

  8. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    A second, separate defect in the same step: its retry ladder cannot fit inside its own timeout.

    build-project.yaml:2777 Install Git 📦 runs up to 3 attempts of timeout --kill-after=10s 180 apt-get update && timeout --kill-after=10s 180 apt-get install, with 10 s and 20 s sleeps between. Worst case per attempt is 180 + 10 + 180 + 10 = 380 s, so the full ladder is 3 × 380 + 30 = 1170 s (19.5 min) against a 600 s (10 min) step timeout. Only one attempt fits.

    That is exactly what happened: run 45158225909 entered the step at 10:41:29Z and died at 10:51:29Z — 600 s, the step timeout, not the ladder. The retry logic has never had a chance to run on a slow mirror; the job is killed first and GitHub reports only The action 'Install Git 📦' has timed out.

    Fix options, cheapest first:

    1. Point the sources at a faster mirror for GitHub-hosted runs (the step already rewrites ubuntu.sources for suites/components, so the URI is in the same place). The observed stall is 1851 kB from archive.ubuntu.com taking over 10 minutes.
    2. Wrap the whole loop in an overall timeout 540 so it fails cleanly with a diagnosable message instead of an opaque step timeout.
    3. Lower the per-command bound to ~85 s so three attempts fit, or keep 180 s and raise the step timeout — but 20 min on a red path is worse for throughput.

    Note PR #5508 does not cover this: it changes rust/tools/linux-validate/ci-runtime.py (the prepared-runtime delta install) and never touches build-project.yaml. The bootstrap step is unowned.

  9. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Re-verification, 2026-11-23T17:55Z — six hours on

    # Problem Status Evidence
    1 FORGE_POOL_LABELS unset still exists 9 repo variables, none named it
    2 Pool idle / low utilization still exists obs-rust dell-fsx3mn2 busy 0 / max 10 / spare 7 / queued 0
    3 ghcr.io/obs-rust/tier2-linux unreadable anonymously still exists probe still Tier 2 image probe unavailable (HTTPError)
    4 TIER2_PREBAKED=false on every run still exists run 45227548809 Event Data: prebaked=false
    5 Install Git retry ladder (1170 s) exceeds its 600 s step timeout still exists build-project.yaml:2777 byte-identical; step still timeout-minutes: 10
    6 apt stalls reddening CI persists, different step see below
    7 gh token lacks read:packages still exists scopes: admin:org, admin:ssh_signing_key, gist, project, repo, workflow

    On #6: the queue itself recovered, the failure class did not

    • Last Install Git 📦 timeout: 11:21:03Z (45164403435). The queue went green afterwards — 45224961256 (17:11Z) and 45227548809 (17:25Z) both succeeded, and in the latter the step took 19 s (17:26:24Z → 17:26:43Z). So the mirror recovered; the stall window was roughly 10:05–11:21Z.
    • But it recurred on a later step at 14:27Z: run 45194364427 (PR rust: Port libobs/obs-raw-video-callbacks.c.h to obs-core #5514) failed with The action 'Install Tier 2 Packages 📦' has timed out after 10 minutes — build-project.yaml:2876, also timeout-minutes: 10, also an apt install against the same archive. So the class is rarer today but not gone; it simply moves to whichever apt step meets the slow mirror first.
    • PR ci: a timed-out Tier 2 runtime delta install retries once after dpkg recovery #5508 merged 12:44Z. It hardens ci-runtime.py's prepared-runtime delta install; it does not touch either bootstrap step, and 45194364427 shows the class surviving it.

    No change to the recommended order: make the package public (removes the apt index fetch from the path entirely), then the bootstrap timeout budget, then FORGE_POOL_LABELS.

  10. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Correction to my numbers, and the fix

    My earlier "1170 s ladder" figure came from a stale local checkout — I was on fix/ai-rebase-discovery-relocation (50 commits behind origin/master in this file), so I measured the pre-#5510 version. Master's Install Git 📦 now rotates mirrors (#5510/#5518) and runs three bounded commands per attempt:

    timeout --kill-after=10s 180 apt-get update
    timeout --kill-after=10s 180 apt-get -f install -y
    timeout --kill-after=10s 180 apt-get install ...
    

    Worst case per attempt is 3 × 190 = 570 s, so three attempts is 1710 s against a 600 s step — the defect is worse than I reported, not better, and the ladder still cannot complete even once.

    The cache-save half is the part that actually loops

    Log evidence from 45194364427, which I re-read line by line: the package step reached Get:145 of roughly 594 before the 10-minute timeout, and the job's step list shows step 10 Save apt Downloads 💾 as skipped. Its if: carries github.event_name == 'push' && ... and no status function, so GitHub applies an implicit success() — a failed install means no save, and every downloaded .deb is discarded. The next run starts at Get:1.

    That is the loop: on a link where 339 MB does not fit in ten minutes, nothing advances and each attempt re-downloads from zero.

    Opened #5522 to fix it:

    • Save apt Downloads 💾 now runs on (!cancelled()) so a timed-out install still persists its downloads; the shared .github/actions/cache wrapper's inner save step gets the same treatment, since an inner step otherwise inherits the failed job status and skips anyway.
    • A cache entry is immutable, so one !cancelled() save under the existing key would freeze the archive at whatever the first failure fetched. The save key now ends in the .deb count and both restore steps match the prefix and take the newest entry, so each run builds on the last. The key stays content-derived — no run or PR identifiers — and saves stay master-only, so the 10 GB per-PR overflow the old comment warns about is still prevented.
    • Entries stop being created once the count stabilises, i.e. when the archive is complete.

    ci/test_tier2_apt_cache.py and ci/test_tier2_build_setup.py updated to pin the new contract; 43 tests in those two files and 119 across the nine cache/workflow suites pass.

    Not addressed by #5522: it makes the download converge across runs, not fast. The larger win is still making ghcr.io/obs-rust/tier2-linux readable anonymously so TIER2_PREBAKED can be true and the apt fetch leaves the path entirely.

  11. zackees commented on Nov 23, 2026

    @zackees
    MemberAuthor

    Variables applied 2026-11-23T23:40Z

    Per your instruction, the repository settings this issue asked for are now in place. Verified by reading them back from the API, not by assuming the write landed.

    Set:

    FORGE_POOL_LABELS = ["self-hosted","forge-pool","obs-ubuntu-2604"]
    

    That value matches the runners exactly. Confirmed labels on all six Dell registrations:

    dell-fsx3mn2-1/2/3        self-hosted,Linux,X64,nixos-host,obs-ubuntu-2604,dell-fsx3mn2,forge-pool
    dell-jw22zc3-obs-rust-1/2/3  self-hosted,Linux,X64,nixos-host,obs-ubuntu-2604,forge-pool,dell-jw22zc3
    

    Deleted — seven variables with zero vars.X readers across .github/ and ci/ (re-checked immediately before deleting). Values recorded here so they can be restored:

    Variable Was
    DELL_PR_ROUTING off
    MQ_PROBE_APP_ID 5736334
    MQ_PR_DEMAND 2
    MQ_PR_RESERVE 3
    MQ_RUNNER_DEMAND 3
    MQ_RUNNER_MAX_RUNS 4
    MQ_RUNNER_MIN_IDLE 3

    Now 3 variables: AI_REBASE_APP_ID, FORGE_POOL_LABELS, FORGE_QUICK_LABELS.

    FORGE_POOL_MIN_IDLE is deliberately left unset: ci.yml:112 reads vars.FORGE_POOL_MIN_IDLE || '1', so its effective value is already 1 and setting it would change nothing but the variable count.

    Pool at the moment of the change: dell-fsx3mn2 busy 0 / max 10 / spare 5 / queued 0 — room to start runners, and the obs-rust lane is at floor 0, so a queued job makes the dispatcher start one.

    Two consequences land together on the next merge-group run, because both were gated on this same empty variable:

    1. Select Pool or Hosted now runs, heavy-labels is populated, and the heavy Tier 2 jobs route to the Dell instead of ubuntu-26.04.
    2. ci/tier2_image.py select now receives non-empty labels, so it probes GHCR and returns the prebaked image — TIER2_PREBAKED=true for the first time. The apt index fetch leaves the critical path, which is the failure class that was reddening the queue.

    I have not yet observed a merge-group run under the new setting; the first one is the proof, and I will report what it does — including the wall time, since the pool-era measurement was ~25% slower at the median and that is the thing this change is betting against.

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

    P1ciinfratracker

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions