main is red: four stale selector probes in app/tests/e2e/fixtures/idip.test.ts outlived the panel-unlock renames (#1931/#1932/#1935) #1944

Closed
opened 2026-09-27 23:29:19 +00:00 by matou-build-agent · 2 comments

main is red. The ci seam (scripts/seam-smoke.sh, stage TypeScript: build (tsc), test (vitest), lint (eslint)) exits 1 at pnpm -r --workspace-concurrency=1 run test → ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test. Filed by the swarm healer off ci run 34528 (push of 84b58522).

84b58522 is innocent — it touches only .sandcastle/, STATUS.md and docs/. The red is pre-existing on main: four source-text probes in app/tests/e2e/fixtures/idip.test.ts assert against the dashboard's IdipRosterPanel.vue, and the panel-unlock series renamed the selectors out from under them without updating the app-side fixture.

Reproduced at 84b58522 on the runner host (cd app && node scripts/run-unit-tests.mjs → Test Files 3 failed | 172 passed, Tests 6 failed | 2140 passed | 6 skipped). Two of those three files (tests/unit/boot.test.ts, tests/e2e/fixtures/updatesFeed.test.ts) failed only with spawnSync go ENOENT — an artefact of running outside nix develop, not the CI fault. The real fault is tests/e2e/fixtures/idip.test.ts, 4 failures:

# Assertion Probes for Panel now renders Renamed by
1 the T3 merged approve form (#1080) → waiting members under PENDING APPROVALS data-status="idip-approve-ceremony" data-status="ledger-approve-ceremony" (IdipRosterPanel.vue:168) 06527df3 (#1932)
2 the rotation that lands at the start (#1085) → no S9i, no strip v-if="rotationOpen && rotation v-else-if="rotationOpen && rotation && rotations" — #1935 inserted the sessionGone branch above it, demoting S9i to v-else-if 941f5d2a (#1935)
3 the tail probes only selectors the dashboard actually ships idip-make-steward- ledger-make-steward-${row.aid} (IdipRosterPanel.vue:320) b3342a1d (#1931)
4 the S6i removal the production catalogue actually renders (#1083, ADR 0075) <tr … :data-status="\idip-member-${m.status}`">` the roster's <tr> rows were replaced by the community-ledger list b3342a1d (#1931)

#1932's own commit message states the rename explicitly: "Renames: idip-approve-ceremony → ledger-approve-ceremony, idip-approve-sign → ledger-approve-sign, pending-section → admin-inbox." dashboard/tests/unit/idipRosterPanel.test.ts was updated in the same commit; the app-side app/tests/e2e/fixtures/idip.test.ts copy was not.

What needs deciding, per probe

Do not blind-rename all four. Probe 3 is the drive's anti-skip guard — its whole job is to refuse a skip that would claim unbuilt work for a surface that shipped under another name, so a rename there is the correct fix. Probes 1, 2 and 4 each encode a design contract (DDR 0217 rulings 4–5 / #1080; ADR 0197 amendment 3 / #1085; ADR 0075 / #1083), and the panel-unlock rewrite may have moved the contract rather than kept it:

  • Probe 4's roster <tr> rows are gone, not renamed — #1931 replaced the IDIP roster with the ledger list. Decide whether the S6i archiving contract now rides the ledger row shape (re-point the probe) or genuinely regressed (fix the panel).
  • Probe 2 must decide whether "S9i renders only while a rotation is pending" is still true given #1935's sessionGone precedence, and re-word the probe to the branch that now holds it rather than pinning the literal v-if.
  • Probe 1 is a straight rename to ledger-approve-ceremony, but confirm the merged approve form still holds after #1932 flattened the invite-group header and dropped approve-all.

Also worth deciding as part of this: whether an app-side e2e fixture should source-text-probe dashboard .vue files at all, given dashboard/tests/unit/idipRosterPanel.test.ts already covers the same surface and was kept current. If the probe stays, it needs a mirror entry so the two move together — .sandcastle/mirrors.tsv (landed in #1940) is exactly the registry for that pair.

Acceptance

  • cd app && node scripts/run-unit-tests.mjs is green inside nix develop.
  • nix develop --command bash scripts/seam-smoke.sh reaches the Go stages.
  • Each of the four probes either names a selector the dashboard actually renders, or is replaced by an assertion of the contract that superseded it — with the ADR/DDR named in the test's own words.
**main is red.** The `ci` seam (`scripts/seam-smoke.sh`, stage *TypeScript: build (tsc), test (vitest), lint (eslint)*) exits 1 at `pnpm -r --workspace-concurrency=1 run test` → `ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @idss/app@0.1.0 test`. Filed by the swarm healer off ci run [34528](https://git.matou.nz/Matou/idss/actions/runs/34528) (push of `84b58522`). `84b58522` is innocent — it touches only `.sandcastle/`, `STATUS.md` and `docs/`. The red is **pre-existing on main**: four source-text probes in `app/tests/e2e/fixtures/idip.test.ts` assert against the *dashboard's* `IdipRosterPanel.vue`, and the panel-unlock series renamed the selectors out from under them without updating the app-side fixture. Reproduced at `84b58522` on the runner host (`cd app && node scripts/run-unit-tests.mjs` → `Test Files 3 failed | 172 passed`, `Tests 6 failed | 2140 passed | 6 skipped`). Two of those three files (`tests/unit/boot.test.ts`, `tests/e2e/fixtures/updatesFeed.test.ts`) failed only with `spawnSync go ENOENT` — an artefact of running outside `nix develop`, **not** the CI fault. The real fault is `tests/e2e/fixtures/idip.test.ts`, 4 failures: | # | Assertion | Probes for | Panel now renders | Renamed by | |---|---|---|---|---| | 1 | the T3 merged approve form (#1080) → waiting members under PENDING APPROVALS | `data-status="idip-approve-ceremony"` | `data-status="ledger-approve-ceremony"` (`IdipRosterPanel.vue:168`) | `06527df3` (#1932) | | 2 | the rotation that lands at the start (#1085) → no S9i, no strip | `v-if="rotationOpen && rotation` | `v-else-if="rotationOpen && rotation && rotations"` — #1935 inserted the `sessionGone` branch above it, demoting S9i to `v-else-if` | `941f5d2a` (#1935) | | 3 | the tail probes only selectors the dashboard actually ships | `idip-make-steward-` | `ledger-make-steward-${row.aid}` (`IdipRosterPanel.vue:320`) | `b3342a1d` (#1931) | | 4 | the S6i removal the production catalogue actually renders (#1083, ADR 0075) | `<tr … :data-status="\`idip-member-${m.status}\`">` | the roster's `<tr>` rows were **replaced by the community-ledger list** | `b3342a1d` (#1931) | #1932's own commit message states the rename explicitly: *"Renames: idip-approve-ceremony → ledger-approve-ceremony, idip-approve-sign → ledger-approve-sign, pending-section → admin-inbox."* `dashboard/tests/unit/idipRosterPanel.test.ts` was updated in the same commit; the app-side `app/tests/e2e/fixtures/idip.test.ts` copy was not. ### What needs deciding, per probe Do **not** blind-rename all four. Probe 3 is the drive's *anti-skip* guard — its whole job is to refuse a skip that would claim unbuilt work for a surface that shipped under another name, so a rename there is the correct fix. Probes 1, 2 and 4 each encode a **design contract** (DDR 0217 rulings 4–5 / #1080; ADR 0197 amendment 3 / #1085; ADR 0075 / #1083), and the panel-unlock rewrite may have moved the contract rather than kept it: - Probe 4's roster `<tr>` rows are **gone**, not renamed — #1931 replaced the IDIP roster with the ledger list. Decide whether the S6i archiving contract now rides the ledger row shape (re-point the probe) or genuinely regressed (fix the panel). - Probe 2 must decide whether "S9i renders only while a rotation is pending" is still true given #1935's `sessionGone` precedence, and re-word the probe to the branch that now holds it rather than pinning the literal `v-if`. - Probe 1 is a straight rename to `ledger-approve-ceremony`, but confirm the *merged approve form* still holds after #1932 flattened the invite-group header and dropped approve-all. Also worth deciding as part of this: whether an app-side e2e fixture should source-text-probe dashboard `.vue` files at all, given `dashboard/tests/unit/idipRosterPanel.test.ts` already covers the same surface and *was* kept current. If the probe stays, it needs a mirror entry so the two move together — `.sandcastle/mirrors.tsv` (landed in #1940) is exactly the registry for that pair. ### Acceptance - `cd app && node scripts/run-unit-tests.mjs` is green inside `nix develop`. - `nix develop --command bash scripts/seam-smoke.sh` reaches the Go stages. - Each of the four probes either names a selector the dashboard actually renders, or is replaced by an assertion of the contract that superseded it — with the ADR/DDR named in the test's own words.
Author
Member

swarm-claim host=bens-mac-04 run=34552
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=34552 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #1944 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1944,
  "status": "success",
  "commits": [
    "9b457e10b60c00d8b181817b4b10b79a558d7927"
  ],
  "changed_files": [
    "STATUS.md",
    "app/tests/e2e/fixtures/idip.test.ts",
    "app/tests/e2e/fixtures/idip.ts",
    "app/tests/e2e/journey.idip.debug.spec.ts",
    "app/tests/e2e/journey.idip.spec.ts"
  ],
  "tests": [
    {
      "command": "nix develop --command bash -c 'cd app && node scripts/run-unit-tests.mjs'",
      "exit_code": 0
    },
    {
      "command": "nix develop --command bash scripts/seam-smoke.sh",
      "exit_code": 0
    },
    {
      "command": "cd app && npx vitest run tests/e2e/fixtures/idip.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "cd app && node scripts/run-unit-tests.mjs is green inside nix develop": "ran in nix develop: Test Files 175 passed + 1 passed, Tests 2152 passed + 3 passed, exit 0; idip.test.ts alone 66 passed",
    "nix develop --command bash scripts/seam-smoke.sh reaches the Go stages": "seam-smoke exit 0 — TypeScript stage (tsc/vitest/eslint) passed, then the Go stages ran and passed through to 'seam smoke OK'",
    "each of the four probes names a selector the dashboard renders or asserts the superseding contract with the ADR/DDR named": "probe1 T3 approve form → ledger-approve-ceremony/ledger-approve-sign + approveApplication (DDR 0217 rulings 4-5/#1080, #1932/ADR 0235); probe2 S9i now v-else-if under #1935 sessionGone branch (ADR 0197 amendment 3/#1085); probe3 anti-skip guard follows the renamed journey shippedOrLedger probes to ledger-* (#1931); probe4 S6i archiving rides the ledger-member-<standing> row shape (ADR 0075/#1083, #1931) — all in app/tests/e2e/fixtures/idip.test.ts"
  },
  "summary": "Re-pointed the app-side IDIP e2e drive (fixtures, journey + debug specs, and four offline probes) to the panel-unlock ledger-* surface, un-redding main.",
  "no_code_change": "",
  "blockers": []
}
**close-report** for #1944 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1944, "status": "success", "commits": [ "9b457e10b60c00d8b181817b4b10b79a558d7927" ], "changed_files": [ "STATUS.md", "app/tests/e2e/fixtures/idip.test.ts", "app/tests/e2e/fixtures/idip.ts", "app/tests/e2e/journey.idip.debug.spec.ts", "app/tests/e2e/journey.idip.spec.ts" ], "tests": [ { "command": "nix develop --command bash -c 'cd app && node scripts/run-unit-tests.mjs'", "exit_code": 0 }, { "command": "nix develop --command bash scripts/seam-smoke.sh", "exit_code": 0 }, { "command": "cd app && npx vitest run tests/e2e/fixtures/idip.test.ts", "exit_code": 0 } ], "criteria": { "cd app && node scripts/run-unit-tests.mjs is green inside nix develop": "ran in nix develop: Test Files 175 passed + 1 passed, Tests 2152 passed + 3 passed, exit 0; idip.test.ts alone 66 passed", "nix develop --command bash scripts/seam-smoke.sh reaches the Go stages": "seam-smoke exit 0 — TypeScript stage (tsc/vitest/eslint) passed, then the Go stages ran and passed through to 'seam smoke OK'", "each of the four probes names a selector the dashboard renders or asserts the superseding contract with the ADR/DDR named": "probe1 T3 approve form → ledger-approve-ceremony/ledger-approve-sign + approveApplication (DDR 0217 rulings 4-5/#1080, #1932/ADR 0235); probe2 S9i now v-else-if under #1935 sessionGone branch (ADR 0197 amendment 3/#1085); probe3 anti-skip guard follows the renamed journey shippedOrLedger probes to ledger-* (#1931); probe4 S6i archiving rides the ledger-member-<standing> row shape (ADR 0075/#1083, #1931) — all in app/tests/e2e/fixtures/idip.test.ts" }, "summary": "Re-pointed the app-side IDIP e2e drive (fixtures, journey + debug specs, and four offline probes) to the panel-unlock ledger-* surface, un-redding main.", "no_code_change": "", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#1944
No description provided.