Skip to content

tighten action tests - #190

Merged
atkrad merged 1 commit into
mainfrom
tighten-action-tests
Oct 13, 2026
Merged

atkrad merged 1 commit into
mainfrom
tighten-action-tests

Conversation

@atkrad

@atkrad atkrad commented Oct 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Cover caller-visible gaps in deploy, delete, list, and status: cancellation, wrapped dependency errors, the Helm label query, wildcard release filtering, and invalid filters.
  • Check dry-run and environment identity on deploy, and project, environment, and wait forwarding on delete.
  • Follow the testing principles for failure paths, ErrorIs and ErrorContains, t.Parallel, per-test fakes, and assertions on returned values.

DeleteParams.DryRun and DeleteParams.Wait are unused by Check and Execute, so those fields have no behavior to lock. A deadline is the same forwarded context error as cancellation.

Related

Test plan

  • Unit tests added/updated
  • Scenario under scenarios/ (if behavior changes)
  • nix run .#lint / pre-commit clean
  • Manual smoke (command + expected result), if user-facing

go test -count=3 -race -shuffle=on ./internal/action/ passed. Pre-commit, including golangci-lint, passed on the commit.

Labels

  • One of: kind/feature, kind/bug, kind/docs, kind/chore
  • Add breaking-change if this breaks existing CLI or config behavior
  • Add skip-changelog for internal-only PRs that should not appear in notes

Checklist

  • Title is short and imperative (matches commit style)
  • Docs / CLI help updated when user-facing (README.md, docs/cli/)
  • No secrets or local-only paths in the diff

@atkrad atkrad added kind/chore Cleanup, deps, CI, or refactor with no user-facing change area/testing Scenarios, harness, goldens skip-changelog Exclude this PR from release notes labels Oct 13, 2026
@github-actions github-actions Bot added the area/deploy Deploy and plan session flow label Oct 13, 2026
@atkrad atkrad self-assigned this Oct 13, 2026
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@atkrad
atkrad merged commit 90b561d into main Oct 13, 2026
17 checks passed
@atkrad
atkrad deleted the tighten-action-tests branch October 13, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/deploy Deploy and plan session flow area/testing Scenarios, harness, goldens kind/chore Cleanup, deps, CI, or refactor with no user-facing change skip-changelog Exclude this PR from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant