ci: smoke-test published Linux release artifacts - #65
Merged
Conversation
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.
Existing CI builds kfeatures from source, leaving the published Linux archives and their injected release version unchecked. Add smoke tests that download the actual release assets and execute their shipped binaries.
release.yamlexplicitly calls the reusable smoke workflow withgithub.ref_name. This waits for publication and avoids theGITHUB_TOKENlimitation on triggering a separaterelease: publishedworkflow; no moving latest or fixed sleep is used.ubuntu-24.04(amd64) andubuntu-24.04-arm(arm64), withcontents: read, SHA-pinned checkout, and no persisted checkout credentials. These labels are supported for public repositories.versionwith a 30-second timeout. The first line's tool-version token must equal the tag with its leadingvremoved; optional commit/date suffixes and the separate kernel version line are accommodated. Failures identify release, architecture, and step.v0.7.0on the same native matrix. No privileged probes, packaging/signature changes, or CLI behavior changes.Validation before opening:
bash -n, andgit diff --checkpass.bats test/passed on macOS (Linux-only cases skipped); the subsequently added eleventh fixture also passes.Validation on the PR:
v0.7.0archives and printedkfeatures 0.7.0 (86fcb3f) built 2026-05-25T01:34:53Z.Remaining limits: Manual dispatch is unavailable until the new workflow reaches the default branch. The post-publication dependency cannot be exercised without a release; no release or tag is created by this PR. A failed smoke job reports failure after publication and does not roll back the release.