Skip to content

Reuse event classification in paid-offer reports - #208

Merged
github-actions[bot] merged 1 commit into
mainfrom
ship/reporting-latency-0915
Sep 15, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
ship/reporting-latency-0915

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The paid-offer report scans more than 100,000 historical entries and repeatedly classified the same event while deciding eligibility and explaining exclusions. Its live request exceeded the 30-second contract-probe timeout during PR205's release, although unchanged recertification later passed.

Reuse the current event's classification for eligibility and exclusion checks. Historical ownership upgrades to AG_INTERNAL retain the original raw-event label path. No classifications or reports are cached across events or requests, so ownership corrections affect the next read immediately.

Validation: complete reports are identical for a 107,370-event synthetic history. Five runs per version measured median CPU time falling from 1.564s to 1.100s (30%) and wall time from 1.873s to 1.124s (40%); this is a local benchmark, not a production latency guarantee. 67 focused tests passed on each storage backend, including 432 mixed historical cases, exact incident-window boundaries and later ownership corrections. Full local suites passed 2,217 JSON and 2,218 SQLite cases; their sole loopback-permission failure passed separately with permission. All protected remote checks and live certification must pass before the release is considered complete.

@github-actions
github-actions Bot merged commit 55c76ac into main Sep 15, 2026
28 checks passed
@github-actions
github-actions Bot deleted the ship/reporting-latency-0915 branch September 15, 2026 18:03
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