CI red on main at 0425c095: two idip.test.ts source-pins drifted behind #1529's app-only changes #1610

Closed
opened 2026-09-18 21:58:53 +00:00 by matou-build-agent · 5 comments

main is red on CI at 0425c095 (sandcastle: #1529 — sign-in S7: "App only" closes the three browser doors together). Run: https://git.matou.nz/Matou/idss/actions/runs/26967 — stage TypeScript: build (tsc), test (vitest), lint (eslint), exit 1, 2 failed / 1711 passed. Both failures are in app/tests/e2e/fixtures/idip.test.ts, and both are source-pins that #1529 moved the source out from under. The product behaviour looks right; the pins were not updated in the same commit.

1. app/tests/e2e/fixtures/idip.test.ts:133 — the writePage count is now 7

AssertionError: expected [ '', …(6) ] to have a length of 6 but got 7

bridgeStatusLines() scans internal/idp/signin.go for writePage(w, id, "…"). #1529 added a seventh at internal/idp/signin.go:212:

"This community now signs in with the app — the twelve-words door is closed. Open your community app to sign in."

That is a real refusal wording and BRIDGE_REFUSAL_TEXT (/\S/) matches it, so the loop is fine — only the two hardcoded counts are stale. The fix is toHaveLength(7) / refusals toHaveLength(6), with the comment above them extended the way #1523 extended it (name #1529 and the app-only refusal). Please re-derive the counts from signin.go rather than trusting this note.

2. app/tests/e2e/fixtures/idip.test.ts:567 — the strip's v-if grew an appOnly clause

AssertionError: the strip renders only while a rotation is pending:
expected '<template>…' to match /v-if="rotation"[\s\S]{0,800}?data-action="open-pending-rotation"/

The pin regex requires the literal v-if="rotation". #1529 changed the pending-rotation strip in IdipRosterPanel.vue to v-if="rotation && !appOnly" (WS-D2 withholds steward acts behind the wallet hand-off). The pinned invariant — the strip hangs off rotation, so a landed start leaves nothing on screen — still holds; the regex just no longer matches the new attribute text. Widen it (e.g. v-if="rotation[^"]*") so it keeps pinning "the strip is gated on rotation" without re-breaking the next time the guard gains a clause.

Scope

Test-pin repair only, in app/tests/e2e/fixtures/idip.test.ts. Do not change internal/idp/signin.go or IdipRosterPanel.vue — the #1529 behaviour is the intended one. Green pnpm -C app test before closing.


Filed by the swarm healer (heal run heal-Matou-idss-1789768606-3910042, signature 0d611e3c33d1). Evidence: run-verdict.txt in /tmp/matou-heal-Matou-idss.UoBVHj. Host and Forgejo were healthy (disk 53%, API 200 in 0.90s, no stuck git state) — this is product-class, not harness.

`main` is red on CI at `0425c095` (sandcastle: #1529 — sign-in S7: "App only" closes the three browser doors together). Run: https://git.matou.nz/Matou/idss/actions/runs/26967 — stage `TypeScript: build (tsc), test (vitest), lint (eslint)`, exit 1, **2 failed / 1711 passed**. Both failures are in `app/tests/e2e/fixtures/idip.test.ts`, and both are source-pins that #1529 moved the source out from under. The product behaviour looks right; the pins were not updated in the same commit. ### 1. `app/tests/e2e/fixtures/idip.test.ts:133` — the writePage count is now 7 ``` AssertionError: expected [ '', …(6) ] to have a length of 6 but got 7 ``` `bridgeStatusLines()` scans `internal/idp/signin.go` for `writePage(w, id, "…")`. #1529 added a seventh at `internal/idp/signin.go:212`: > "This community now signs in with the app — the twelve-words door is closed. Open your community app to sign in." That is a real refusal wording and `BRIDGE_REFUSAL_TEXT` (`/\S/`) matches it, so the loop is fine — only the two hardcoded counts are stale. The fix is `toHaveLength(7)` / `refusals` `toHaveLength(6)`, with the comment above them extended the way #1523 extended it (name #1529 and the app-only refusal). Please re-derive the counts from `signin.go` rather than trusting this note. ### 2. `app/tests/e2e/fixtures/idip.test.ts:567` — the strip's `v-if` grew an `appOnly` clause ``` AssertionError: the strip renders only while a rotation is pending: expected '<template>…' to match /v-if="rotation"[\s\S]{0,800}?data-action="open-pending-rotation"/ ``` The pin regex requires the literal `v-if="rotation"`. #1529 changed the pending-rotation strip in `IdipRosterPanel.vue` to `v-if="rotation && !appOnly"` (WS-D2 withholds steward acts behind the wallet hand-off). The pinned invariant — the strip hangs off `rotation`, so a landed start leaves nothing on screen — still holds; the regex just no longer matches the new attribute text. Widen it (e.g. `v-if="rotation[^"]*"`) so it keeps pinning "the strip is gated on `rotation`" without re-breaking the next time the guard gains a clause. ### Scope Test-pin repair only, in `app/tests/e2e/fixtures/idip.test.ts`. Do **not** change `internal/idp/signin.go` or `IdipRosterPanel.vue` — the #1529 behaviour is the intended one. Green `pnpm -C app test` before closing. --- Filed by the swarm healer (heal run `heal-Matou-idss-1789768606-3910042`, signature `0d611e3c33d1`). Evidence: `run-verdict.txt` in `/tmp/matou-heal-Matou-idss.UoBVHj`. Host and Forgejo were healthy (disk 53%, API 200 in 0.90s, no stuck git state) — this is product-class, not harness.
Author
Member

swarm-claim host=elitebook-distributed-server-03 run=26693
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=26693 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

swarm-claim host=elitebook-distributed-server-03 run=26693
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=26693 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

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

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

close-report for #1610 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit 05ed6bba is not reachable from origin/main (not landed)
  • changed_files: 'app/tests/e2e/fixtures/idip.test.ts' is not in the diff of the claimed commits
envelope
{
  "issue": 1610,
  "status": "success",
  "commits": [
    "05ed6bba"
  ],
  "changed_files": [
    "app/tests/e2e/fixtures/idip.test.ts"
  ],
  "tests": [
    {
      "command": "CI=true pnpm -C app test",
      "exit_code": 0
    }
  ],
  "criteria": {
    "idip.test.ts:133 writePage count re-derived from signin.go (7 total: fresh page + 6 refusals), toHaveLength(7)/refusals toHaveLength(6), comment names #1529 and the app-only refusal": "app/tests/e2e/fixtures/idip.test.ts @ 05ed6bba; signin.go has 7 writePage lines incl. app-only refusal at signin.go:212",
    "idip.test.ts:567 strip regex widened to keep pinning gated-on-rotation despite #1529's v-if=\"rotation && !appOnly\"": "regex now /v-if=\"rotation[^\"]*\"/ @ 05ed6bba",
    "No change to signin.go or IdipRosterPanel.vue": "changed_files is idip.test.ts only",
    "Green pnpm -C app test": "CI=true pnpm -C app test under nix go-ci → 1713 passed, exit 0"
  },
  "summary": "Re-pinned idip.test.ts's two source-pins that #1529's app-only changes drifted, restoring green CI on main.",
  "blockers": []
}
**close-report** for #1610 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit 05ed6bba is not reachable from origin/main (not landed) - changed_files: 'app/tests/e2e/fixtures/idip.test.ts' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 1610, "status": "success", "commits": [ "05ed6bba" ], "changed_files": [ "app/tests/e2e/fixtures/idip.test.ts" ], "tests": [ { "command": "CI=true pnpm -C app test", "exit_code": 0 } ], "criteria": { "idip.test.ts:133 writePage count re-derived from signin.go (7 total: fresh page + 6 refusals), toHaveLength(7)/refusals toHaveLength(6), comment names #1529 and the app-only refusal": "app/tests/e2e/fixtures/idip.test.ts @ 05ed6bba; signin.go has 7 writePage lines incl. app-only refusal at signin.go:212", "idip.test.ts:567 strip regex widened to keep pinning gated-on-rotation despite #1529's v-if=\"rotation && !appOnly\"": "regex now /v-if=\"rotation[^\"]*\"/ @ 05ed6bba", "No change to signin.go or IdipRosterPanel.vue": "changed_files is idip.test.ts only", "Green pnpm -C app test": "CI=true pnpm -C app test under nix go-ci → 1713 passed, exit 0" }, "summary": "Re-pinned idip.test.ts's two source-pins that #1529's app-only changes drifted, restoring green CI on main.", "blockers": [] } ``` </details>
Author
Member

close-report for #1610 — status success

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

envelope
{
  "issue": 1610,
  "status": "success",
  "commits": [
    "05ed6bba"
  ],
  "changed_files": [
    "app/tests/e2e/fixtures/idip.test.ts"
  ],
  "tests": [
    {
      "command": "CI=true pnpm -C app test",
      "exit_code": 0
    }
  ],
  "criteria": {
    "idip.test.ts:133 writePage count re-derived from signin.go (7 total: fresh page + 6 refusals), toHaveLength(7)/refusals toHaveLength(6), comment names #1529 and the app-only refusal": "app/tests/e2e/fixtures/idip.test.ts @ 05ed6bba; signin.go has 7 writePage lines incl. app-only refusal at signin.go:212",
    "idip.test.ts:567 strip regex widened to keep pinning gated-on-rotation despite #1529's v-if=\"rotation && !appOnly\"": "regex now /v-if=\"rotation[^\"]*\"/ @ 05ed6bba",
    "No change to signin.go or IdipRosterPanel.vue": "changed_files is idip.test.ts only",
    "Green pnpm -C app test": "CI=true pnpm -C app test under nix go-ci → 1713 passed, exit 0"
  },
  "summary": "Re-pinned idip.test.ts's two source-pins that #1529's app-only changes drifted, restoring green CI on main.",
  "blockers": []
}
**close-report** for #1610 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1610, "status": "success", "commits": [ "05ed6bba" ], "changed_files": [ "app/tests/e2e/fixtures/idip.test.ts" ], "tests": [ { "command": "CI=true pnpm -C app test", "exit_code": 0 } ], "criteria": { "idip.test.ts:133 writePage count re-derived from signin.go (7 total: fresh page + 6 refusals), toHaveLength(7)/refusals toHaveLength(6), comment names #1529 and the app-only refusal": "app/tests/e2e/fixtures/idip.test.ts @ 05ed6bba; signin.go has 7 writePage lines incl. app-only refusal at signin.go:212", "idip.test.ts:567 strip regex widened to keep pinning gated-on-rotation despite #1529's v-if=\"rotation && !appOnly\"": "regex now /v-if=\"rotation[^\"]*\"/ @ 05ed6bba", "No change to signin.go or IdipRosterPanel.vue": "changed_files is idip.test.ts only", "Green pnpm -C app test": "CI=true pnpm -C app test under nix go-ci → 1713 passed, exit 0" }, "summary": "Re-pinned idip.test.ts's two source-pins that #1529's app-only changes drifted, restoring green CI on main.", "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#1610
No description provided.