History

Make the test suite parallel-safe and speed up CI (#1273)

* Make self-host tests CI-safe * Await cloud db teardown * Give local e2e boots more headroom * Keep main CI runs alive * Cache CI dependencies and image layers * Wait for recorded introspection requests in graphql plugin tests * Size self-host test budget for loaded runners * Probe test http servers for readiness before use * Die on recorder wait timeout instead of typing a string error * Type the recorder wait timeout as a tagged error * Update e2e locators for the integration copy renames * Keep stale data rendered while a refresh is waiting * Guard create-org input against hydration clobbering * Match the new sign-in heading in the selfhost callback test

Rhys Sullivan committed 4 months ago

Commit 8652c991 parent 9c7e4a627 files · +252 −102Browse files

Showing the changes to apps/cloud/src (1 of 27 files). Show all

Unified · Split

apps/cloud/src/db/db.ts+6−10
@@ -73,16 +73,12 @@ const makePostgresResource = (): DbResource => { · 72 unmodified lines
7373 sql,
7474 db: drizzle(sql, { schema: combinedSchema }) as DrizzleDb,
7575 close: () =>
76− Effect.sync(() => {
77− void Effect.runFork(
78− Effect.ignore(
79− Effect.tryPromise({
80− try: () => sql.end({ timeout: 0 }),
81− catch: (cause) => cause,
82− }),
83− ),
84− );
85− }),
76+ Effect.ignore(
77+ Effect.tryPromise({
78+ try: () => sql.end({ timeout: 0 }),
79+ catch: (cause) => cause,
80+ }),
81+ ),
8682 };
8783 };
8884