Skip to content

Commit 7959bdc

Browse files
committed
test(driver-sql): fold the CI note into the branch that follows it
Claude-Session: https://claude.ai/code/session_01CqmCgU5RGDoJYhHUMVp2af Co-authored-by: Claude <noreply@anthropic.com>
1 parent 91e68c6 commit 7959bdc

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

packages/drivers/driver-sql/src/live-dialect-coverage.reporter.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,14 @@ function report(testModules: ReadonlyArray<TestModule>): string {
219219
`package is in that population, and a green above says nothing about any of them.`,
220220
),
221221
'',
222-
...wrap(
223-
'CI runs those cells in `Temporal Conformance (live PG + MySQL)`, which sets ' +
224-
'OS_EXPECT_LIVE_DIALECT_MATRIX=1 — there an unprovisioned cell is a named failure ' +
225-
'rather than a skip.',
226-
),
227222
);
223+
const ciNote =
224+
'CI runs those cells in `Temporal Conformance (live PG + MySQL)`, which sets ' +
225+
'OS_EXPECT_LIVE_DIALECT_MATRIX=1 — there an unprovisioned cell is a named failure ' +
226+
'rather than a skip.';
228227
if (missing.some((cell) => cell.id === 'pg')) {
229228
lines.push(
230-
...wrap('To run the postgres half here (measured: ~1 min to provision):'),
229+
...wrap(`${ciNote} To run the postgres half here (measured: ~1 min to provision):`),
231230
'',
232231
...PG_RECIPE,
233232
'',
@@ -242,9 +241,9 @@ function report(testModules: ReadonlyArray<TestModule>): string {
242241
// front of a reader as a casual next line; naming the variable is enough.
243242
lines.push(
244243
...wrap(
245-
`Only the live mysql cell is left. Provisioning MySQL means installing a server into ` +
246-
`this environment, so no recipe is offered here — set OS_TEST_MYSQL_URL if you ` +
247-
`already have one, otherwise CI is where that cell runs.`,
244+
`${ciNote} Provisioning MySQL locally means installing a server into this ` +
245+
`environment, so no recipe is offered here — set OS_TEST_MYSQL_URL if you already ` +
246+
`have one, otherwise CI is where that cell runs.`,
248247
),
249248
);
250249
}

0 commit comments

Comments
 (0)