Skip to content

Panel board script tests skip outside the repository layout - #674

Merged
bompus merged 1 commit into
mainfrom
hr-board-test-layout-20261121
Nov 21, 2026
Merged

bompus merged 1 commit into
mainfrom
hr-board-test-layout-20261121

Conversation

@bompus

@bompus bompus commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Follow-up to #673, from a review of a downstream adoption of the skill: skills/hr-code-review/test/panel-board-scripts.test.mjs takes the repository root three levels above the test and copies the root scripts/publish-panel-board.sh, scripts/refresh-panel-board.sh and the references folder into a temporary repository. An installed copy of the skill carries the test but has none of those paths, so the tests failed there (ENOENT ... scripts/publish-panel-board.sh; reproduced in a copy of the skill folder under a different parent).

The tests now skip, with a stated reason, unless the two scripts and the committed snapshot exist at that root; in the repository they run as before (4 pass), in an installed layout they skip (4 skipped). bun run check, bun test skills/hr-code-review and test/doc-rules.test.mjs pass.

… copy of the skill has neither the root scripts nor the layout they copy
@bompus bompus added the author:anthropic Pull request written by a anthropic model label Nov 21, 2026

@bompus-ai-review bompus-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bompus AI Review (Gemini 4 Neon): 0 finding(s).

@bompus
bompus merged commit 71754dd into main Nov 21, 2026
2 checks passed
@bompus
bompus deleted the hr-board-test-layout-20261121 branch November 21, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:anthropic Pull request written by a anthropic model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant