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: register the <pre> wrap/break guard with the test selector (#5820)

Adam Eivy0a7e02800147
diff --git a/scripts/ci-test-plan.js b/scripts/ci-test-plan.js
index bef2c3f611..67ab3a7deb 100644
--- a/scripts/ci-test-plan.js
+++ b/scripts/ci-test-plan.js
@@ -309,9 +309,9 @@ 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, popover-clamp, safe-storage, heading-truncation, and
- // global-shadow guards read class strings, storage accesses, declarations, and
- // JSX markup out of both extensions.
+ // responsive-grid, popover-clamp, pre-wrap/break, safe-storage,
+ // heading-truncation, and global-shadow guards read class strings, storage
+ // accesses, declarations, and JSX markup 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))) {
@@ -320,6 +320,7 @@ const structuralTestsFor = (changedFiles, trackedSet) => {
add('client/src/hooks/mountedRefConventions.test.js');
add('client/src/pollingConventions.test.js');
add('client/src/popoverClampConventions.test.js');
+ add('client/src/preWrapClasses.test.js');
add('client/src/responsiveGridConventions.test.js');
add('client/src/storageConventions.test.js');
}
diff --git a/scripts/repo-scan-guards.test.js b/scripts/repo-scan-guards.test.js
index 37b814537b..6e7d9c7e17 100644
--- a/scripts/repo-scan-guards.test.js
+++ b/scripts/repo-scan-guards.test.js
@@ -43,6 +43,7 @@ const STRUCTURALLY_SELECTED = new Map([
['client/src/hooks/mountedRefConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
['client/src/pollingConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
['client/src/popoverClampConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
+ ['client/src/preWrapClasses.test.js', 'structuralTestsFor: client/src/**.js(x)'],
['client/src/responsiveGridConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
['client/src/storageConventions.test.js', 'structuralTestsFor: client/src/**.js(x)'],
// `.ps1` is not in EXECUTABLE_RE, so touching one is an "unclassified changed