Repository navigation
test(coderd/x/chatd): cover user invocation of hidden plugin pack skills - #207
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review
|
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Merged by the pstack parity lead. CI passed (9/9) on head d7ef036, which only merges main into ef8b3d6, and the file diff is the same. The Codex receipt on ef8b3d6 is clean, and 0 threads are unresolved. This PR only adds a test, so it had no live UAT. Part of #4 / #12. |
Part of #4 (W6, PRD 6.7 acceptance). Adds a chatd test for the slash-command entry point of plugin pack skills. 57 of pstack's 58 skills set
disable-model-invocation: true, so in the chat UI a user's/workspace/<name>pick is the only way to run them.The test pins a hidden
architectskill from an installedpstackpack on two chats that share a workspace, then checks three things:workspaceSkillsForResolution);skill-invocationpart from the chat that has the pack enabled loads the skill body and directory;SkillInvocationUnavailableError, becausefilterPackResourcesdrops the pinned row.This is a test-only change; no production code changed.
Validation: in a container on
ef8b3d61d7,go vet ./coderd/x/chatd/passed, andgo test -count=3 -run 'TestInvokeHiddenPackSkill|TestResolveSkillInvocations|TestFilterPackResources' ./coderd/x/chatd/passed.