Skip to content

Review of 25 Nov: summation colours, the page's header, a page closed, the comparison's claim - #273

Merged
adamjohnwright merged 2 commits into
mainfrom
review25/fixes
Nov 25, 2026
Merged

adamjohnwright merged 2 commits into
mainfrom
review25/fixes

Conversation

@adamjohnwright

@adamjohnwright adamjohnwright commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes from the 25 Nov review of pdf-export's work since #236.

  • Summation colours (src/model/rules.ts): only red, by name in any case, in a <font color> is printed in the theme's red, as release 98's summations write it. Another colour, or red written as a number, is not. The project writes no colour value in its own code (SC-009), so red is matched by name only. Tested, and seen failing without the fix.
  • Waiting page (src/report/route.ts): a browser's waiting page no longer carries Preference-Applied, as contracts/service.md says. Tested on serviceError directly (test/report/route.test.ts), seen failing without the fix, and through the service (jobs.test.ts, on the fixture graph in CI).
  • Print (src/print/print.ts): a page whose request routing fails to set up is still closed. This one has no test, since a failing page.route needs a browser that goes away between two calls.
  • Spec 001:
    • differences.md no longer claims the comparison exits 1 on anything new. 13 of expected-98.json's 23 records cover a kind of difference whole, so a later loss of some references or contents entries would still pass.
    • New task T046 narrows those records to release 98's events, from the next full comparison run.
  • Spec 002: T029's note names the file and the tests as they are.

🤖 Generated with Claude Code

adamjohnwright and others added 2 commits November 25, 2026 13:09
…osed

- Only red (by name, #f00 or #ff0000) in a summation's <font color> is
  printed in the theme's red; another colour is not.
- A browser's waiting page carries no Preference-Applied, as
  contracts/service.md says; tested on serviceError directly as well as
  through the service.
- A page whose request routing fails to set up is still closed.
- differences.md no longer says the comparison exits 1 on anything new:
  13 of expected-98.json's 23 records cover a kind of difference whole.
  T046 narrows them. T029's note names the file and the tests as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…(SC-009)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit 76a2c3e into main Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant