You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reporting: publish allow_partial generations over the covered package denominator #1961
AdCP 3.2 reporting-delivery-config.coverage_requirement admits full and allow_partial. Under allow_partial, a seller publishes revisions over the explicitly covered package denominator. Coverage status stays partial, and covered-subset totals are never presented as whole-buy totals (reporting-coverage.json aggregation rule, reporting-revision.json x-adcp-validation coverage).
On next (10.0.0b24), the ledger producer can only serve full:
ReportingConfiguration has no coverage_requirement.
producer._withheld withholds every account obligation whose coverage is not full.
The source slice request asks for every frozen buy with expected="full".
Nothing checks that committed rows cover only covered_package_ids.
status_projection raises REPORTING_COVERAGE_INCOMPLETE / action_required for any non-full obligation, whatever the requirement.
A seller whose per-buy roster proves some buys but not others (for example an all_media_buys account-day with one buy of unknown coverage) therefore cannot publish the provable buys.
Proposal
Add ReportingConfiguration.coverage_requirement: Literal["full", "allow_partial"] = "full" and give it the following behaviour.
Persistence. It is persisted and part of the generation content hash. It is omitted when full, so existing configurations keep identical bytes and hashes.
Publication. Under allow_partial, the producer publishes when the frozen coverage has a covered item. The source is asked only for the covered denominator, and the committed rows are verified to cover only covered packages.
Status. Under allow_partial, the status projection does not escalate a partial obligation. Coverage stays partial on the obligation and the revision.
No change elsewhere.full and explicit-scope behaviour stay byte-identical.
Activity
feat(reporting): publish allow_partial periods over the covered denom…