Skip to content

feat: poll preview URL before posting PR comment#14

Merged
TaiSakuma merged 1 commit intomainfrom
feat/poll-preview-url
Mar 21, 2026
Merged

feat: poll preview URL before posting PR comment#14
TaiSakuma merged 1 commit intomainfrom
feat/poll-preview-url

Conversation

@TaiSakuma
Copy link
Owner

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

Wait for the deployment to be live before posting the preview
comment. If the site isn't ready after 5 minutes, post anyway
with a note that it may not be ready yet.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added the feature New feature label Mar 21, 2026
github-actions bot added a commit that referenced this pull request Mar 21, 2026
@github-actions
Copy link
Contributor

@TaiSakuma TaiSakuma merged commit 36cdb9f into main Mar 21, 2026
3 checks passed
@TaiSakuma TaiSakuma deleted the feat/poll-preview-url branch March 21, 2026 19:48
github-actions bot added a commit that referenced this pull request Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant