Skip to content

test: keep disposable fixtures out of repository scratch - #2087

Merged
jbeda merged 2 commits into
mainfrom
fix/chart-lifetime-managed-temp
Oct 5, 2026
Merged

jbeda merged 2 commits into
mainfrom
fix/chart-lifetime-managed-temp

Conversation

@jbeda

@jbeda jbeda commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Use t.TempDir() for chart lifetime Helm fixtures instead of leaving per-render directories in repository .scratch.
  • Move disposable acceptance-plan, release-tag guard, and microVM release-test fixtures to Shell temporary storage; clean up on normal exits and rely on managed leases if the test process is killed.
  • Clarify that .scratch is for retained artifacts and orchestration state, not disposable test files.

Verification

  • go test ./deploy/helm/mecatl-execution -count=1
  • bash .claude/skills/to-acceptance-plan/scripts/check-acceptance-plan-test.sh
  • sh .github/scripts/release-tag-guard_test.sh
  • task docs (before the shell-test follow-up)
  • Shell syntax checks and git diff --check

microvm-ci-release_test.sh was syntax-checked but its full release exercise was not run locally because cosign is unavailable; CI runs it. No related fixture directories were left under repository .scratch after the focused tests.

Independent of #2086.

@jbeda jbeda changed the title test: use managed temporary storage for chart lifetime fixtures test: keep disposable fixtures out of repository scratch Oct 5, 2026
@jbeda
jbeda merged commit 4e9d752 into main Oct 5, 2026
40 checks passed
@jbeda
jbeda deleted the fix/chart-lifetime-managed-temp branch October 5, 2026 14:15
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 7, 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