Repository navigation
Retry preview push when another PR deploys at the same time - #156
Conversation
|
Generated by Claude Code |
|
📋 Previous verification results (archived) Click to view archived verification results from 2026-10-22T22:21:44.000Z✅ Preview Site Verification PASSEDPreview Site Verification ReportPR: #156 1. Basic Connectivity ✅
2. Content Verification
3. Multi-Page Asset VerificationDiscovering all pages in the site...
4. Link and Asset Verification (muffet)Running comprehensive muffet validation...
Linked sites with invalid TLS certificates (warning only):
5. Performance Check
6. Mobile Responsiveness
Summary✅ All verification checks passed! 🔍 Automated verification • Run ID: 39863423256 • 2026-10-22T22:21:43.549Z ⏰ This verification result has been archived by Run ID: 39867811034 • A newer verification is available below |
🚀 Preview Deployment Ready!
This preview will be automatically updated when you push new commits to this PR. Browse all previews: https://preview.wafer.space ⚡ Deployed to custom domain • Preview will be removed when PR is closed |
|
| Status | Preview URL | Issue |
|---|---|---|
| 🟡 Partial | View Preview | Git commit hash verification failed - deployment may be outdated |
The preview has been deployed but content verification is incomplete. The site may still be propagating or there may be loading issues.
Manual verification recommended: https://preview.wafer.space/pr-156/
⚡ Deployed to custom domain • Preview will be removed when PR is closed
|
📋 Previous verification results (archived) Click to view archived verification results from 2026-10-22T22:56:50.000Z✅ Preview Site Verification PASSEDPreview Site Verification ReportPR: #156 1. Basic Connectivity ✅
2. Content Verification
3. Multi-Page Asset VerificationDiscovering all pages in the site...
4. Link and Asset Verification (muffet)Running comprehensive muffet validation...
Linked sites with invalid TLS certificates (warning only):
5. Performance Check
6. Mobile Responsiveness
Summary✅ All verification checks passed! 🔍 Automated verification • Run ID: 39867811034 • 2026-10-22T22:56:50.410Z ⏰ This verification result has been archived by Run ID: 40077703056 • A newer verification is available below |
68964f2 to
f339b61
Compare
|
| Status | Preview URL | Issue |
|---|---|---|
| 🟡 Partial | View Preview | Git commit hash verification failed - deployment may be outdated |
The preview has been deployed but content verification is incomplete. The site may still be propagating or there may be loading issues.
Manual verification recommended: https://preview.wafer.space/pr-156/
⚡ Deployed to custom domain • Preview will be removed when PR is closed
|
📋 Previous verification results (archived) Click to view archived verification results from 2026-10-24T08:27:45.000Z❌ Preview Site Verification FAILEDPreview Site Verification ReportPR: #156 1. Basic Connectivity ✅
2. Content Verification
3. Multi-Page Asset VerificationDiscovering all pages in the site...
4. Link and Asset Verification (muffet)Running comprehensive muffet validation...
Summary: 0 Linked sites with invalid TLS certificates (warning only):
5. Performance Check
6. Mobile Responsiveness
Summary❌ Some verification checks failed 🔍 Automated verification • Run ID: 40077703056 • 2026-10-24T08:27:45.124Z ⏰ This verification result has been archived by Run ID: 40077703056 • A newer verification is available below |
|
Generated by Claude Code |
|
📋 Previous verification results (archived) Click to view archived verification results from 2026-10-24T08:29:39.000Z❌ Preview Site Verification FAILEDPreview Site Verification ReportPR: #156 1. Basic Connectivity ✅
2. Content Verification
3. Multi-Page Asset VerificationDiscovering all pages in the site...
4. Link and Asset Verification (muffet)Running comprehensive muffet validation...
Summary: 0 Linked sites with invalid TLS certificates (warning only):
5. Performance Check
6. Mobile Responsiveness
Summary❌ Some verification checks failed 🔍 Automated verification • Run ID: 40077703056 • 2026-10-24T08:29:38.748Z ⏰ This verification result has been archived by Run ID: 40081961242 • A newer verification is available below |
Each PR has its own concurrency group, so previews for different PRs can push to preview.wafer.space concurrently and the later push is rejected with 'fetch first'. Rebase the deploy commit onto the latest preview main, regenerate the preview index, and retry up to 5 times. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015GwhzVtRANXwKxodEeKgj4
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015GwhzVtRANXwKxodEeKgj4
On a rejected push the deploy merges the latest preview main with -X ours, which keeps this deploy's redirects.json from before the merge: it lacks the other deploy's redirects and carries the same revision number as the other deploy's file. Regenerate both root files with the base branch's generate-preview-root.py instead of the shell script it replaced, so the commit straight after holds a list of every preview whose number is its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018aHXTpnku3VjT9FFpoBEuy
f339b61 to
1f7ca61
Compare
|
| Status | Preview URL | Issue |
|---|---|---|
| 🟡 Partial | View Preview | Git commit hash verification failed - deployment may be outdated |
The preview has been deployed but content verification is incomplete. The site may still be propagating or there may be loading issues.
Manual verification recommended: https://preview.wafer.space/pr-156/
⚡ Deployed to custom domain • Preview will be removed when PR is closed
❌ Preview Site Verification FAILEDPreview Site Verification ReportPR: #156 1. Basic Connectivity ✅
2. Content Verification
3. Multi-Page Asset VerificationDiscovering all pages in the site...
4. Link and Asset Verification (muffet)Running comprehensive muffet validation...
Summary: 0 Linked sites with invalid TLS certificates (warning only):
5. Performance Check
6. Mobile Responsiveness
Summary❌ Some verification checks failed 🔍 Automated verification • Run ID: 40081961242 • 2026-10-24T09:36:28.070Z |
Requested by Tim · project thread
Before: when two PRs deployed previews at the same moment, the second push to
wafer-space/preview.wafer.spacewas rejected withfetch firstanddeploy-previewfailed. This happened to #133 twice, once on its first run and again on the re-run, while #138 and #139 were deploying.After: a rejected push merges the latest preview
main(a merge commit), the preview index andredirects.jsonare regenerated so they cover every PR's directory, and the push is retried up to 5 times with increasing back-off.Stacked on #162, which replaces
generate-preview-index.shwithgenerate-preview-root.py(writing bothindex.htmland the Cloudflare preview redirect listredirects.json) and runs the base branch's copy of it.How: each PR only writes its own
pr-N/directory, sogit merge -X ourscan only hit conflicts in shared files (the rootindex.htmlandredirects.json). Re-runninggenerate-preview-root.pyafter the merge rebuilds both from allpr-*/directories. The commit straight after the regeneration is the oneredirects.json's revision number counts (git describeof HEAD plus one), so the number is always newer than the other deploy's; keeping the pre-mergeredirects.jsonwould have left out the other PR's redirects and reused its number. I tested the loop locally with two clones racing on a bare repo: the second push succeeded on the retry, the index andredirects.jsonlisted both PRs, and the retried file's revision (v0.0-4) was newer than the first deploy's (v0.0-1) and matched its own commit.Updated in https://claude.ai/code/session_018aHXTpnku3VjT9FFpoBEuy
https://claude.ai/code/session_015GwhzVtRANXwKxodEeKgj4
Generated by Claude Code