posthog icon indicating copy to clipboard operation
posthog copied to clipboard

feat(ci): Add comments for the preview deploy

Open langesven opened this issue 1 month ago â€ĸ 2 comments

Problem

Extend the preview deployment flow with some comments to give feedback to the user.

Changes

How did you test this code?

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Changelog: (features only) Is this feature complete?

langesven avatar Dec 10 '25 13:12 langesven

Hey @langesven! 👋 This pull request seems to contain no description. Please add useful context, rationale, and/or any other information that will help make sense of this change now and in the distant Mars-based future.

posthog-bot avatar Dec 10 '25 13:12 posthog-bot

đŸĻ” Preview instance

✅ Preview deployment ready

🌐 Access the instance

URL: https://do-ci-hobby-pr-43126.posthog.cc

SSH: ssh [email protected]

IP: 143.198.110.74

Mode: 🔄 Preview (persistent) Commit: 5c1d587 Workflow run: #4508

Full instance details
Droplet ID: 536042018
Droplet IP: 143.198.110.74
DNS Record ID: 1800232776
DNS Record Name: do-ci-hobby-pr-43126
SSH: ssh [email protected]
URL: https://do-ci-hobby-pr-43126.posthog.cc
Deployment output
🔄 Preview mode enabled - checking for existing droplet for PR #43126
â„šī¸  No existing droplet found - creating new one
Creating preview droplet for PR #43126
  Branch: sl/hobby-deploy-with-pr-comments
  SHA: 5c1d587
  Droplet name: do-ci-hobby-pr-43126
Droplet not booted yet - waiting a bit
Droplet not booted yet - waiting a bit
Droplet not booted yet - waiting a bit
Droplet not booted yet - waiting a bit
Droplet not booted yet - waiting a bit
completed
Public IP found: 143.198.110.74
Exporting the droplet ID: 536042018 and DNS record ID: 1800232776 for name do-ci-hobby-pr-43126
Preview instance has started. You will be able to access it here after PostHog boots (~15 minutes):
🌐 URL: https://do-ci-hobby-pr-43126.posthog.cc

github-actions[bot] avatar Dec 10 '25 13:12 github-actions[bot]

Can I merge this to the main PR?

webjunkie avatar Dec 15 '25 12:12 webjunkie

Can I merge this to the main PR?

yeah I think so, the label logic definitely works, the comments are created/updated for all relevant cases.

It might need some tweaks still based on the greptile comment though style: labeled trigger may cause workflow to run when any label is added, not just hobby-preview., but I think it'd then just go into the "normal" smoke-test flow so it should be okay

langesven avatar Dec 15 '25 12:12 langesven

I see. Will definitely test more but wanted to consolidate now to get things in order (last working week of the year and so)

webjunkie avatar Dec 15 '25 12:12 webjunkie