You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fork-ci: Chat API tests step skips skill, MCP and plugin tests #286
The "Chat API tests" step in .github/workflows/fork-ci.yaml (line 81 on main 607a95b) runs:
go test -count=1 -run '(?i)chat|skill|mcp|plugin' ./coderd ./enterprise/coderd
go test splits the -run pattern on top-level | and matches each element separately. The (?i) flag only applies to the first element, so skill, mcp and plugin match only lowercase names. Go test names start with Test and use CamelCase, so in practice only tests with Chat in the name run.
Repro (Go 1.26.10): a package with TestChatA, TestSkillB, TestMCPC, TestPluginD. -run '(?i)chat|skill|mcp|plugin' runs only TestChatA. -run '(?i)(chat|skill|mcp|plugin)' runs all four.
Impact
79 top-level tests in ./coderd and ./enterprise/coderd match skill, mcp or plugin without "chat", and fork-ci skips them. Examples: TestForkPluginPacks, TestForkPluginPackEnablement, TestPlugins, TestPluginsDisabled, TestPluginWebhookRelay, the TestMCPServerConfig* family, the TestOrganizationSkill* and TestUserSkill* families.
The chatd step (./coderd/x/... with no -run) is not affected.
Fix
Group the alternatives: -run '(?i)(chat|skill|mcp|plugin)'. Some of the 79 tests may fail or flake once they run, since fork-ci has never run them. Expect a longer job.
Note: Mike's draft #140 also edits fork-ci.yaml. Coordinate so the two changes do not conflict.
Found by the #252 workstream while checking its own test regexes.
This fix is a one-line edit to .github/workflows/fork-ci.yaml: -run '(?i)(chat|skill|mcp|plugin)'. The maintainer token has no workflow permission, so it cannot push workflow files. Labeled needs-mike together with the lint:oxlint step on #317. Both edits can land in one workflow PR pushed with a token that has workflow permission. Mike's draft #140 edits the same file.
Activity
ibetitsmike commentedon Nov 14, 2026
This fix is a one-line edit to
.github/workflows/fork-ci.yaml:-run '(?i)(chat|skill|mcp|plugin)'. The maintainer token has noworkflowpermission, so it cannot push workflow files. Labeled needs-mike together with thelint:oxlintstep on #317. Both edits can land in one workflow PR pushed with a token that has workflow permission. Mike's draft #140 edits the same file.