Skip to content

fix(ci): restrict Kubernetes release skips to the release App - #2439

Merged
rdimitrov merged 1 commit into
mainfrom
fix/k8s-e2e-release-skip
Oct 20, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
fix/k8s-e2e-release-skip

Conversation

@rdimitrov

Copy link
Copy Markdown
Member

Summary

Follow-up to #2432 addressing the two CI coverage findings:

  • Skip Kubernetes qualification only for same-repository release/* pull requests authored by toolhive-release-app[bot]. The author login is verified against the actual release PR Release v0.0.49 #2429 using the GitHub API. The condition checks the PR author, not github.actor, so the user rerunning a workflow cannot authorize the exemption. Push and manual-dispatch runs remain eligible.
  • Restore Taskfile.yml to the pull-request path filter because it defines both qualification entry points.
  • Add an offline YAML contract test covering the complete gate on both jobs and Taskfile-only PR triggering. Confirmed the test fails against the pre-fix workflow for both findings, then passes after the fix.

No permission, secret, cache, sharding, or runtime changes.

Validation

  • PASS: focused workflow and shard partition tests, including race detection.
  • PASS: actionlint .github/workflows/k8s-e2e.yml and git diff --check.
  • PASS: offline go run ./cmd/mecademo, including tool call, permission ask/approval, and final result.
  • Security review: no findings.
  • task lint: root, engine, adaptersupport, driver, adapters, and oidc clean; blocked by the existing Darwin microVM gosec G703 finding at environment/microvm/launch_ownership_darwin.go:754 (unchanged).
  • task test: attempted; encountered unrelated Unix-socket fixture failures (listen unix /dev/fd/5/microvmd.sock: bind: no such file or directory) and was stopped. The local host also lacks GNU timeout, needed by existing deploy-script tests.
  • Full task test:race not completed. Draft pending clean full gates on a supported environment and CI results.

Restore Taskfile-only pull request qualification and require the release App author, same-repository head, and release branch before skipping either Kubernetes job. Add offline workflow contract regression coverage.

Co-authored-by: Mecatl <noreply@mecatl.dev>
@rdimitrov
rdimitrov marked this pull request as ready for review October 20, 2026 12:38
@rdimitrov
rdimitrov merged commit cc34286 into main Oct 20, 2026
26 of 44 checks passed
@rdimitrov
rdimitrov deleted the fix/k8s-e2e-release-skip branch October 20, 2026 12:40
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 23, 2026
2 tasks
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