Delete preview channel on close/merge
See original GitHub issueWhen a PR is merged or closed, is it possible to detect this and delete the associated preview channel?
I have set the expiry date to 30 days which isn’t a problem but when dependabot or renovate decides it’s time for 20 PRs then that’s a lot of temporary channels being created. There is a limit of 50 preview channels in firebase (I think) and trying to add more fails with a 429
. I set the expiry date to 30 days under the assumption that if I left the PR long enough the channel would expire and it wouldn’t be able to redeploy a new one? Correct me if I’m wrong. Firebase also seems to have issues deleting expired channels as they sit there “pending” for a day or so before going.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Manage live & preview channels, releases, and versions for ...
Manually delete a preview channel · Firebase console. In the row for the preview channel, click more_vert, then select Delete channel. Confirm the...
Read more >Merge requests - GitLab Docs
Following the comment box, select Close merge request. GitLab closes the merge request, ... GitLab recommends you close, rather than delete, merge requests....
Read more >4 Manage Source Code Files with Git - Oracle Help Center
Click the Preview tab to preview the format. Click Submit. The comment adds in the Conversation tab along with icons to reply, edit,...
Read more >How to use Firebase Preview Channels - YouTube
We also walk through several firebase cli commands to create firebase preview channels, delete firebase preview channels, deploy firebase ...
Read more >Connect your GitLab to Slack integration in 2 minutes - Zapier
Send Slack channel messages for new issue events in GitLab. Zapier. by Zapier ... Triggers on an open, merge, or close merge request...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is anyone working on this? If not, I’ll give it a shot. It’ll be my first open-source contribution, so not sure if I can handle it. I really want this feature though haha.
It’s been a few years but huge +1 to this feature. My team has 12 developers and we keep running out of preview channels. If we set the expiration to be too short (1 day, etc) they’re not available when we need them. If we set it to be too long (7d) then we run out all the time.
This would help clean up stale ones. I don’t think we ever actually have 50 live PRs.