Repository navigation
fix(reporting): align rc.4 timing and discovery - #2972
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — Reliable Reporting alignment to AdCP 3.2.0-rc.4.
No Critical/High/Medium findings. Reviewer verified: expected_at uniformly computed as period.end + delivery_sla across finalities; next_expected_at split into open vs complete forecasts reusing established coverage.ts ordinal/ownership logic; reporting tools bound to the mounted protocol pin (prevents leak into older releases); and a bundled/modular $id shadowing fix in the schema loader. Validation changes are symmetric across generated Zod, source generator, and hand-written guards with authoritative cross-checks. The patch changeset is defensible since the entire feature is gated behind rc.4.
Gate checks: no no-auto-approve team match; gated_paths is false (review_decision REVIEW_REQUIRED does not trigger row 2 without gated paths); high_risk is false. No rows 1–8 fire → row 9 approve.
Summary
3.2.0-rc.4: complete summaries forecast the nearest future active period start strictly afterledger_as_of, while open summaries and obligations useperiod.end + delivery_slanext_expected_atabsent from completeperiodsresponses without weakening complete-scope guards$idPR #2971 synchronized the rc.4 artifacts. This follow-up corrects the runtime semantics and discovery behavior needed to use those artifacts truthfully. It references #2970; publication and cross-language qualification remain separate gates.
Regression coverage
scope_closed/coverage_completenegatives_bundleddocument and$defsLocal verification
Exact head:
9b55020d8c79cc4b16e59d376552b1eaf49ecc05npm run ci:quick— exit 0; log SHA-25625b5c0c5ffe76f82739b16cde81487e3e05cdd034a91b50a82aaab755001f77anpm run ci:schema-check— exit 0npm run ci:codegen-strict— exit 0npm run ci:docs-check— exit 0npm run ci:doc-links— exit 0test/lib/reporting-status-ingest-pg.test.js— 19 passed, 0 failed; log SHA-2564efe54795a30b95f9b3cdb19dce6dd50a86aecde54749e54373f53b007c470e1The first local PG invocation used the generic
DATABASE_URLrather than this suite'sREPORTING_LEDGER_PG_URL; it skipped cleanly and is retained as an invocation diagnostic. The corrected complete file passed on the unchanged head. Protected PostgreSQL CI remains mandatory.Remote verification
Example Adapter Integration Testsattempt had one mockfetch failedin the audio creative-template scenario while the other 62 tests passed; its original log is retainedTest & BuildScope
This PR does not publish a package, qualify a TypeScript/Python interoperability pin, or authorize downstream integration/release.
Refs #2970