Skip to content

T-21950 [CI] Let a dispatched E2E run hold the source for a removal in Better Stack - #10

Closed
PetrHeinz wants to merge 1 commit into
mainfrom
claude/t-21950-e2e-hold
Closed

PetrHeinz wants to merge 1 commit into
mainfrom
claude/t-21950-e2e-hold

Conversation

@PetrHeinz

Copy link
Copy Markdown
Member

A new workflow_dispatch input, hold_for_removal, lets someone check a source removal in Better Stack against a real stack:

  • the run deploys the template and connects the source as usual, and waits for the first sync to subscribe the four log groups
  • it skips producing and reading back telemetry, then waits up to 45 minutes for someone to remove the source in Better Stack (GET /api/v1/sources/:id answering 404)
  • it then waits up to 15 minutes for the BetterStackLogs subscription filter to disappear from the run's log group, /e2e/static, aws/spans and /aws/cloudtrail/better-stack, while the stack and its integration role still exist
  • the usual cleanup deletes the stack and everything else afterwards

Pushes, pull requests and the daily schedule are unchanged: the input is false there, so they run the full read-back.

Dispatched run with the input set: https://github.com/BetterStackHQ/aws/actions/runs/39988101986 (source removed from the Sources list at 16:45:25 UTC, no filter left by 16:45:28, stack deleted by 16:52).

gh workflow run e2e.yml --ref <branch> -f hold_for_removal=true

🤖 Generated with Claude Code

…n Better Stack

A workflow_dispatch input, hold_for_removal, skips the read-back and keeps
the connected source until someone removes it in Better Stack, then waits
until the four log groups the first sync subscribed lose their
BetterStackLogs filter, before the usual cleanup deletes the stack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PetrHeinz PetrHeinz closed this Oct 23, 2026
@PetrHeinz
PetrHeinz deleted the claude/t-21950-e2e-hold branch October 23, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant