Commit 36cdb9f
feat: poll preview URL before posting PR comment (#14)
## Summary
- Wait for the deployed preview to be live before posting the PR comment
- Poll every 10 seconds, up to 5 minutes
- If the site isn't ready after 5 minutes, post the comment with a note
that it may not be ready yet
## Test plan
- [ ] PR preview comment appears after the site is live
- [ ] Comment does not include the "not ready" note under normal
conditions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8781795 commit 36cdb9f
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
| |||
0 commit comments