Skip to content

fix(game-api): export lost tick records safely - #37

Merged
christopherjnelson merged 1 commit into
mainfrom
fix/0030-full-safe-lost-tick-export
Aug 23, 2026
Merged

fix(game-api): export lost tick records safely#37
christopherjnelson merged 1 commit into
mainfrom
fix/0030-full-safe-lost-tick-export

Conversation

@christopherjnelson

Copy link
Copy Markdown
Member

Summary

  • exempt lost-tick records from action/communication/diplomacy result-object requirements
  • cover lost ticks across Minimal, Standard, Full Safe, and validation-enabled Custom exports
  • prove the Full Safe API endpoint returns a valid schema-v10 document containing a lost tick

Root cause

The exporter correctly omitted result objects for lost ticks, but the shared export invariant required them whenever validation/results were included. Standard and Full Safe therefore threw an internal ZodError when lost ticks were selected.

Validation

Repository owner confirmed format, format check, lint, typecheck, tests, build, and Playwright all pass.

@christopherjnelson
christopherjnelson merged commit e12d759 into main Aug 23, 2026
2 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