Repository navigation
Verify published fan comment dates against the authorized response - #1058
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
The new fan
last_comment_atresponse needs a public schema/example that preserves unknown dates. This documentation companion freezes Marketing's resolved ArtistFans schema and synthetic known/unknown example, and adds four tests against the actual GET route and real validation/projection with mocked access/storage. Matching comment dates survive, missing/mismatched evidence remains null, object/array joins work, and invalid numeric dates fail the published schema.API #1057 already implements the response. This PR changes only the shared documentation fixture and its tests; runtime behavior is unchanged. The public property remains optional nullable string/date-time. The matching Marketing PR follows this source; after its actual merge, retained Docs will be generated separately. This supports Last heard without restoring GET /api/comments, returning comment bodies or claiming exhaustive/live history. Tracks recoupable/mono#327 and recoupable/app#2023.
Validation: all 77 fan/contract tests across 14 files pass; the four new checks fail before the fixture correction. Response-constructor type check, scoped ESLint, formatting and whitespace pass. The new route cases keep real validation/projection while mocking authentication/storage; existing fans access-denial tests also pass. No customer comment read, live provider call, charge, write, migration or manual deployment.
Current companion head:
eb439132(the optional-property assertion also typechecks with the inferred JSON fixture). Full repository TypeScript does not pass: diagnostics remain outside the changed contract test; no diagnostic names the changed test. The focused response-constructor type check passes. Marketing #197 supplies the matching maintained source and currently pins this review head; refresh it to the actual API merge before release.