Skip to content

Review package 22: course and print correctness - #276

Merged
ellmkay merged 11 commits into
mainfrom
claude/project-thread-1b084m
Nov 27, 2026
Merged

ellmkay merged 11 commits into
mainfrom
claude/project-thread-1b084m

Conversation

@ellmkay

@ellmkay ellmkay commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Requested by Marcus · project thread

Fix package 22 from the November full code review (docs/reviews/2026-11-full-review.md): CRS-002, CRS-009, CRS-010, CRS-024, EVT-07, WEB-09 (+ the WEB-70 forked E2E gap). Open D5 printing questions take the planner's recommended defaults, recorded in the specs and decision-log rows (decisions/slice-c.md, slice-f.md, slice-j.md).

Changes

  • EVT-07: .ppen export writes valued boolean attributes, so the XML is well-formed (validated in the test).
  • CRS-024: an unplaced control takes its sequence number and draws nothing, so map numbers match the description sheet.
  • CRS-010: a missing graphic that replaces a drawn control's circle or number fails the print (PrintGraphicMissingError, 400; the device falls back to the server; offline prepare skips that job and continues). Other missing graphics still warn.
  • CRS-009: description sheets print one block per variant of a forked course (<class> <key>), copies per variant, vacancies and variant-less runners allotted least-populated-first; courses=<child> resolves through its parent.
  • CRS-002: setter maps report controls that are in no setter map (setter.unassigned, setter_unassigned issue, warning in Layout and Field mode, "Add to nearest setter map" via new layout.adoptToSetters); ?setter=1 print answers 400 naming them. A removed course's setter maps report nothing.
  • WEB-09: a class has one course: single-select picker, nothing sent when unchanged, confirm with the runner count. Server: changing a class's course never clears or re-deals the variant of a runner who has raced; syncClassPool runs only when the course actually changed (read inside the transaction).

No migration. Follow-ups: docs/bugfixes/course-print-followups.md; bugfix note: docs/bugfixes/course-print-correctness.md.

Verification (cloud container)

  • pnpm test: shared 2586, api 1508 (+110 skipped), web 2666, all green. pnpm build 0 errors, pnpm lint 0 errors.
  • Integration: descriptions-pdf, setter-maps, print-job, variant-pages, runner-variants, class, course-variants: pass.
  • E2E (selective): classes, course-editor-layout, field-mode, course-maps, map-control-circles, course-editor, courses: pass. Full suite and preview left to CI.
  • Plan, spec review and code review on Fable as fresh subagents; findings fixed in b584615.
  • Docker: stack bring-up left to the main checkout.

PR #254 should conflict only trivially (its files were avoided; decisions/slice-f.md will show two appended rows, keep both).


Generated by Claude Code

…ils the print

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
… nearest setter map

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
… who has raced keeps her variant

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
…ix notes)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
…e skips uncomposable jobs, stronger tests, docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
…t with no parseable setter map

The worker now carries the error's name, so the offline store step skips a
job only for PrintGraphicMissingError (CRS-010); a worker that fails to start
stays an OfflinePrepareError. layout.adoptToSetters returns nothing when no
setter map of the scope parses instead of throwing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
…e main thread

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DoDZtGdeTjLNYWYdCEm87
@ellmkay
ellmkay merged commit 7e6c365 into main Nov 27, 2026
13 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.

2 participants