Repository navigation
ci: add published-tag consumer smoke workflow - #82
Merged
Merged
Conversation
Run the released artifact from its git tag, the way a consumer pins it (`uses: vig-os/[email protected]`), and assert it produces a signed commit. e2e-smoke only exercises `uses: ./` from a branch checkout; nothing ran the published tag ref after it was pushed. Triggers on any `v*.*.*` tag push (RCs and finals; the floating v0 / v0.X tags are excluded so promotions don't re-trigger it) and on workflow_dispatch with a `ref` input, so an already-pushed tag can be validated on demand. Since `uses:` forbids expressions, the tag is checked out into a path and run via `uses: ./action-under-test`. Assertions mirror e2e-smoke: the commit exists, is signed, and round-trips the expected content. Refs: #81
c-vigo
added a commit
that referenced
this pull request
Jul 15, 2026
Refs #85 (removal tracking). ## Why The `Main protection` and `Release protection` rulesets require a passing **`Dist Check`** status (GitHub Actions, integration `15368`). The real check (`dist-check.yml`, #59) ships with **0.3.0** and is **not yet on `main`**, so any PR whose head predates it — e.g. #82, and other branches cut from the current `main` — can never report the context and is permanently blocked. ## What A temporary bootstrap workflow, `dist-check-stub.yml`, with a single job named exactly **`Dist Check`** (the contractual context name, #60) that always passes, triggered on `pull_request` to `main` and `release/**`. It unblocks that class of PRs. ## Deliberate design - **Distinct filename** (not `dist-check.yml`): sharing the real path would cause an add/add merge conflict when `promote-release` merges `release/0.3.0 -> main`, breaking the automated promotion. - **Self-satisfying:** because it triggers on `pull_request`, this PR's own head reports `Dist Check`, so — together with `CI Summary` from `ci.yml` and your review fix — this PR merges through the ruleset **without** a force/bypass. ## Lifecycle (important) This is a scaffold that verifies nothing. **It must be deleted the moment 0.3.0 is promoted to `main`** — once the real `dist-check.yml` is there, both report `Dist Check` and the always-green stub would mask a real failure. Tracked in #85. Local checks: `actionlint` clean; `just precommit` (prek `--all-files`) green.
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.
Closes #81.
What
A new project-owned workflow,
published-tag-smoke.yml, that runs the released artifact from its git tag — the way a consumer pins it (uses: vig-os/[email protected]) — and asserts it produces a signed commit with the expected content. Sibling ofe2e-smoke, which only exercisesuses: ./from a branch checkout and so never covers the published tag ref after it is pushed.Why it targets
maindirectlyworkflow_dispatchis only dispatchable when the workflow lives on the default branch. This is a deliberate, scoped deviation from the dev-first flow so we can trigger it for the already-pushedv0.3.0-rc1;sync-main-to-devcarries it back todevfor future releases. It is a brand-new file, so it does not touch the in-flightrelease/0.3.0PR (#78) or the devkit-managed release workflows.Design notes
push: tags: ['v*.*.*'](matches RCsv0.3.0-rc1and finalsv0.3.0; excludes the floatingv0/v0.Xtags that move on promotion) andworkflow_dispatchwith arefinput.GITHUB_TOKEN), so tag-push events trigger downstream workflows.uses:forbids expressions, so the action is checked out at the tag into a path and run viauses: ./action-under-test— a faithful reproduction of a consumer pinning@<tag>.e2e-smoke: commit exists → isverification.verified == true→ content round-trips; scratch branch deleted on exit. No recursion (scratch push is a branch, not a tag).Validating this release
The
pushtrigger will not retro-fire for the already-pushedv0.3.0-rc1. Once this merges tomain, dispatch it manually againstv0.3.0-rc1:Local checks green:
actionlintclean,just precommit(prek --all-files, incl. yamllint + shellcheck) all pass.