Skip to content

test(runner): share skill directory setup across runner tests - #214

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/skill-dir-fixtures
Nov 23, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
refactor/skill-dir-fixtures

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

Thirty-six runner tests repeated directory creation and error handling for the same empty skill fixture. They now call one helper that creates the same skill directory beneath the test’s temporary parent.

Scope

Test setup only. The directory name, permissions, sibling paths, test cases and assertions are preserved.

Verification

Ran go test -count=1 ./internal/runner. Compared the changed test sources with the base after expanding the helper back into its original setup. One judge subprocess reached its local deadline on the first package run and passed on an isolated rerun.

Also ran go test -count=1 -p=1 ./..., go vet ./... and go run ./cmd/clawscan --help. The repository P0–P3 autoreview reported no actionable findings.

@clawsweeper

clawsweeper Bot commented Nov 23, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review November 23, 2026 00:01
@vincentkoc
vincentkoc requested review from a team and Patrick-Erichsen as code owners November 23, 2026 00:01
@vincentkoc
vincentkoc merged commit 38e0f9e into main Nov 23, 2026
11 of 12 checks passed
@vincentkoc
vincentkoc deleted the refactor/skill-dir-fixtures branch November 23, 2026 00:04
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