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 popover-clamp guard from the client structural trigger (#5686)

Adam Eivy7152b5efd6c9
diff --git a/scripts/ci-test-plan.js b/scripts/ci-test-plan.js
index 090f942801..8f24c41c5c 100644
--- a/scripts/ci-test-plan.js
+++ b/scripts/ci-test-plan.js
@@ -257,11 +257,13 @@ const structuralTestsFor = (changedFiles, trackedSet) => {
// 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, 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.
+ // responsive-grid and popover-clamp guards read class strings out of both
+ // extensions. None of these files 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/popoverClampConventions.test.js');
add('client/src/responsiveGridConventions.test.js');
}
diff --git a/scripts/repo-scan-guards.test.js b/scripts/repo-scan-guards.test.js
index 30f70375ad..6732eb78c1 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/popoverClampConventions.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