Skip to content

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

ci: select the responsive-grid guard whenever a client source changes (#5679)

[._.]/ Adam Eivyde5c459d8a32
diff --git a/scripts/ci-test-plan.js b/scripts/ci-test-plan.js
index 03097ce3cc..0b7d57a299 100644
--- a/scripts/ci-test-plan.js
+++ b/scripts/ci-test-plan.js
@@ -238,13 +238,15 @@ const structuralTestsFor = (changedFiles, trackedSet) => {
if (changedFiles.some((path) => /^client\/src\/.*\.jsx$/.test(path))) {
add('client/src/a11yConventions.test.js');
}
- // Both `.js` and `.jsx`: the StrictMode mounted-ref bug this guards against
+ // Both `.js` and `.jsx`: the StrictMode mounted-ref bug the first guard covers
// reached its widest blast radius through a plain-`.js` hook (`useAsyncAction`),
- // so a `.jsx`-only trigger would miss the case that matters most. Nothing else
- // selects this file — it has no source sibling and imports no app module, so
- // without this entry it only ever runs on a full suite.
+ // so a `.jsx`-only trigger would miss the case that matters most, and the
+ // responsive-grid guard reads class strings out of both extensions. Neither
+ // file has a source sibling or imports an app module, so nothing else selects
+ // them — without this entry they only ever run on a full suite.
if (changedFiles.some((path) => /^client\/src\/.*\.jsx?$/.test(path))) {
add('client/src/hooks/mountedRefConventions.test.js');
+ add('client/src/responsiveGridConventions.test.js');
}
return selected;
diff --git a/scripts/repo-scan-guards.test.js b/scripts/repo-scan-guards.test.js
index b231955ffc..30f70375ad 100644
--- a/scripts/repo-scan-guards.test.js
+++ b/scripts/repo-scan-guards.test.js
@@ -39,6 +39,7 @@ const STRUCTURALLY_SELECTED = new Map([
// the only way either can start failing.
['client/src/a11yConventions.test.js', 'structuralTestsFor: client/src/**.jsx'],
['client/src/hooks/mountedRefConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
+ ['client/src/responsiveGridConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
// `.ps1` is not in EXECUTABLE_RE, so touching one is an "unclassified changed
// file" and forces the complete suite. The guard also rides the Windows
// contract list.