GeezerVison is showing github.com — id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks · Issue #2151 · developing-today/code
id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151DescriptionProblem
main currently fails the id flake fmt checks for every PR: pkgs/id/src/meta_client.rs (around line 53, capped_response_error) is not rustfmt-clean — the anyhow::anyhow!(...) arm is written in the multi-line form rustfmt rewrites to a braced single-line form.
Evidence
Fix
Run the repo formatter over pkgs/id/src/meta_client.rs (one hunk: the ReadToEndError::TooLong arm) and land it on its own small PR so unrelated PRs stop inheriting three red fmt checks.
Acceptance criteria
cargo fmt --check (and the treefmt/rustfmt flake checks) pass on main for pkgs/id.
- No behaviour change: formatting only.
Activitydeveloping-today commented on Oct 29, 2026 dezren39 commented on Oct 29, 2026 Addendum (same pass, queue task 2981): the clippy-lint flake check is also red on main for a pre-existing reason unrelated to any current PR — clippy errors used expect() on an Option value (-D clippy::expect-used) at pkgs/id/src/tags.rs:1484 and :1499 (input[i..].chars().next().expect("i is a char boundary")). Both lines are verbatim on current main; PR #2111's CI (job 123273640758) fails on exactly these two errors (249–351 warnings elsewhere are warnings only). Whoever fixes this issue: the clippy half needs a real code change at those two call sites (handle the None case instead of expect), not just a formatter run — scope it in the same "main's id gates are red" fix PR or a sibling. dezren39 commented on Oct 29, 2026
queued · worker repo-worker-code · lane openchamber-scheduled-lane · queue task 3495
Scheduled as a breakage-class queue task (priority 10 — above triage/feature work, since it blocks every open PR).
Fresh evidence, 2026-10-29T14:00Z on origin/main 5a34fa70:
- fmt (this issue):
rustfmt --edition 2021 --check on git show origin/main:pkgs/id/src/meta_client.rs reports diffs at line 13 (use anyhow::{Context, Result, bail} ordering) and line 53 (the over-cap error anyhow! wrapping) — three CI checks (cargo-fmt-check, rustfmt-check, treefmt-check) fail on every PR because of it. Introduced by bd880194 (PR fix(id): drop literal placeholder from meta_client over-cap error #2089).
- clippy (additional, same root cause class):
clippy-lint hard-errors with clippy::expect_used at pkgs/id/src/tags.rs:1484:22 and 1499:22 (input[i..].chars().next().expect("i is a char boundary")). Not covered by this issue's title, folded into the queue packet's acceptance so one PR makes main green again.
Both files are untouched by the PRs currently blocked on them (e.g. #2214, which is otherwise green on every test shard).
Why now: the main merge queue has not drained since 2026-10-29T10:57Z, and red nix flake check on main means nothing can land once runners free up. dezren39 commented on Oct 29, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), Lane A shift
- Session / ID: queue task 3495, repo-health-code-pilot
- Found via: queue claim (breakage class, priority 10)
- Task: Fix main-red CI inherited by every PR: rustfmt diffs in pkgs/id/src/meta_client.rs and clippy::expect_used hard errors at pkgs/id/src/tags.rs (the two "i is a char boundary" expects). Branch queue/3495-2151-ci-fmt-clippy from origin/main 5a34fa7, laptop worktree ~/git/fleet/3495-2151.
dezren39 commented on Oct 29, 2026 🤖 Agent note · in progress
dezren39 commented on Oct 29, 2026 dezren39 commented on Oct 29, 2026 🤖 Agent note · parked
- Agent: queue worker (repo-worker-code), Lane D shift
- Session / ID: queue task 3495 (small_fix, resume)
- Found via: queue claim
- Task: Re-verified PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 fresh (OPEN/CLEAN, head 6f00e7e, PR checks 29/29 pass, Codex review completed with no findings) and re-enqueued it — position 2, QUEUED, still AWAITING_CHECKS at 90s — but it was ejected again by ~3.5 minutes, the repo-wide merge-queue stall tracked in ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403. Main is still frozen at 5a34fa7; this PR is the keystone gating many parked tasks (Phase 2: removal: weak is stored but not built #161/groups: build weak removal — concurrent grants and device grants stand (#161) #2204, feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) #1051/feat(usage-hub): GitHub billing collector on the unified usage endpoint (#1051) #2236, Phase 4: joiner with missing pre-join control messages stalls silently #187/id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221 and others).
- Expectation: parked 20 min. Resume: once queue entries survive, re-enqueue PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335; on merge, complete task 3495 and strip the in-flight labels.
dezren39 commented on Oct 29, 2026 agent-note:v1 — parked · worker repo-worker-code (openchamber scheduled lane) · queue task 3495
Resumed from awaiting_ci and revalidated PR #2335 fresh: OPEN, CLEAN, MERGEABLE, head 6f00e7e0 (unchanged), all reported checks passing, keystone diff for the red main (fmt in meta_client.rs, clippy::expect_used in tags.rs) unchanged and still correct.
Blocker is not the PR: #2403 is still live — every merge-queue entry is ejected 2–6 minutes into AWAITING_CHECKS, across every PR and every lane. Re-enqueueing a 4th time would only manufacture another ejection datapoint, so the task is parked 30 min instead.
One new fact for #2403, posted there (comment 6507993178): the "required check never reports on merge groups" hypothesis is false. origin/main's nix-ci.yml does carry the merge_group trigger, and merge-group runs succeed with both jobs reported — basic: proxy port fallbacks success and full (main tier) success (run 40952207054, merge groups at 20:43/20:44/20:47Z). The cause is somewhere else: a second required context, the merge-group base versus the frozen main (5a34fa70), or the queue's re-validation after the successful run.
Resume condition: #2403 cleared (or the queue accepts one entry end-to-end) → re-enqueue #2335, confirm MERGED, then complete this task fixed_merged and strip the queue/status/work labels from both this issue and the PR. No code work remains on the PR. dezren39 commented on Oct 29, 2026 🤖 Agent note · parked
- Agent: queue worker (repo-worker-code), lane D
- Session / ID: queue task 3495, resumed 2026-10-29T21:20Z
- Found via: queue claim (resume from merge_ready checkpoint)
- Task: PR 2335 — main-red fmt/clippy fix for id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151. Revalidated fresh this shift: PR OPEN, MERGEABLE/CLEAN at 6f00e7e, ALL checks SUCCESS (incl. cargo-fmt, rustfmt, treefmt, clippy-lint, cargo-check, test shards), Codex review completed with has_any_findings=false — dispositioned clean, nothing to fix.
- Expectation: done = PR merged via merge queue. Sole blocker remains ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403: main still 5a34fa7 (since 10:57Z) and 21:05Z datapoints show green merge groups still dropped. Not re-enqueuing into a known-ejecting queue; parking until main advances or ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 closes, then re-enqueue immediately (PR needs no further work).
- Links: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 · stall ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403
dezren39 commented on Oct 29, 2026
🤖 Agent note · parked — the fix is CLEAN; the merge is refused by protection, and I can now say why (openchamber scheduled lane, 2026-10-29T21:59Z)
Held the keystone task 3495, re-verified PR #2335, and ran one full merge-queue cycle to capture the failure precisely.
- id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151: OPEN. PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335: OPEN,
MERGEABLE / CLEAN, 6f00e7e0, diff exactly pkgs/id/src/meta_client.rs + pkgs/id/src/tags.rs, zero failing checks, no held/do-not-merge labels. Nothing about this PR is in question.
- The cycle: enqueued 21:51:42Z → ejected 21:52:33Z,
reason=branch_protection_failure, merge-group head 9850b615.
- The decisive detail: on that group head,
basic: proxy port fallbacks — the only required context — completed success at 21:52:09Z. The entry was ejected 24 seconds later. So the merge is refused after checks are green, which rules out check failures, check-reporting gaps on merge_group, timeouts (30 min configured) and grouping.
- What that leaves: a protection rule the merge group cannot satisfy. The standing suspect is the push
restrictions block on main's classic protection (teams: codeowners, apps: github-actions); the queue merges by pushing the group to main, and an actor outside that list yields exactly this no-reason-branch_protection_failure immediately after green checks.
- Escalation: the ask is one reversible admin change — remove
restrictions from main's protection (or add the merge-queue actor), re-enqueue any CLEAN PR. Posted with full timestamps as decisive evidence on ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403. I did not change the config and did not use --admin (repo convention merge.md:22) — both are repo-admin decisions.
Why this issue matters beyond itself: #2335 is the gate for the four finished PRs I parked today (#2221, #2377, #2204, #2424) and for ~700 queued tasks. It needs no rework — the moment merges work, it is a re-enqueue and a green.
Parked 45 min (not_before 22:42Z): the resume condition is a config change, not a CI wait.
dezren39 commented on Oct 29, 2026
🤖 Agent note · parked (Lane C shift, re-claimed 22:44Z)
- Agent: queue worker (repo-worker-code), Lane C
- Task: 3495 (small_fix, id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 keystone main fmt/clippy unbreak)
- Verified fresh: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 OPEN, MERGEABLE/CLEAN, head 6f00e7e, every basic check SUCCESS (fmt, rustfmt, treefmt, clippy-lint, cargo-check, tests); Codex review completed at this head with no findings. Main still frozen at 5a34fa7.
- Blocker: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 — merge queue ejects every entry at the merge step; 22:31Z diagnosis identifies main classic push restriction (codeowners + github-actions only) excluding the merge-queue service. Fix is a branch-protection/ruleset change = repo-admin decision, not yet ruled on.
- Action: parked 1h. Resume condition: when ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 fix lands, re-enqueue PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335, verify merge, then unpark the downstream PRs behind it.
dezren39 commented on Oct 29, 2026
Agent note — blocked, escalated to user (queue task 3495)
PR #2335 is the keystone main-red fix and is finished and green: OPEN, MERGEABLE/CLEAN, head 6f00e7e0, every check pass — including the two checks that are still red on main (cargo-fmt-check, clippy-lint) — and Codex review clean, no hold labels. Nothing in this task's scope is outstanding.
- Blocker: ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403, the repo-wide merge-queue ejection.
gh pr merge refuses ("merge strategy for main is set by the merge queue"), and every entry is dropped at the merge step with all checks green: on feat(aggregator): staleness watchdog tier items (#1148) #2431 today the merge-group run's jobs finished success at 23:43:14–23:43:20Z and the entry was removed_from_merge_queue at 23:43:35Z with main unmoved at 5a34fa70 (last merge 10:57Z, ~13h).
- Excluded by inspection: required signatures, linear history, conversation resolution and required reviews are all off; the only required check is
basic: proxy port fallbacks and nix-ci.yml does trigger on merge_group.
- The decision that is genuinely yours: main's branch protection restrict who can push allow-list does not include the merge-queue's own identity, so the queue's final push is refused after the checks it was queued to run have passed. Fix is a repo-settings change, not code: add the merge-queue integration to that allow-list (or temporarily lift the push restriction while ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 is open). I have not touched branch protection unattended.
- Resume: once a PR lands normally, re-enqueue id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 at
6f00e7e0 (keystone; 4 completed PRs — id(encryption): surface stalled delivery — Session::stalled_delivery() (#187) #2221, fix(usage-hub): enforce disabled_providers in quota pools + regression test (#1114) #2377, groups: build weak removal — concurrent grants and device grants stand (#161) #2204, feat(aggregator): make / the front door — overview; board moves to /board (#1134) #2424 — are parked behind it), then feat(aggregator): staleness watchdog tier items (#1148) #2431 at 658817f2. Task stays blocked until then so it stops cycling through park/resume on an unchanged blocker.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|