Repository navigation
ci: a rebased PR reuses its earlier previews instead of failing after 12 minutes - #32
Merged
Merged
Conversation
… 12 minutes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
After a PR was rebased, its Test job waited 12 minutes and failed ("Matching previews did not complete within 12 minutes"). This happened on fulldotdev/fulldev#786. The previews were still built from the commit before the rebase. Netlify did not build them again because their inputs had not changed. Preview accepted a preview only from an ancestor of the PR head, so it waited for a build that never came.
Preview now compares a PR preview's build inputs with the head, whatever the history. A commit that only origin still has is fetched by SHA with the job's token. A failed fetch is tried again on the next poll. The production fallback keeps the ancestor rule.
Proof: a new test rebases a PR against a bare origin that only serves the old commit. It fails against main with the production error and passes with this change;
node --test tests/*.test.mjs22/22.Reviewed with sol-loop: 3 rounds with GPT 6.2 Sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code; reviewed by GPT 6.2 Sol.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.