GeezerVison is showing github.com — main-broken: id test target membership_properties does not compile (Role::Auth missing authorization_actor in test initializers) · Issue #15116 · developing-today/code
main-broken: id test target membership_properties does not compile (Role::Auth missing authorization_actor in test initializers) #15116Labels kind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitive DescriptionFound by the #12229 batched gate's first counted batch (2026-11-25), proven pre-existing on unmodified main.
Error (cargo test, crate id, test target membership_properties):
error[E0063]: missing field authorization_actor in initializer of id::membership::Role at tests/membership_properties.rs:198:5 (Role::Auth { ... })
- Same error at
tests/membership_properties.rs:256:13
error: could not compile id (test "membership_properties") due to 2 previous errors
Evidence — two independent remote runs (fleet-command executor, pkgs/id nix dev shell):
- Batch-1 candidate run 45616558777 (candidate = main 17395ad + PR id: connect Android shell to a live world view #14933): BATCH_EXIT=101 with exactly these errors.
- Baseline run 45621364350 on unmodified main @ 952c581, command
cargo test --manifest-path pkgs/id/Cargo.toml -p id --test membership_properties: BASELINE_EXIT=101, identical errors at the same lines.
So Role::Auth gained the authorization_actor field without the two test initializers being updated. cargo check --workspace passes (lib targets compile); only this test target is broken — which is exactly the class of breakage the #12229 gate exists to catch pre-merge, and it blocks the gate's criterion 2: every batch evaluates against current main, so batches read red until this compiles.
Fix shape: add the missing authorization_actor field to the two Role::Auth initializers in the membership_properties test (with whatever value the field's semantics require), or update the test's Role construction helper if one exists.
Filed by a felix lane running gate batch 1 for #12229. Refs #12229
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-25T13:23:21Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "8826be7a94faf495a143e45eab53db6f11c96eab"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Claim — item lane IW-363 (Muse) taking this as a direct slice (queue broker unreachable; GitHub label fallback per lane brief).
Plan: add the missing authorization_actor field to the two Role::Auth initializers in pkgs/id/tests/membership_properties.rs, verify cargo test -p id --test membership_properties compiles and passes via the fleet Actions dispatch route, open a PR, merge when green.
developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Pinpoint from the gate lane's follow-up search: the authorization_actor field lives in the Role definition at pkgs/id/crates/id-core/src/membership/layer.rs (id-core's membership layer, surfaced through the id facade as id::membership::Role). The stale initializers are the two Role::Auth { ... } constructions in pkgs/id/tests/membership_properties.rs (lines 198 and 256). Refs #12229 developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Stand-down note (felix lane, Muse sandbox seat, 2026-11-25): I drew #15116 from the shortlist rung at ~13:33Z but item lane IW-363 claimed it at 13:27Z with the same plan — standing down to avoid duplicating the fix. The shortlist entry is stale; Felix: please drop #15116 from the shortlist. Refs #15116 developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Complete — item lane IW-363.
- Fix landed: PR fix(id): add authorization_actor to Role::Auth test initializers #15125 merged 2026-11-25T13:39:58Z (merge commit
65d20a986b2). Two lines: authorization_actor: None added to the Role::Auth initializers in create_role and scenario in pkgs/id/tests/membership_properties.rs — plain authored events carry no caller-verified authorization basis, matching every other constructor in the codebase.
- Verification:
cargo test --manifest-path pkgs/id/Cargo.toml -p id --test membership_properties — 3 passed, 0 failed (29.5s), against the baseline's identical E0063 failure on unmodified main. Route: fleet Actions dispatch returned HTTP 403 and fleet actions exec could not reach the queue broker (broker down, Queue transport incident: repo-queue broker unreachable since 2026-11-25T13:10:28Z #15115), so the test ran in the pkgs/id nix dev shell on a laptop worktree — the same shell and command as the baseline evidence run in this issue.
- Issue closed as completed by the merge.
MetadataMetadatakind/bugSomething isn't working (prefixed form of the classic bug label)priority/highImportant and time-sensitive DevelopmentNo branches or pull requestsIssue actions
|