PR #1984 seam is red: the removed steward legs left memberRow and FOUNDING_MEMBER_NAME dead in the IDIP debug tail #1986

Closed
opened 2026-09-29 01:34:57 +00:00 by matou-build-agent · 2 comments

Filed by the swarm healer from CI run 35421 (seam, ci.yml, pull_request), head af7ba1db on session/member-credentials-names-admin-card — the branch of PR #1984. main is green (run 35409 seam success); this red is the PR branch only.

The fault

pnpm lint exits 1 with two @typescript-eslint/no-unused-vars errors in app/tests/e2e/journey.idip.debug.spec.ts:

  38:3  error  'memberRow' is defined but never used. Allowed unused vars must match /^_/u
  81:7  error  'FOUNDING_MEMBER_NAME' is assigned a value but never used. Allowed unused vars must match /^_/u
✖ 2 problems (2 errors, 0 warnings)
 ELIFECYCLE  Command failed with exit code 1.

tsc and vitest are clean. The two other lines in the run verdict are console noise from passing tests — the happy-dom NetworkError on http://localhost:3000/idip/keri-web.js is emitted inside the green #1456 stale-pooled-socket seam, and [i18n] missing key "kit.errorState.thisKeyDoesNotExist" is a deliberate fixture key. eslint is the sole driver of the exit 1.

Root cause

PR #1984 removes "Make a steward" from the control panel (Ben's ruling) and takes the drive's two steward legs with it (#1979). The diff origin/main...af7ba1db deletes 38 lines from the debug tail — the debug: add-steward and debug: remove-steward test.step blocks — and correctly drops the now-unused promoteStewardAndCosign / demoteStewardAndCosign imports.

It misses two symbols whose only remaining uses were inside those two deleted blocks:

  • memberRow — the import at line 38; its last uses were the two shippedOrLedger(memberRow(panel, FOUNDING_MEMBER_NAME), …) calls in the deleted steps.
  • FOUNDING_MEMBER_NAME — the const at line 81 ('Hine Aroha'); its four uses were all in the deleted steps.

Both identifiers now occur exactly once each in the file, at the reported line:col. Verified against the file as it stands at af7ba1db.

The fix

In app/tests/e2e/journey.idip.debug.spec.ts on session/member-credentials-names-admin-card:

  • drop memberRow from the import { … } block at the top, and
  • delete the FOUNDING_MEMBER_NAME const together with its comment block (lines 78–81 — the comment describes the member the steward rotations acted on, which is no longer a thing the tail does).

Check shippedOrLedger and openMembersTab still have live callers in the file after the deletion; if the steward legs were their last ones, they go the same way.

Then re-run pnpm lint on the branch and let ci.yml seam re-fire on the PR head.

Scope

This is product/test source on an open PR's branch, so the healer did not touch it (charter: product-class → file, never edit). No repair was attempted and nothing was pushed. PR #1984 carries no origin: app-report marker (checked through .sandcastle/body-marker-lib.sh, as do #1977/#1978/#1979), so no landing-pr inheritance applies here.

The swarm lock read free for the whole incident and worker-logs.txt was empty — no worker was in the run window.

Filed by the swarm healer from CI run [35421](https://git.matou.nz/Matou/idss/actions/runs/35421) (`seam`, ci.yml, `pull_request`), head `af7ba1db` on `session/member-credentials-names-admin-card` — the branch of **PR #1984**. `main` is green (run 35409 seam success); this red is the PR branch only. ## The fault `pnpm lint` exits 1 with two `@typescript-eslint/no-unused-vars` errors in `app/tests/e2e/journey.idip.debug.spec.ts`: ``` 38:3 error 'memberRow' is defined but never used. Allowed unused vars must match /^_/u 81:7 error 'FOUNDING_MEMBER_NAME' is assigned a value but never used. Allowed unused vars must match /^_/u ✖ 2 problems (2 errors, 0 warnings) ELIFECYCLE Command failed with exit code 1. ``` `tsc` and `vitest` are clean. The two other lines in the run verdict are console noise from **passing** tests — the happy-dom `NetworkError` on `http://localhost:3000/idip/keri-web.js` is emitted inside the green `#1456` stale-pooled-socket seam, and `[i18n] missing key "kit.errorState.thisKeyDoesNotExist"` is a deliberate fixture key. eslint is the sole driver of the exit 1. ## Root cause PR #1984 removes "Make a steward" from the control panel (Ben's ruling) and takes the drive's two steward legs with it (#1979). The diff `origin/main...af7ba1db` deletes 38 lines from the debug tail — the `debug: add-steward` and `debug: remove-steward` `test.step` blocks — and correctly drops the now-unused `promoteStewardAndCosign` / `demoteStewardAndCosign` imports. It misses two symbols whose **only** remaining uses were inside those two deleted blocks: - `memberRow` — the import at line 38; its last uses were the two `shippedOrLedger(memberRow(panel, FOUNDING_MEMBER_NAME), …)` calls in the deleted steps. - `FOUNDING_MEMBER_NAME` — the `const` at line 81 ('Hine Aroha'); its four uses were all in the deleted steps. Both identifiers now occur exactly once each in the file, at the reported line:col. Verified against the file as it stands at `af7ba1db`. ## The fix In `app/tests/e2e/journey.idip.debug.spec.ts` on `session/member-credentials-names-admin-card`: - drop `memberRow` from the `import { … }` block at the top, and - delete the `FOUNDING_MEMBER_NAME` const **together with its comment block** (lines 78–81 — the comment describes the member the steward rotations acted on, which is no longer a thing the tail does). Check `shippedOrLedger` and `openMembersTab` still have live callers in the file after the deletion; if the steward legs were their last ones, they go the same way. Then re-run `pnpm lint` on the branch and let ci.yml `seam` re-fire on the PR head. ## Scope This is product/test source on an open PR's branch, so the healer did not touch it (charter: product-class → file, never edit). No repair was attempted and nothing was pushed. PR #1984 carries no `origin: app-report` marker (checked through `.sandcastle/body-marker-lib.sh`, as do #1977/#1978/#1979), so no `landing-pr` inheritance applies here. The swarm lock read `free` for the whole incident and `worker-logs.txt` was empty — no worker was in the run window.
Author
Member

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

swarm-claim host=bens-mac-04 run=35445 (automated multi-host claim — lowest live claim id works this ticket)
matou-build-agent 2026-09-29 01:56:43 +00:00
Author
Member

close-report for #1986 — status success

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

envelope
{
  "issue": 1986,
  "status": "success",
  "commits": [],
  "changed_files": [],
  "tests": [
    {
      "command": "npx eslint tests/e2e/journey.idip.debug.spec.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "drop memberRow from the import block": "already done in 05079d2b (on origin/main via PR #1987); grep of app/tests/e2e/journey.idip.debug.spec.ts finds no `memberRow`",
    "delete FOUNDING_MEMBER_NAME const with its comment block": "already done in 05079d2b; grep finds no `FOUNDING_MEMBER_NAME`",
    "shippedOrLedger and openMembersTab still have live callers": "verified — both remain imported (lines 43,48) with many live callers (e.g. lines 200,244,245,260,295,355,436,462,478,530); correctly retained",
    "pnpm lint / eslint is green on the file": "npx eslint tests/e2e/journey.idip.debug.spec.ts exits 0"
  },
  "summary": "The two dead symbols were already removed in commit 05079d2b (PR #1987), now on origin/main; eslint is clean and shippedOrLedger/openMembersTab remain live.",
  "no_code_change": "The fix this ticket asks for already landed on origin/main in commit 05079d2b ('lint: drop two names the debug drive stopped using when its steward legs were removed', merged via PR #1987) before this iteration claimed the ticket. memberRow and FOUNDING_MEMBER_NAME are gone from app/tests/e2e/journey.idip.debug.spec.ts, eslint exits 0 on the file, and shippedOrLedger/openMembersTab still have live callers so they were correctly kept. Nothing remains to change.",
  "blockers": []
}
**close-report** for #1986 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1986, "status": "success", "commits": [], "changed_files": [], "tests": [ { "command": "npx eslint tests/e2e/journey.idip.debug.spec.ts", "exit_code": 0 } ], "criteria": { "drop memberRow from the import block": "already done in 05079d2b (on origin/main via PR #1987); grep of app/tests/e2e/journey.idip.debug.spec.ts finds no `memberRow`", "delete FOUNDING_MEMBER_NAME const with its comment block": "already done in 05079d2b; grep finds no `FOUNDING_MEMBER_NAME`", "shippedOrLedger and openMembersTab still have live callers": "verified — both remain imported (lines 43,48) with many live callers (e.g. lines 200,244,245,260,295,355,436,462,478,530); correctly retained", "pnpm lint / eslint is green on the file": "npx eslint tests/e2e/journey.idip.debug.spec.ts exits 0" }, "summary": "The two dead symbols were already removed in commit 05079d2b (PR #1987), now on origin/main; eslint is clean and shippedOrLedger/openMembersTab remain live.", "no_code_change": "The fix this ticket asks for already landed on origin/main in commit 05079d2b ('lint: drop two names the debug drive stopped using when its steward legs were removed', merged via PR #1987) before this iteration claimed the ticket. memberRow and FOUNDING_MEMBER_NAME are gone from app/tests/e2e/journey.idip.debug.spec.ts, eslint exits 0 on the file, and shippedOrLedger/openMembersTab still have live callers so they were correctly kept. Nothing remains to 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#1986
No description provided.