Regenerate routing artifacts (blog:redirects drift) - #271
Merged
Merged
Conversation
The committed output of scripts/generate-redirects.mjs had drifted from content/blog: - kubernetes-observability-in-2026-with-openobserve (#268) was missing from _redirects, vercel.json and _worker.js - inside-kueue-how-kubernetes-decides-what-runs-next (#266) was missing from _worker.js (the PR committed _redirects and vercel.json but not the worker) BLOG_SLUGS goes 201 -> 203. Nothing is removed; the diff is purely additive. No live impact: prebuild regenerates all four files during the Pages build, so both posts already route correctly. This just stops the repo shipping stale artifacts, which is what made the omission invisible in the first place. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Deploying website with
|
| Latest commit: |
0c45112
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7a4a191b.website-dab.pages.dev |
| Branch Preview URL: | https://fix-regenerate-routing-artif.website-dab.pages.dev |
This was referenced Sep 16, 2026
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.
scripts/generate-redirects.mjswrites four files. Its committed output had drifted fromcontent/blog:_redirectsvercel.json_worker.jskubernetes-observability-in-2026-with-openobserve(#268)inside-kueue-how-kubernetes-decides-what-runs-next(#266)BLOG_SLUGSgoes 201 → 203. Produced by runningnpm run blog:redirectswith no manual edits. The diff is purely additive — no line is removed from any of the three files, verified against the previous main.No live impact
prebuildruns this generator during the Pages build, so the deployed_worker.jsis always regenerated and both posts already route correctly today:This is a repo-hygiene fix. The value is that the committed artifacts stop disagreeing with
content/blog— the drift is exactly why nobody noticed #268 never got its entries.Worth considering separately
_worker.jsis a build artifact whose committed copy is never the one served. Adding it (and_routes.json) to.gitignore, or a CI check that fails whennpm run blog:redirectsproduces a diff, would prevent this recurring. Happy to open that as a follow-up.🤖 Generated with Claude Code