ci: scope system-test runs to only affected code paths#2942
ci: scope system-test runs to only affected code paths#2942ksail-bot[bot] merged 4 commits intomainfrom
Conversation
Add a `system-test` path filter that excludes code not exercised by system tests (chat, MCP, cipher, toolgen, doc/schema generators). Include `.github/fixtures/**` since test fixtures should trigger runs. Update warm-helm-cache, warm-mirror-cache, and system-test jobs to use the new filter instead of the broader `source` filter. Co-authored-by: devantler <26203420+devantler@users.noreply.github.com>
|
@copilot if the source filter is no longer in use it should not be kept. Investigate if we can do a little cleanup, or if I am overlooking something. If cleanuo is possible go do it |
The `source` filter and output were superseded by `system-test` and are no longer referenced by any job. Remove both the output declaration and the filter definition. Co-authored-by: devantler <26203420+devantler@users.noreply.github.com>
You're right — |
✅
|
There was a problem hiding this comment.
Pull request overview
Updates the main CI workflow’s path filtering to better scope when merge-queue system-test-related jobs (cache warming + system tests) run.
Changes:
- Replaces the
sourcechange-detection output with a newsystem-testoutput. - Adds a dedicated
system-testpaths-filter with explicit include/exclude patterns. - Updates warm-cache and system-test job conditions to key off
needs.changes.outputs.system-test.
|
@copilot apply changes based on the comments in this thread |
Changes to the workflow file itself should trigger system test runs to catch broken workflow logic before merge. Co-authored-by: devantler <26203420+devantler@users.noreply.github.com>
Added |

System tests run the full matrix (4 distributions × 5 configs × 2 init modes + Hetzner variants) on every non-test Go source change, including code paths they don't exercise.
Adds a
system-testpath filter that excludes packages verified to be import-isolated from the cluster/workload CLI commands under test:pkg/cli/cmd/chat/**,pkg/cli/ui/chat/**,pkg/svc/chat/**,pkg/svc/mcp/**,pkg/toolgen/**,pkg/cli/cmd/cipher/**,docs/*.go,schemas/**/*.go.github/fixtures/**(test fixtures were missing from the originalsourcefilter),.github/workflows/ci.yaml(workflow changes should trigger system tests to catch broken logic)warm-helm-cache,warm-mirror-cache,system-testnow gate onsystem-testinstead ofsourcesourcepath filter output and definition (no remaining consumers)💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.