The best way to control Claude Code, Codex and more from any computer or phone
fix(ci): a providerEnv.ts change runs every package's tests (#28286)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Victor Vogel committed
Nov 1, 2026 at 16:02 UTC
3d10957d3f98608fee81c9e3fe4d4337dd530683
2 files changed
+8
-1
.github/scripts/ci-changes.cjs
+1
-1
@@ -14,7 +14,7 @@ const INERT = [
14
15
// Shared test setup and vendored mobile dependencies affect every package.
16
const RUNS_EVERYTHING = [
17
- /^packages\/shared\/src\/(HostProcess|testing\/longTempDir)\.ts$/,
17
+ /^packages\/shared\/src\/(HostProcess|testing\/(longTempDir|providerEnv))\.ts$/,
18
/^apps\/mobile\/deps\//,
19
];
20
scripts/check-changed.test.ts
+7
@@ -178,6 +178,13 @@ describe("check:changed", () => {
178
);
179
});
180
});
181
+
182
+ it.each([
183
+ "packages/shared/src/testing/longTempDir.ts",
184
+ "packages/shared/src/testing/providerEnv.ts",
185
+ ])("tests every package when the shared test setup file %s changes", (file) => {
186
+ assert.strictEqual(decide([file], readWorkspace(), false).outputs.test_packages, "");
187
+ });
188
});
189
190
// Hooks export GIT_DIR and GIT_INDEX_FILE, and user config or the default