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

test: the DB job's browser step runs an exact file list, so it needs no diff base (#10312)

[._.]/ Adam Eivyd36b61334df7
diff --git a/scripts/ci-base-sha.test.js b/scripts/ci-base-sha.test.js
index 8ff097d0a2..70e461a47c 100644
--- a/scripts/ci-base-sha.test.js
+++ b/scripts/ci-base-sha.test.js
@@ -56,8 +56,11 @@ describe('ci.yml checkout depth', () => {
});
it('resolves the diff base in every job that consumes it', () => {
+ // The `database` job's run-ci-tests.js step is CI_TEST_MODE=files with the
+ // planner's exact browser-suite list (#10312): it diffs nothing, so it needs
+ // neither the base nor a depth-2 clone.
const consumers = Object.entries(jobs)
- .filter(([, body]) => /run-ci-tests\.js|ci-test-plan\.js/.test(body));
+ .filter(([id, body]) => id !== 'database' && /run-ci-tests\.js|ci-test-plan\.js/.test(body));
expect(consumers.map(([id]) => id).sort())
.toEqual(['client', 'impact', 'server', 'windows-server']);