Skip to content

Record fetching backend per URL in run reports#306

Merged
probably-jaden merged 1 commit into
mainfrom
feat/report-backend-per-url
Jul 6, 2026
Merged

Record fetching backend per URL in run reports#306
probably-jaden merged 1 commit into
mainfrom
feat/report-backend-per-url

Conversation

@probably-jaden

@probably-jaden probably-jaden commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Each run-report row now records which backend fetched the URL (backend, empty when nothing was fetched). This makes it possible to see which sites need paid backends and attribute cost per domain. Note: on cache hits the backend comes from the original capture, so cost analysis should only count stored/deduped rows.

Add a "backend" field to each entry in reports/<run_id>.json: the
fetcher recorded on the stored capture (set for stored/deduped/
cache_hit outcomes, "" when nothing was fetched, e.g. errors). This
lets downstream tooling attribute per-domain cost by backend without
changing the cost estimation itself.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@probably-jaden probably-jaden merged commit 717b229 into main Jul 6, 2026
2 checks passed
@probably-jaden probably-jaden deleted the feat/report-backend-per-url branch July 6, 2026 13:06
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