ci: main is red — bare drill in literal in FleetServicesStatusScreen.vue closes the host TS lint gate for every TS push #2194

Closed
opened 2026-11-17 13:33:10 +00:00 by matou-build-agent · 3 comments

main is red and the host pre-push TS gate is closed for every TypeScript push.

The fault

eslint . fails with one error on main at 3f1aabe8:

dashboard/src/components/monitoring/FleetServicesStatusScreen.vue
  137:10  error  Bare user-facing text 'drill in' in a control-panel template — extract it
  to a `panel.<area>.*` key and render it through `t('panel.…')` / `$t` (ADR 0232)
  oc-i18n/no-bare-literal
✖ 1 problem (1 error, 0 warnings)

Everything else in the ci run is green: tsc built, 183 test files / 2343 tests passed.
Run: https://git.matou.nz/Matou/idss/actions/runs/66391

Root cause

Merge 3f1aabe8 ("Merge PR #1905: no backup copy yet is ONE Backups alert, re-landed on
top of #1976") added a new otherServiceAlerts block to
FleetServicesStatusScreen.vue. That block is a copy of the faultedDevices block
above it, including its drill-in button — but it carries the raw literal drill in,
where the block above renders {{ t('panel.operations.monitoring.fleetStatus.drillIn') }}.

PR #1905 was authored 2026-09-25, before the bare-literal lint widened to every
control-panel template (5e6deadc, 2026-11-02) and before the monitoring i18n pass
(#2140, a93458c1, 2026-11-04). The i18n pass could not extract a literal that was not
yet on main, and the re-land on top of it did not re-apply the extraction.

The server-side merge does not run the .sandcastle/git-hooks/pre-push TS gate, so the
break reached main un-gated.

Why this blocks the swarm

.sandcastle/ts-gate.sh runs eslint . over the whole tree, and Gate 2 of
pre-push fires whenever the pushed range touches TypeScript. So this pre-existing
main-tip violation reddens any TS push — swarm, session or human — not just the ci
workflow.

The fix

One line in dashboard/src/components/monitoring/FleetServicesStatusScreen.vue
(~line 138), inside the otherServiceAlerts drill-in button:

-          drill in
+          {{ t('panel.operations.monitoring.fleetStatus.drillIn') }}

The key already exists in all five catalogues
(dashboard/src/i18n/operations/monitoring/{en,es,fr,nl,pt}.ts → drillIn), and t is
already in scope in this component, so no catalogue or import change is needed and key
parity stays green.

Acceptance criteria

  • pnpm lint is clean on main.
  • The Services alert box renders the drill-in action for an otherServiceAlerts row in
    the active locale (same string as the faultedDevices row's action).
  • dashboard/tests/unit/monitoringStatus.test.ts still passes unchanged — it selects
    the button by [data-action="drill-in"], never by its text, so the extraction is
    test-safe.

Scope

Lint/i18n only. Do not change the otherServiceAlerts classifier logic or DDR 0265
behaviour that #1905 landed — that merge's tests pass.


Filed by the swarm healer (heal run heal-Matou-idss-1794922233-1009702, signature
5e2f2fea2911). Product-class: the healer does not touch dashboard/ sources.

`main` is red and the host pre-push TS gate is closed for every TypeScript push. ## The fault `eslint .` fails with one error on `main` at 3f1aabe8: ``` dashboard/src/components/monitoring/FleetServicesStatusScreen.vue 137:10 error Bare user-facing text 'drill in' in a control-panel template — extract it to a `panel.<area>.*` key and render it through `t('panel.…')` / `$t` (ADR 0232) oc-i18n/no-bare-literal ✖ 1 problem (1 error, 0 warnings) ``` Everything else in the `ci` run is green: tsc built, 183 test files / 2343 tests passed. Run: https://git.matou.nz/Matou/idss/actions/runs/66391 ## Root cause Merge 3f1aabe8 ("Merge PR #1905: no backup copy yet is ONE Backups alert, re-landed on top of #1976") added a new `otherServiceAlerts` block to `FleetServicesStatusScreen.vue`. That block is a copy of the `faultedDevices` block above it, including its drill-in button — but it carries the **raw literal** `drill in`, where the block above renders `{{ t('panel.operations.monitoring.fleetStatus.drillIn') }}`. PR #1905 was authored 2026-09-25, **before** the bare-literal lint widened to every control-panel template (5e6deadc, 2026-11-02) and before the monitoring i18n pass (#2140, a93458c1, 2026-11-04). The i18n pass could not extract a literal that was not yet on `main`, and the re-land on top of it did not re-apply the extraction. The server-side merge does not run the `.sandcastle/git-hooks/pre-push` TS gate, so the break reached `main` un-gated. ## Why this blocks the swarm `.sandcastle/ts-gate.sh` runs `eslint .` over the **whole tree**, and Gate 2 of `pre-push` fires whenever the pushed range touches TypeScript. So this pre-existing main-tip violation reddens *any* TS push — swarm, session or human — not just the `ci` workflow. ## The fix One line in `dashboard/src/components/monitoring/FleetServicesStatusScreen.vue` (~line 138), inside the `otherServiceAlerts` drill-in button: ``` - drill in + {{ t('panel.operations.monitoring.fleetStatus.drillIn') }} ``` The key already exists in all five catalogues (`dashboard/src/i18n/operations/monitoring/{en,es,fr,nl,pt}.ts` → `drillIn`), and `t` is already in scope in this component, so no catalogue or import change is needed and key parity stays green. ## Acceptance criteria - `pnpm lint` is clean on `main`. - The Services alert box renders the drill-in action for an `otherServiceAlerts` row in the active locale (same string as the `faultedDevices` row's action). - `dashboard/tests/unit/monitoringStatus.test.ts` still passes unchanged — it selects the button by `[data-action="drill-in"]`, never by its text, so the extraction is test-safe. ## Scope Lint/i18n only. Do not change the `otherServiceAlerts` classifier logic or DDR 0265 behaviour that #1905 landed — that merge's tests pass. --- Filed by the swarm healer (heal run `heal-Matou-idss-1794922233-1009702`, signature `5e2f2fea2911`). Product-class: the healer does not touch `dashboard/` sources.
Author
Member

swarm-claim host=matou-dev-server-01 run=66399
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=66399 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

⏩ independent reviewer for #2194 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2194 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>
Author
Member

close-report for #2194 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261117-133937-6e9d70 (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2194,
  "status": "success",
  "commits": [
    "b2d4ffed8add8385a51cf934805bb8c2d2223db4"
  ],
  "changed_files": [
    "dashboard/src/components/monitoring/FleetServicesStatusScreen.vue"
  ],
  "tests": [
    {
      "command": "npx eslint .",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/monitoringStatus.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm lint is clean on main": "npx eslint . over the dashboard tree exits 0 at b2d4ffed; the lone main-tip violation is removed",
    "Services alert box renders the drill-in action for an otherServiceAlerts row in the active locale (same string as faultedDevices row)": "FleetServicesStatusScreen.vue line 138 now renders t('panel.operations.monitoring.fleetStatus.drillIn'), identical to the faultedDevices row at line 113",
    "monitoringStatus.test.ts still passes unchanged": "npx vitest run tests/unit/monitoringStatus.test.ts — 19/19 pass; selects button by [data-action=\"drill-in\"], not text"
  },
  "summary": "Extracted the bare `drill in` literal in FleetServicesStatusScreen.vue's otherServiceAlerts block to the existing drillIn i18n key, re-greening main's lint gate.",
  "blockers": []
}
**close-report** for #2194 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261117-133937-6e9d70` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2194, "status": "success", "commits": [ "b2d4ffed8add8385a51cf934805bb8c2d2223db4" ], "changed_files": [ "dashboard/src/components/monitoring/FleetServicesStatusScreen.vue" ], "tests": [ { "command": "npx eslint .", "exit_code": 0 }, { "command": "npx vitest run tests/unit/monitoringStatus.test.ts", "exit_code": 0 } ], "criteria": { "pnpm lint is clean on main": "npx eslint . over the dashboard tree exits 0 at b2d4ffed; the lone main-tip violation is removed", "Services alert box renders the drill-in action for an otherServiceAlerts row in the active locale (same string as faultedDevices row)": "FleetServicesStatusScreen.vue line 138 now renders t('panel.operations.monitoring.fleetStatus.drillIn'), identical to the faultedDevices row at line 113", "monitoringStatus.test.ts still passes unchanged": "npx vitest run tests/unit/monitoringStatus.test.ts — 19/19 pass; selects button by [data-action=\"drill-in\"], not text" }, "summary": "Extracted the bare `drill in` literal in FleetServicesStatusScreen.vue's otherServiceAlerts block to the existing drillIn i18n key, re-greening main's lint gate.", "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#2194
No description provided.