Repository navigation
IndexNow: explain the key-verification 403 and send 5,000 URLs a day - #1897
Merged
David Pine (IEvangelist) merged 2 commits intoOct 16, 2026
Merged
Conversation
While IndexNow verifies a new or rotated key it answers 403 SiteVerificationNotCompleted, even though the key file is live. The run still fails on purpose, so a green run always means the URLs were accepted. The message now says that IndexNow is still verifying the key instead of telling the reader to check a key file the run had already confirmed. The state artifact upload now replaces the one a failed first attempt left behind, so re-running the workflow does not end in a 409 conflict. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b270b5cd-dd67-4ff9-a153-a85e8c45d5e0
The daily rotation budget goes from 1,000 to 5,000, so a pass over the 32,000-URL sitemap takes about a week instead of about a month. The release budget stays at 10,000, which is IndexNow's per-request maximum, and a manual run can still set a limit up to 10,000. A 429 still fails the run, and its message points at lowering the budgets in config/indexnow.json. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b270b5cd-dd67-4ff9-a153-a85e8c45d5e0
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are focused and supported by regression coverage, with no unresolved findings; tests were not rerun during this review.
0 open findings
What changed in this PR
Improves IndexNow retry guidance and increases daily sitemap coverage while preserving failure behavior.
Changes:
- Explain pending key verification and test failure, state preservation, and retry behavior.
- Allow workflow reruns to replace the saved-state artifact.
- Increase the daily rotation budget from 1,000 to 5,000 URLs.
| File | Description |
|---|---|
src/frontend/tests/unit/indexnow.vitest.test.ts |
Adds key-verification failure and retry coverage. |
src/frontend/scripts/indexnow.ts |
Provides specific guidance for pending key verification. |
src/frontend/config/indexnow.json |
Raises the rotation budget to 5,000 URLs. |
.github/workflows/indexnow.yml |
Enables artifact replacement and updates operational comments. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
David Pine (IEvangelist)
enabled auto-merge (squash)
October 16, 2026 12:09
Eric Erhardt (eerhardt)
approved these changes
Oct 16, 2026
David Pine (IEvangelist)
deleted the
ievangelist-indexnow-403-investigation
branch
October 16, 2026 14:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to the failed scheduled run 38695967086.
What happened. That run was the first real submission with the new key. IndexNow answered
403 {"errorCode":"SiteVerificationNotCompleted", ...}while it was still verifying the key file, even though the preflight had just confirmed the file was live and matchedconfig/indexnow.json. A single-URL request later the same day returned 200, and a manual run (38761142689) submitted 1,000 URLs. The cause is inferred from the timing and the response body, since IndexNow's documentation doesn't list this error code.A verification failure still fails the run, on purpose. The run goes red (exit 1), leaves the saved state alone, and the next run retries the same window. Tests pin this.
Commit 1: explain the key-verification 403 and let re-runs save state
overwrite: true. Re-running the workflow is the quickest way to retry, and the first attempt has already uploadedindexnow-state, so the second upload failed with a 409 conflict.state_changed=true, and the summary says failed).Commit 2: send 5,000 URLs a day instead of 1,000
This commit is separable. Drop it to stay at 1,000.
budgets.rotationgoes from 1,000 to 5,000, so a pass over the 32,381-URL sitemap takes 7 runs instead of about 33.budgets.releasestays at 10,000, which is IndexNow's per-request maximum. A manual run can still setlimitup to 10,000.config/indexnow.json.Third-party links and affiliations
None.
Validation
Run from
src/frontend, on this branch rebased ontomainat 105c108:pnpm exec vitest run --config vitest.config.ts tests/unit/indexnow.vitest.test.ts: 86 passed.scripts/indexnow.tschange stashed: exactly the two new wording tests fail (84 passed, 2 failed), so they pin the new message.pnpm exec eslint scripts/indexnow.ts tests/unit/indexnow.vitest.test.ts: clean (exit 0).pnpm exec prettier --check --end-of-line auto ../../.github/workflows/indexnow.yml config/indexnow.json scripts/indexnow.ts tests/unit/indexnow.vitest.test.ts: clean.--end-of-line autois only because my Windows checkout has CRLF line endings; the committed files are LF.pnpm exec tsc --noEmit -p .: no diagnostics in the changed files. The project reports existing errors elsewhere (for exampleastro.config.mjsandtests/typecheck/component-props.contracts.ts), none from this change.pnpm indexnow --state-dir <temp dir> --dry-runagainst the live sitemap:Sitemap: 32,381 URLs, thenPlan: 5,000 URLs (0 removed, 0 new, 5,000 from the rotation pass) with a budget of 5,000. Nothing was sent and no state was saved.Not verified:
overwrite: truehasn't run in a real Actions re-run. The pinnedactions/upload-artifactdocuments it as deleting an existing artifact of the same name before uploading, and if that delete failed the result would be the same 409 as today.