Skip to content

fix(backlinks): keep subdomain overview without history - #299

Open
shashank-sn wants to merge 1 commit into
every-app:mainfrom
shashank-sn:codex/fix-subdomain-backlinks-overview
Open

fix(backlinks): keep subdomain overview without history#299
shashank-sn wants to merge 1 commit into
every-app:mainfrom
shashank-sn:codex/fix-subdomain-backlinks-overview

Conversation

@shashank-sn

Copy link
Copy Markdown

Fixes #291.

Backlink history does not support the include_subdomains scope used by subdomain-inclusive summaries. Requesting both together caused a history failure to discard a valid summary and replace the whole Overview page with an error.

The overview service now requests history only for root-domain lookups. Subdomain and exact-URL summaries return with empty trend arrays, which uses the existing unavailable-history UI and avoids an unsupported billed request.

Regression coverage verifies that:

  • subdomain summaries remain available and cache normally without a history request;
  • summary failures remain fatal;
  • root-domain history failures still propagate and are not cached.

Validation:

  • 139 test files and 1,168 tests passed
  • Prettier, Knip, TypeScript, badseo TypeScript, Oxlint, and plugin synchronization passed
  • worker build passed
  • website type check and prerender build passed

Docker image verification was not run because the local Docker daemon is unavailable.

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.

Backlinks Overview fails completely for subdomains

1 participant