dashboard: SigninSettings.vue styles its sign-in block with a raw rgba() literal — CI red on the #137 theming seam #1609

Closed
opened 2026-09-18 21:39:33 +00:00 by matou-build-agent · 4 comments

CI is red on main — run https://git.matou.nz/Matou/idss/actions/runs/26950, stage TypeScript: build (tsc), test (vitest), lint (eslint), exit 1.

FAIL tests/unit/themingDashboardCore.test.ts > dashboard core surfaces are hex-free and token-themed (issue #137)
  > members > SigninSettings.vue: no other hard-coded colour literal in its styling
AssertionError: expected [ 'rgba(' ] to deeply equal []
  at tests/unit/themingDashboardCore.test.ts:78:54

1 failed | 1726 passed | 3 skipped.

What is wrong

dashboard/src/components/members/SigninSettings.vue:157 styles the sign-in
block with a raw colour literal instead of an --oc-* token:

.oc-signin {
  background: rgba(0, 0, 0, 0.045);
}

That breaks the theming seam from issue #137: every colour on the
shell/members/monitoring/provisioning surfaces must be a var(--oc-*) token
(directly or via a color-mix over one) or an inheriting keyword, so changing
the community colour re-themes the surface live. A fixed rgba(0, 0, 0, …)
does not re-theme, and goes black-on-black under a dark token set.

It is the only offender — a scan of every .vue under shell/,
members/, monitoring/ and provisioning/ using the test's own regexes
finds this one hit and nothing else.

Where it came from

Introduced by fb8a1516 ("sandcastle: #1528 — sign-in S6: the App-only setting
and its one row on the Members surface"), which added the file with the literal
on its first commit. It was not introduced by #1530 / b561319d — that
slice's worker log records "this slice adds no dashboard change".

It reached main unnoticed because CI never finished on the commits between:
runs 26920 (fb8a1516), 26922, 26931, 26934, 26937, 26942 and 26944 were all
cancelled by the concurrency chain as the next push landed. Run 26950 is the
first run since fb8a1516 to reach the test stage, and it caught it.

Suggested fix

Use the surrounding members idiom — a color-mix over a token, e.g.
background: color-mix(in srgb, currentColor 4%, transparent); or a mix over
var(--oc-panel) / var(--oc-surface) matching the intended subtle fill.
dashboard/src/components/members/*.vue already uses both forms.

Acceptance: pnpm --filter @idss/dashboard test is green — in particular
themingDashboardCore.test.ts "SigninSettings.vue: no other hard-coded colour
literal in its styling" — and the row still reads as a distinct block on the
Members surface under the default token set.


Filed by the swarm healer. Incident signature 012edbb24d2b, heal run
heal-Matou-idss-1789767458-1193637. Product-class fault: no code was changed
by the healer.

**CI is red on `main`** — run https://git.matou.nz/Matou/idss/actions/runs/26950, stage `TypeScript: build (tsc), test (vitest), lint (eslint)`, exit 1. ``` FAIL tests/unit/themingDashboardCore.test.ts > dashboard core surfaces are hex-free and token-themed (issue #137) > members > SigninSettings.vue: no other hard-coded colour literal in its styling AssertionError: expected [ 'rgba(' ] to deeply equal [] at tests/unit/themingDashboardCore.test.ts:78:54 ``` 1 failed | 1726 passed | 3 skipped. ## What is wrong `dashboard/src/components/members/SigninSettings.vue:157` styles the sign-in block with a raw colour literal instead of an `--oc-*` token: ```css .oc-signin { background: rgba(0, 0, 0, 0.045); } ``` That breaks the theming seam from issue #137: every colour on the shell/members/monitoring/provisioning surfaces must be a `var(--oc-*)` token (directly or via a `color-mix` over one) or an inheriting keyword, so changing the community colour re-themes the surface live. A fixed `rgba(0, 0, 0, …)` does not re-theme, and goes black-on-black under a dark token set. It is the **only** offender — a scan of every `.vue` under `shell/`, `members/`, `monitoring/` and `provisioning/` using the test's own regexes finds this one hit and nothing else. ## Where it came from Introduced by `fb8a1516` ("sandcastle: #1528 — sign-in S6: the App-only setting and its one row on the Members surface"), which added the file with the literal on its first commit. It was **not** introduced by #1530 / `b561319d` — that slice's worker log records "this slice adds no dashboard change". It reached `main` unnoticed because CI never finished on the commits between: runs 26920 (`fb8a1516`), 26922, 26931, 26934, 26937, 26942 and 26944 were all **cancelled** by the concurrency chain as the next push landed. Run 26950 is the first run since `fb8a1516` to reach the test stage, and it caught it. ## Suggested fix Use the surrounding members idiom — a `color-mix` over a token, e.g. `background: color-mix(in srgb, currentColor 4%, transparent);` or a mix over `var(--oc-panel)` / `var(--oc-surface)` matching the intended subtle fill. `dashboard/src/components/members/*.vue` already uses both forms. Acceptance: `pnpm --filter @idss/dashboard test` is green — in particular `themingDashboardCore.test.ts` "SigninSettings.vue: no other hard-coded colour literal in its styling" — and the row still reads as a distinct block on the Members surface under the default token set. --- *Filed by the swarm healer. Incident signature `012edbb24d2b`, heal run `heal-Matou-idss-1789767458-1193637`. Product-class fault: no code was changed by the healer.*
Author
Member

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

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

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

swarm-claim host=bens-mac-04 run=26687 (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)
matou-build-agent 2026-09-18 21:54:32 +00:00
Author
Member

close-report for #1609 — status success

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

envelope
{
  "issue": 1609,
  "status": "success",
  "commits": [],
  "changed_files": [],
  "tests": [
    {
      "command": "CI=true pnpm --filter @idss/dashboard test -- themingDashboardCore",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm --filter @idss/dashboard test is green — themingDashboardCore.test.ts 'SigninSettings.vue: no other hard-coded colour literal in its styling'": "Ran `CI=true pnpm --filter @idss/dashboard test -- themingDashboardCore` → 156 tests passed, 0 failed; the named case is green. A `grep -nE '\\b(rgb|rgba|hsl|hsla)\\(' ` over shell/members/monitoring/provisioning returns no matches.",
    "the row still reads as a distinct block on the Members surface under the default token set": "SigninSettings.vue:168 (on origin/main @ 0425c095) styles `.oc-signin` with `background: color-mix(in srgb, currentColor 4.5%, transparent);` — the same subtle token-derived tint the members idiom uses, so the SIGN-IN box remains a distinct block and re-themes with the community colour."
  },
  "summary": "The raw rgba() literal in SigninSettings.vue was already replaced with the members color-mix idiom by commit 0425c095 (#1529), now the tip of origin/main; themingDashboardCore is green and the theming seam holds.",
  "reason": "The offending line reached main via fb8a1516 but was independently fixed by 0425c095 (#1529, sign-in S7), which edited the same file for its own reasons and turned `background: rgba(0, 0, 0, 0.045)` into `background: color-mix(in srgb, currentColor 4.5%, transparent)`. That commit is already on origin/main, so the fault no longer exists and no new commit is warranted.",
  "blockers": [],
  "no_code_change": "The literal was already removed by 0425c095 (#1529) before this heal ticket could be re-run; origin/main HEAD is that commit and the theming test is green there. Adding a redundant commit would change nothing."
}
**close-report** for #1609 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1609, "status": "success", "commits": [], "changed_files": [], "tests": [ { "command": "CI=true pnpm --filter @idss/dashboard test -- themingDashboardCore", "exit_code": 0 } ], "criteria": { "pnpm --filter @idss/dashboard test is green — themingDashboardCore.test.ts 'SigninSettings.vue: no other hard-coded colour literal in its styling'": "Ran `CI=true pnpm --filter @idss/dashboard test -- themingDashboardCore` → 156 tests passed, 0 failed; the named case is green. A `grep -nE '\\b(rgb|rgba|hsl|hsla)\\(' ` over shell/members/monitoring/provisioning returns no matches.", "the row still reads as a distinct block on the Members surface under the default token set": "SigninSettings.vue:168 (on origin/main @ 0425c095) styles `.oc-signin` with `background: color-mix(in srgb, currentColor 4.5%, transparent);` — the same subtle token-derived tint the members idiom uses, so the SIGN-IN box remains a distinct block and re-themes with the community colour." }, "summary": "The raw rgba() literal in SigninSettings.vue was already replaced with the members color-mix idiom by commit 0425c095 (#1529), now the tip of origin/main; themingDashboardCore is green and the theming seam holds.", "reason": "The offending line reached main via fb8a1516 but was independently fixed by 0425c095 (#1529, sign-in S7), which edited the same file for its own reasons and turned `background: rgba(0, 0, 0, 0.045)` into `background: color-mix(in srgb, currentColor 4.5%, transparent)`. That commit is already on origin/main, so the fault no longer exists and no new commit is warranted.", "blockers": [], "no_code_change": "The literal was already removed by 0425c095 (#1529) before this heal ticket could be re-run; origin/main HEAD is that commit and the theming test is green there. Adding a redundant commit would change nothing." } ``` </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#1609
No description provided.