GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #2151

New issue
Copy link
New issue
Copy link
Closed
Closed
id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks#2151
Copy link
Assignees
dezren39
Labels
kind/bugSomething isn't working (prefixed form of the classic bug label)queue/blockedQueue or user escalation statestatus:doneuser/escalatedRequires a Drew decision or accesswork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Problem

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

  • PR id(serve): startup breadcrumbs across the #190 stall window #2111's CI (run 40817393904, 2026-10-29): jobs nix flake check (cargo-fmt-check) (123273640701), (rustfmt-check) (123273640753) and (treefmt-check) (123273640657) all fail, and all three logs show diffs only in /build/id/src/meta_client.rs.
  • PR id(serve): startup breadcrumbs across the #190 stall window #2111 does not touch that file (its diff is pkgs/id/src/commands/serve.rs + pkgs/id/src/world_hub.rs only), and the same unformatted code is present verbatim on current main (8124cc0b7005) — so the failure is pre-existing on main, not introduced by the PR.
  • Found during queue task 2981 (lane D resume of PR id(serve): startup breadcrumbs across the #190 stall window #2111, issue Serve stalls before printing node in test_world_module_shared_over_iroh_and_web_presentations #190).

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.

Activity

Next
  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1046

  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    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.

  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    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.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  7. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 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.
  8. developing-today
    added
    status:in-review
    on Oct 29, 2026
  9. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · in progress

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 3495, repo-health-code-pilot
    • Found via: queue claim
    • Task: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 opened (head 6f00e7e): meta_client.rs reformatted; tags.rs expects replaced with let-else. Laptop verification: 68 tags tests pass, rustfmt --check clean on both files.
    • Expectation: parked on PR CI (fmt + clippy checks). Resume: merge on green, complete task 3495, strip labels.
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 29, 2026
  11. 78 remaining items

  12. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3495
    • Found via: queue claim (resume of parked task)
    • Task: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 re-entered into the merge queue by this shift (its earlier queue entry had lapsed while the PR sat open/green). Now position 1, AWAITING_CHECKS; PR's own checks 29/29 pass, Codex review clean, diff verified in-scope (meta_client.rs fmt + tags.rs let-else). Parking instead of waiting on merge-queue CI.
    • Expectation: On resume: if PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 MERGED, complete task as fixed_merged and strip lifecycle labels; if ejected, re-enqueue / investigate.
    • Links: PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335
  13. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 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.
  14. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    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.

  15. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 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
  16. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 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.

    • Links: id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151 · PR id: rustfmt meta_client.rs + drop expect() in tags parser — unbreak main fmt/clippy (#2151) #2335 · ci: merge queue ejects every PR — no merge since #2233 (10:57Z), entries dropped 2-6 min into AWAITING_CHECKS #2403 (evidence comment) · tasks 2977/3005/2941/3027
  17. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 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.
  18. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    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.
  19. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 29, 2026
  20. developing-today
    added
    status:done
    on Oct 30, 2026
  21. developing-today
    closed this as completedon Oct 30, 2026
  22. dezren39
    removed
    status/blockedQueue or user escalation state
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

kind/bugSomething isn't working (prefixed form of the classic bug label)queue/blockedQueue or user escalation statestatus:doneuser/escalatedRequires a Drew decision or accesswork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.