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: test pkgs/id changes before they merge (batched gate) · Issue #12229 · developing-today/code

id: test pkgs/id changes before they merge (batched gate) #12229

New issue
Copy link
New issue
Copy link
In progress
In progress
id: test pkgs/id changes before they merge (batched gate)#12229
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)area/ciCI/CD pipelines, workflows, and build automation (area)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestnowOrg Project gate: active priority — orchestrator adds to the boardpriority/criticalDrop everything: main broken, security exposure, repo-wide outagesource/agentCreated by an agent workerstatus:in-review

Description

@dezren39
dezren39
opened on Nov 21, 2026
Issue body actions

Problem

A pkgs/id change is not built or tested before it merges. In the 7 days to 2026-11-21, 43 main-broken issues named an id component. Every later verdict about id reads a signal that is red most of the time.

What to build

A batched gate on the fleet's build host, in slices (plan steps F1b to F1d):

  1. Affected-crate selector. A script that takes a diff and prints the pkgs/id workspace members to check and test, from the workspace dependency graph.
  2. Design record for the gate: batch size, what runs, how a red batch is bisected, how it is switched off.
  3. First slice of the gate. One landing lane takes ready pkgs/id PRs in batches, applies a batch to a candidate branch, runs cargo check --workspace and the affected crates' tests through fleet shell --build, merges a green batch and bisects a red one.

Done when

  • The selector's test feeds it a diff touching id-core and it names every dependent crate; a diff touching only id-render names only that crate and its dependents. Implemented and tested in PR #12418, merged as b03284079be68158b737d7bd8ceccb95f4a0e52e.
  • Ten consecutive batches land through the gate, and its log shows each batch's command and result.
  • id main-broken issues are at 3 a week or fewer for two weeks.

Decided

A pkgs/id change is tested before it merges (plan decision D2). Undo: turn the gate off; nightly CI is unchanged.


Filed from the 2026-11-21 priorities review (plan). Not queued at filing: the filing session has no route to the queue broker, so the coverage reconciliation imports it. It is ranked by its labels for fleet agent next.
Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF


Generated by Claude Code

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/highImportant and time-sensitive
    area/ciCI/CD pipelines, workflows, and build automation (area)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    nowOrg Project gate: active priority — orchestrator adds to the board
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    source/agentCreated by an agent worker
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 21, 2026
  2. developing-today commented on Nov 21, 2026

    @developing-today
    developing-todayBot
    on Nov 21, 2026 – with developing.today
    Contributor
    More actions

    CODE-4449

  3. dezren39
    added
    priority/criticalDrop everything: main broken, security exposure, repo-wide outage
    and removed
    priority/highImportant and time-sensitive
    on Nov 21, 2026
  4. dezren39
    added 2 commits that reference this issue on Nov 22, 2026

    fix(id): let clippy compile id-core again

    1a7359d

    fix(id): let clippy compile the id-sync test build again

    1b46025
  5. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026 – with ChatGPT Codex Connector
    MemberAuthor
    More actions

    Progress: the affected-crate selector slice is complete in PR #12418, merged as b03284079be68158b737d7bd8ceccb95f4a0e52e. Four fixture-graph tests pass. On the real Cargo workspace, an id-core path selected id and its transitive workspace dependents; an id-render path selected only id-render because it currently has no workspace dependents. Next slice: write the batch-gate design covering batch size, red-batch bisection, and the off switch.

  6. dezren39
    added a commit that references this issue on Nov 22, 2026

    id gate: batch planner, bisect and batch log for #12229

    f980cc8
  7. 22 remaining items

  8. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15118 from developing-today/felix/12229-gate-log-…

    6eb4b45
  9. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Claim (felix lane, Muse sandbox seat, 2026-11-25): running gate batch 2 — PR #14933 as its sole member again, now that #15116 is fixed on main (PR #15125, merged 13:39:58Z; the authorization_actor initializers are present at tests/membership_properties.rs:200 and :259 on current main 8cfa94e). Method: same as batch 1 — candidate = current main + PR head 60d9f32 merged in order, the driver's selector and verbatim batch_command, executed on the remote fleet-command executor inside pkgs/id's nix dev shell (the _run_devshell argv). The verdict lands as a gate-log record PR (batch 2 in scripts/id/gate-log.jsonl); PR #14933's own merge stays with the gate process. Refs #12229

  10. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Gate batch 2 ran — verdict RED, root cause is pre-existing main breakage, not the batched PR. (felix lane, 2026-11-25)

    Batch: [14933] alone, re-taken after batch 1's blocker #15116 was fixed on main (PR #15125 merged 13:39:58Z).
    Candidate: main 8cfa94e61 + PR head 60d9f3256, merge commit 213a7a844 (driver's assembly: origin/main + PR head merged in order; branch felix/12229-gate-batch2-candidate).
    Evaluation: run 45638088150 on the remote executor, inside pkgs/id's nix dev shell (the driver's _run_devshell argv). Selector exit 0; it named all 22 workspace crates (the PR touches pkgs/id/Cargo.toml/Cargo.lock), so the batch command is byte-identical to batch 1's. BATCH_EXIT=101 (the run's workflow conclusion reads success — set +e masking; the marker is the evidence).
    Failure: cargo check --workspace passed; cargo test cannot compile crate id's writer_set_expansion test target: error[E0063]: missing field authorization_actor in initializer of id::membership::Role at tests/writer_set_expansion.rs:71, :309 and :762. No tests ran.
    Baseline proof it is main, not the PR: run 45642774663 on unmodified main @ 8cfa94e61, cargo test -p id --test writer_set_expansion → BASELINE_EXIT=101, identical errors at the same lines. PR #14933's diff touches no membership code. This is the same defect class as #15116 — #15125 fixed the two membership_properties initializers, but three more stale initializers remained in writer_set_expansion (batch 1's run never reached this target). Filed as #15149, which also names a fourth stale site found by source sweep (tests/membership_scenarios.rs:187).

    Gate bookkeeping: batch-2 record (red, probe=false, consecutive_green=0) is in PR #15150 (scripts/id/gate-log.jsonl, appended by gate.py log itself). Criterion 2 count stays 0 (2 batches recorded). PR #14933 was NOT merged — a red batch does not land, even when the red is main's; its merge stays with the gate process.

    Next: fix #15149 on main; batch 3 can re-take PR #14933 (still ready, head untouched) once main's id test targets compile. Every batch will read red until then — the gate working as designed.

    Refs #12229, #15149

  11. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15150 from developing-today/felix/12229-gate-batc…

    42bcee1
  12. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Gate batch 3 verdict: RED — the red is the fleet-command executor, not PR #14933 and not main's sources.

    Candidate: branch felix/12229-gate-batch3-candidate at ef07c14 (merge of main 9f079db, which includes the #15149 fix PR #15182, + PR #14933 head 60d9f32 — unchanged since batch 2). Evaluated inside pkgs/id's nix devshell, per gate.py's _run_devshell (the plain-shell attempt, run 45677776822, died in the wayland-sys build script for missing pkg-config — the exact failure that function's docstring records from batch 1; it is not counted).

    Evidence:

    • Run 45680249978 (full gate command): cargo check --workspace GREEN (GATE_CHECK_RC=0). The cargo test phase then compiled every workspace source with zero source errors — the main-broken: id test target writer_set_expansion does not compile (Role::Auth missing authorization_actor in test initializers) #15149/main-broken: id test target membership_properties does not compile (Role::Auth missing authorization_actor in test initializers) #15116 defect class no longer blocks the gate — but ld.lld died with SIGBUS (core dumped) linking the dht_opt_in test binary, and regression_replay failed with the same single link error (GATE_TEST_RC=101). SIGBUS at link time is the executor disk-exhaustion signature tracked in pkgs/id: lld crashes linking waiting_properties test binary on fleet executor (disk exhaustion suspected) #15181.
    • Run 45685108655 (test half only, incremental): cancelled at the default job timeout (~67 min in the execute step); the cancelled job uploaded no log.
    • Run 45698711208 (test half, per-package sequential with per-package markers, timeout_minutes=120): cancelled at the 120-min timeout; again no log uploaded for the execute job.

    So: no source failure anywhere in batch 3's scope, but the test phase has never run to completion on the fleet-command executor, and the batch is recorded red rather than green on an incomplete evaluation. Record PR #15326 (one gate.py-log line: batch 3, red, consecutive_green 0) is open for Felix. PR #14933 is NOT merge-ready on this evidence and stays unmerged. Next step: fix #15181 (executor disk at link time + cancelled jobs losing their logs), then re-run batch 3 — the candidate sources are ready for it.

  13. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15326 from developing-today/felix/12229-gate-batc…

    1454653
  14. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Felix correction to the batch-3 verdict (comment 7178133860): the red stands as recorded, but the cause is NOT a live defect. The batch-3 candidate was built on main 9f079db, and pkgs/id/Cargo.toml at that ref still reads [profile.test] debug = true — the candidate predates PR #15239 (merged 2026-11-25T20:46:37Z), which set debug = "line-tables-only" and closed #15181. So the link-time SIGBUS in run 45680249978 is the pre-fix state of an already-fixed problem, not a recurrence.

    Next step: re-run the gate on CURRENT main (which carries the #15239 fix) with the same candidate shape (main + PR #14933 head). The check phase was already green and every workspace source test-compiled clean in batch 3, so a completed green run is plausible; it will be recorded as the next batch in gate-log.jsonl. A felix lane is dispatched for the re-run.

    Separately, batch 3 surfaced a real executor defect: the two cancelled test-half runs (45685108655, 45698711208) uploaded no logs at all. Filed as dezren39/fleet#122.

  15. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Gate batch 4 verdict: RED — but the shape of the red is new. For the first time the gate ran to completion: check green, the full test phase finished for all 22 packages, and the single failure is one genuine test failure in main's own code (filed as #15330). PR #14933 did not cause it.

    Candidate: branch felix/12229-gate-batch4-candidate at 1a0eb6ec5 — merge of current main baaf970d2 + PR #14933 head 60d9f3256 (unchanged since batches 2–3). The run's own GATE_HEAD marker confirms it executed 1a0eb6ec5d3e13c07b0a5cb3aca1a67fef3e80ce.

    line-tables-only proof: pkgs/id/Cargo.toml at the candidate head carries debug = "line-tables-only" (line 413), and the run log's grep marker reads GATE_PROFILE_GREP_RC=0. The batch-3 candidate predated that fix; this one does not.

    Run 45726075216 (fleet-command, nix develop of the candidate's pkgs/id, fresh in-checkout CARGO_TARGET_DIR, CARGO_BUILD_JOBS=2, timeout 120; Linux job 00:04:42Z–~01:26Z, log uploaded in full):

    • GATE_CHECK_RC=0 — cargo check --workspace green.
    • Test phase, per-package sequential with per-package markers: 21 of 22 packages RC=0; id-cli RC=101. Totals across the 259 test-result lines in the log: 8,010 passed / 1 failed / 21 ignored. GATE_TEST_RC=1; GATE_INNER_DONE / GATE_ALL_DONE present — the phase ran to completion, no cancellation, no lost log.

    The one failure (id-cli lib suite: 770 passed, 1 failed):

    commands::world::tests::the_contract_check_reports_conformance_or_every_violation
    panicked at crates/id-cli/src/commands/world.rs:2687:9:
    assertion `left == right` failed
      left: "6 frames conform to shell contract v1.17"
     right: "6 frames conform to shell contract v1.16"
    

    Attribution: main's own breakage, not PR #14933. Main's pkgs/id/contract/shell-contract.v1.json is at revision 17 — bumped by fa4f2ddc1 (PR #15265, landed 2026-11-25 16:23 CST) — while main's id-cli test still hardcodes the v1.16 expectation, so the test fails on plain main. PR #14933's head carries revision 16 with the matching v1.16 expectation (self-consistent); the merge took main's JSON and the stale expectation stranded. Filed as #15330 with the fix shape (update the expectation, or derive it from the embedded contract so the next bump can't strand it).

    Executor note: no SIGBUS and no link failure — the #15239 fix held and #15181 stays closed. Disk was tight, though: 51G free at job start, 5.2G free (97% used) at the end with the fresh target dir. It fit, but the margin is thin.

    Record: PR #15331 (one gate.py log line: batch 4, red, consecutive_green 0) is open for Felix. PR #14933 stays unmerged. Next step: land the #15330 fix on main, then batch 5 re-runs against the new main — the candidate sources are otherwise fully green, so a completed green batch is within reach.

  16. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #15331 from developing-today/felix/12229-gate-batc…

    b2f505b
  17. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Gate batch 5: GREEN — the gate's first green landed batch

    Candidate: 5d31a41a0fa73bd271b29f6ea693ff80b83161e5 (branch felix/12229-gate-batch5-candidate, pushed as evidence)

    • main b05a277bb2ee6fdbfb927d892dddfc25a9efa090 (current main at assembly; itself the merge of PR test(id-cli): derive contract-check expectation from embedded contract (#15330) #15332, the main red: id-cli contract-check test expects shell contract v1.16 after the revision-17 bump (#15265) #15330 fix)
    • PR id: connect Android shell to a live world view #14933 head 60d9f3256a02a0ce5d1ac23cba77fa224b83e83f — unchanged since batches 2–4, re-verified via the API and a local fetch of refs/pull/14933/head.

    Grep proof: the candidate's pkgs/id/Cargo.toml line 413 reads debug = "line-tables-only" under [profile.test] (the #15239 fix); the run's own grep marker is GATE_PROFILE_GREP_RC=0. Unlike batch 3's candidate, this one carries the fix.

    Run 45744599708 (fleet-command on developing-today/fleet, GitHub runner, timeout 120, inside nix develop of the candidate's pkgs/id, fresh in-checkout CARGO_TARGET_DIR, CARGO_BUILD_JOBS=2; dispatched command byte-identical to batch 4's; full 71,447-line log uploaded):

    • GATE_HEAD=5d31a41a0fa73bd271b29f6ea693ff80b83161e5 — the run executed exactly the candidate.
    • GATE_CHECK_RC=0 — cargo check --workspace green.
    • Test phase completed for all 22 affected packages (per-package sequential markers): 22 × RC=0. Totals from the 262 test-result lines: 8,026 passed / 0 failed / 34 ignored. GATE_TEST_RC=0, GATE_OUTER_RC=0, GATE_INNER_DONE/GATE_ALL_DONE present.
    • Batch 4's single failure (the id-cli contract test stranded at v1.16) is gone: main red: id-cli contract-check test expects shell contract v1.16 after the revision-17 bump (#15265) #15330's fix derived the expectation from the embedded contract, and the test passes here as part of id-cli's RC=0.
    • Executor disk: 52G free at start → 6.1G free at the end (96% used) — it fit, with the same thin margin as batch 4. No SIGBUS, no link failure; nothing for pkgs/id: lld crashes linking waiting_properties test binary on fleet executor (disk exhaustion suspected) #15181.

    One discarded attempt, for the record: run 45737565567 ran the identical candidate and command but was dispatched without the 120-minute timeout, so the workflow's 60-minute default cancelled it mid-test-phase (~62 min in, no log survived the cancellation). No verdict was taken from it; batch 5's verdict rests solely on run 45744599708 above.

    Recording: batch 5 appended via gate.py log — green, consecutive_green 0 → 1 — in record PR #15394 (left unmerged for Felix). gate.py status: {consecutive_green: 1, target: 10, batches: 5}.

    PR #14933 itself was not merged by this lane; with a completed green batch against current main, that call is Felix's.

  18. developing-today-fleet
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #15394 from developing-today/felix/12229-gate-batc…

    581f70a
  19. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage (2026-11-26): Keep #12229 open; the remaining acceptance is operational, not a missing implementation slice. The selector (#12418), batch planner/bisection and durable log, and consecutive-green status are merged. All five gate-log PRs (#15118, #15150, #15326, #15331, #15394) are merged. Batches 1–4 were recorded red; batch 5 was the first complete green batch, so the committed consecutive-green count is 1. Its candidate PR #14933 later merged on 2026-11-26. No current issue hold labels or other live #12229 queue tasks were found.

    The next real result is the next eligible current-main batch, not another design/code-only triage. I queued task 25181 to run and fully record that batch through the gate driver; it must not count cancelled/incomplete runs as green and must preserve any source/executor blocker as a distinct live follow-up. The independent two-week main-broken rate criterion also remains unmeasured. No code or schedule change was made in this triage.

  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Batch 6 candidate assembled: current main d67b479488f3a45e5bf4db81840bf0ac3e425b67 + eligible #15587 (Cargo dependency updates touching pkgs/id manifests). Merge is clean; candidate 72104cd4a4a7661f21b15f1a9361854e4c893e6a pushed as code-j/12229-gate-batch6-candidate. Selector chooses 19 affected crates. Fleet queue dispatch hit HTTP 403 on fleet-forks (Resource not accessible by integration); retried using the authorized developing-today/fleet fleet-command workflow. Run: https://github.com/developing-today/fleet/actions/runs/45929188576. Awaiting terminal evidence; no verdict yet.

  21. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    First execution attempt #45929188576 failed before compilation, so it is not a gate verdict: runner log confirms GATE_HEAD=72104cd4a4a7661f21b15f1a9361854e4c893e6a, then nix develop pkgs/id treated the relative path as a flake registry ref (cannot find flake flake:pkgs/id). Corrected the invocation to nix develop ./pkgs/id and retried same candidate; run #45930506083. Awaiting terminal evidence.

  22. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Batch 6 completed red; the corrected remote command ran on candidate 72104cd4a4a7661f21b15f1a9361854e4c893e6a (current main d67b4794 + eligible #15587). Run 45930506083 reached cargo check --workspace and failed compiling id-store with four E0308 mismatches: the update introduces iroh-blobs 0.105.0 while iroh-docs 0.101.0 APIs use iroh-blobs 0.103.1; the Hash types differ at tags.rs:870, 874, 1487, 1501. This is a source/dependency failure, not executor infrastructure. The candidate remains unmerged; #15587 is closed unmerged. Durable batch-6 red record is in PR #15885, appended with gate.py log; it records consecutive_green=0 (gate status: 0/10, 6 batches).}

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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)area/ciCI/CD pipelines, workflows, and build automation (area)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestnowOrg Project gate: active priority — orchestrator adds to the boardpriority/criticalDrop everything: main broken, security exposure, repo-wide outagesource/agentCreated by an agent workerstatus:in-review

    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.