Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: stop the CI planner from selecting model-capability fixture sandboxes as test suites
[._.]/ Adam Eivy4c4299d70367
diff --git a/scripts/ci-test-plan.js b/scripts/ci-test-plan.jsindex 55f89c604c..ac94a22101 100644--- a/scripts/ci-test-plan.js+++ b/scripts/ci-test-plan.js@@ -717,8 +717,13 @@ const isDocumentationOnly = (path) => !isExecutable(path) && DOCUMENTATION_RULESconst isServerRunnerFile = (path) => RUNNER_ROOTS.server.some((root) => path.startsWith(root));const isClientRunnerFile = (path) => RUNNER_ROOTS.client.some((root) => path.startsWith(root));+// Model-capability fixtures ship deliberately broken `*.test.mjs` sandboxes that+// a model is asked to repair. They are data, not suites: no runner collects them,+// and a feature-name match ("models") must not hand one to vitest as a target.+const RUNNER_EXCLUDED_FIXTURES = /^server\/fixtures\//;+const runnerForTest = (path) => {- if (!isTestFile(path)) return null;+ if (!isTestFile(path) || RUNNER_EXCLUDED_FIXTURES.test(path)) return null;if (isClientRunnerFile(path)) return 'client';if (isServerRunnerFile(path)) return 'server';return null;diff --git a/scripts/ci-test-plan.test.js b/scripts/ci-test-plan.test.jsindex 0697c87f34..37a31d6f71 100644--- a/scripts/ci-test-plan.test.js+++ b/scripts/ci-test-plan.test.js@@ -1092,6 +1092,15 @@ describe('CI test impact planner', () => {expect(docsOnly.shards).toEqual({ server: [1], client: [1], windows: [1] });});+ it('never selects a model-capability fixture sandbox as a suite on a feature-name match', () => {+ const source = 'client/src/components/models/Panel.jsx';+ const fixture = 'server/fixtures/model-tests/sandbox/cart-totals/cart-totals.test.mjs';+ const real = 'client/src/components/models/Panel.test.jsx';+ const plan = buildCiTestPlan([source], { trackedFiles: [...TRACKED, source, real, fixture] });+ expect(plan.client.files).toContain(real);+ expect(plan.server.files).not.toContain(fixture);+ });+describe('scoped fan-out instead of a full plan (#11871)', () => {const SERVER_FANOUT = shardIndexes('full', FULL_SUITE_SHARDS.server);const CLIENT_FANOUT = shardIndexes('full', FULL_SUITE_SHARDS.client);