fix(tasks): the row's check outline keeps 3:1 on the grey paper (tasks-contrast.spec, train 16 Nov 4) #1187

Open
kayg wants to merge 1 commit from fix/train-1116-3 into dev
Owner

Daily train 16 Nov (4): tasks-contrast.spec.ts:15 (check outline 3:1)

Failure: tasks-contrast.spec.ts:15 ("the sidebar, the list and the priority chips keep their contrast at every sky hour"), contrast project (Chromium x86, dev-01): 1440/light/dawn: 2.75 (needs 3) check outline and 2.92, the task rows' tick-box ring.

Reproduces on the train, not on prod (3 fresh runs each, one server per run, contrast project, --no-deps): dev ea57b84b9 0/3 passed, same two lines every time; prod a66f8ac7c 3/3 passed. (A --repeat-each on this spec is not a valid check: later repeats pile tasks onto the same server and fail on prod too.)

Cause: #1177 (grey paper) moved --ink-3 from #675e55 to #6b6b6b; the row's ring uses --check-border: var(--ink-3) on glass, and the lighter grey fell under 3:1 against the dawn sky.

Fix: TaskRow.svelte ring = var(--glass-ink-4) (#626262 light / #aeaeae dark, the ink the tokens already define for faint marks on glass). One line plus its comment. The ring is a touch darker in light and a touch lighter in dark, the same hierarchy as before.

Gates (dev-01, ~/bin/slot, server binary = dev ea57b84b9 debug build, branch head d9da1d1c5):

  • bunx playwright test e2e/tasks-contrast.spec.ts --project=contrast --no-deps --workers=1 --retries=0, 3 fresh runs: 3/3 pass.
  • bunx playwright test e2e/tasks --project=chromium-1440 and --project=chromium-390 (all tasks* specs): exit 0 both.

Found by the daily train (4), issue #TRAINISSUE.

🤖 Generated with Claude Code

## Daily train 16 Nov (4): tasks-contrast.spec.ts:15 (check outline 3:1) **Failure:** `tasks-contrast.spec.ts:15` ("the sidebar, the list and the priority chips keep their contrast at every sky hour"), `contrast` project (Chromium x86, dev-01): `1440/light/dawn: 2.75 (needs 3) check outline` and `2.92`, the task rows' tick-box ring. **Reproduces on the train, not on prod** (3 fresh runs each, one server per run, `contrast` project, `--no-deps`): dev `ea57b84b9` 0/3 passed, same two lines every time; prod `a66f8ac7c` 3/3 passed. (A `--repeat-each` on this spec is not a valid check: later repeats pile tasks onto the same server and fail on prod too.) **Cause:** #1177 (grey paper) moved `--ink-3` from `#675e55` to `#6b6b6b`; the row's ring uses `--check-border: var(--ink-3)` on glass, and the lighter grey fell under 3:1 against the dawn sky. **Fix:** `TaskRow.svelte` ring = `var(--glass-ink-4)` (`#626262` light / `#aeaeae` dark, the ink the tokens already define for faint marks on glass). One line plus its comment. The ring is a touch darker in light and a touch lighter in dark, the same hierarchy as before. **Gates (dev-01, `~/bin/slot`, server binary = dev `ea57b84b9` debug build, branch head `d9da1d1c5`):** - `bunx playwright test e2e/tasks-contrast.spec.ts --project=contrast --no-deps --workers=1 --retries=0`, 3 fresh runs: 3/3 pass. - `bunx playwright test e2e/tasks --project=chromium-1440` and `--project=chromium-390` (all `tasks*` specs): exit 0 both. Found by the daily train (4), issue #TRAINISSUE. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tasks: the row's check outline uses the glass ink, 3:1 again on the grey paper (tasks-contrast.spec, #1177)
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
d9da1d1c50
tasks-contrast.spec.ts:15 failed 3 of 3 fresh runs on dev ea57b84b9 (1440/light/dawn: 2.75 and 2.92, needs 3) and passed 3 of 3 on prod a66f8ac7c.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Some checks failed
CI / server (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / web (pull_request) Has been cancelled
Markdown extraction contract / markdown-native-contract (pull_request) Has been cancelled
Markdown extraction contract / markdown-editor-contract (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/train-1116-3:fix/train-1116-3'
git switch 'fix/train-1116-3'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'dev'
git merge --no-ff 'fix/train-1116-3'
git switch 'fix/train-1116-3'
git rebase 'dev'
git switch 'dev'
git merge --ff-only 'fix/train-1116-3'
git switch 'fix/train-1116-3'
git rebase 'dev'
git switch 'dev'
git merge --no-ff 'fix/train-1116-3'
git switch 'dev'
git merge --squash 'fix/train-1116-3'
git switch 'dev'
git merge --ff-only 'fix/train-1116-3'
git switch 'dev'
git merge 'fix/train-1116-3'
git push origin 'dev'
Sign in to join this conversation.
No reviewers
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
kayg/calternal!1187
No description provided.