Gate release tagging behind a Windows smoke-test approval - #483
Draft
dominikschubert wants to merge 1 commit into
Draft
Gate release tagging behind a Windows smoke-test approval#483dominikschubert wants to merge 1 commit into
dominikschubert wants to merge 1 commit into
Conversation
GitHub-hosted Windows runners cannot run Linux containers, so CI never exercises lstk against a real Docker daemon on Windows. Both release workflows now bind the tag job to the `release` GitHub environment, which waits for a required reviewer to confirm the manual Windows smoke test. - Print the commit to test in the run summary of the job *before* the gate, so reviewers see it while the tag job is still waiting. - Pin the tag job to the SHA that was tested instead of re-resolving `main` after the approval wait. - Document the smoke test and approval flow in docs/RELEASING.md. Refs DEVX-1042. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
DEVX-1042 asks for a guardrail so Windows is tested before every release. CI cannot cover it: GitHub
windows-latestrunners can't run Linux containers,creack/ptyhas no Windows support, and only the ubuntu shards run real Docker tests (see #480 discussion).Today both release paths tag with zero human checkpoints. This PR adds one.
What
automated-release.ymlandcreate-release-tag.yml: the tag job is bound to thereleaseGitHub environment and waits for a required reviewer.Determine version bump/ newResolve release refjob print the exact commit to smoke-test. A reviewer can read it while the tag job is still waiting (a summary inside the gated job would only appear after approval).main/release_ref. Otherwise a multi-day approval wait could tag a newer, untested commit.docs/RELEASING.md: new "Windows smoke test" section with the checklist (start, socket mount, logs, Lambda invoke, stop) and the approval flow.Environment protection rules work on the free/team plans only because the repo is public. If it ever goes private they are silently ignored.
One-time setup (repo admin, before merge)
Do this before merging: if the environment doesn't exist when the first gated run starts, GitHub auto-creates it without protection rules and the run tags without approval.
Reviewers: @dominikschubert (primary), @anisaoshafi, @joe4dev, @skyrpex .
prevent_self_reviewstaysfalsebecause the person dispatching a manual release is usually the one who ran the smoke test.main:gh api repos/localstack/lstk/environments/releaseshowscan_admins_bypass: false, 3 reviewers, 1 branch policy.Create Release Tag, confirm the run summary shows the SHA, do the smoke test, approve.Verification
actionlintpasses on both workflows (shellcheck integration disabled locally).git diff --checkclean.Out of scope / follow-ups
scripts/windows-smoke.ps1helper to standardize the manual step (under discussion).scripts/ec2-sandbox.shas a pre-tag job.馃 Generated with Claude Code