Repository navigation
Close hypersnap-web-canary parity gaps (no prod DNS) - #47
Merged
Merged
Conversation
Drop trailing slashes to match Next /about 200s, restore legacy /opengraph-image /icon /favicon.ico paths, and retry Dexscreener once on 429. Keep wrangler name exactly hypersnap-web-canary. After canary is green, Loica/Degu proceed to prod Worker + DNS — this change does not cut over DNS. Co-authored-by: felirami <felirami@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
felirami
marked this pull request as ready for review
September 2, 2026 15:09
This branch had an error being deployed
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.
Finish the Astro Cloudflare canary against the existing Worker name exactly
hypersnap-web-canary. After this canary is green, Loica/Degu proceed to the production Worker and DNS cutover — do not stop at canary. This PR does not change production DNS, create Cloudflare resources, or delete Vercel.Fixes vs the current www canary / live Next paths
html_handling: "drop-trailing-slash"plus AstrotrailingSlash: "never"so/about(and the other marketing routes) stay 200 instead of Cloudflare’s default 307 to/about/.public/favicon.ico._redirects200-rewrites/opengraph-image→/opengraph-image.svgand/icon→/favicon.svg./api/snap-market: one retry on Dexscreener 429, 8s timeout, no custom User-Agent.Verification (this revision)
Local:
npm run lint— passnpm run typecheck— 0 errorsnpm run build— 52 pagesnpx wrangler deploy --dry-run— 168 assets, Worker namehypersnap-web-canarywrangler devagainst./dist:/about→ 200/about/→ 307/about/opengraph-image→ 200image/svg+xml/icon→ 200image/svg+xml/favicon.ico→ 200image/vnd.microsoft.icon/api/network-statusand/api/snap-market→ 200 (ok: true)/install.sh,/llms.txt→ 200GitHub Actions Lint, typecheck, and build is green on this PR. CodeQL/Analyze also passed.
Vercel Preview/Production will fail with
No Next.js version detected. That is expected:mainis Astro now. Last READY Vercel production deploy isf633702. Do not treat the Vercel check as a canary blocker.Remaining gaps vs live Next
hypersnap.orgThese stay out of this canary PR:
/opengraph-imageand/iconvianext/og. The rewrite closes the 404; X/Facebook often prefer PNG.error.tsxruntime boundary — static HTML + a thin/api/*Worker.revalidate=60.hypersnap-web-canary.hypersnap.orgDNS already resolves to Cloudflare IPs. HTTPS to the apex was not reliable from this agent VM; this run does not change DNS.cad/cloudflare-migration(OpenNext) is untouched. No new R2/KV/D1.workers_devandpreview_urlsstayfalse.Next step after merge/deploy of this canary: production Worker + DNS cutover by Loica/Degu. Not this agent.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.