Skip to content

Commit 3019b87

Browse files
committed
test(web): allow cold timeline imports on CI
Give the component-import hook a finite two-minute cold-start budget; retain the individual test timeouts and assertions. Carry-Group: upstream-bugfixes Carry-Fix: pingdotgg#16608 Carry-Upstream: pingdotgg#16608 (head 5bd1a4d) Carry-Observation: Two full Intel CI attempts exceeded the 30-second import setup budget before any timeline assertions ran. Carry-Evidence: https://github.com/lastobelus/lastCode/actions/runs/37502392143/job/112423257139
1 parent b1326f7 commit 3019b87

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/chat/MessagesTimeline.test.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,11 @@ function stubDomGlobals() {
260260
}
261261

262262
beforeEach(stubDomGlobals);
263+
// Cold transformation of the full chat dependency graph needs extra time on slower CI workers.
263264
beforeAll(async () => {
264265
Object.defineProperty(window, "matchMedia", { value: matchMedia, configurable: true });
265266
({ MessagesTimeline, resolvePreviewAnnotationImage } = await import("./MessagesTimeline"));
266-
}, 30_000);
267+
}, 120_000);
267268

268269
const ACTIVE_THREAD_ENVIRONMENT_ID = EnvironmentId.make("environment-local");
269270
const MESSAGE_CREATED_AT = "2026-03-17T19:12:28.000Z";

0 commit comments

Comments
 (0)