Skip to content

fix(ci): raise the e2e jest timeout for cold CI runners - #549

Merged
RonenMars merged 1 commit into
mainfrom
fix/e2e-jest-timeout
Aug 4, 2026
Merged

fix(ci): raise the e2e jest timeout for cold CI runners#549
RonenMars merged 1 commit into
mainfrom
fix/e2e-jest-timeout

Conversation

@RonenMars

Copy link
Copy Markdown
Owner

Summary

The advisory E2E jest job has flaked twice on cold CI with the same failure: feedback-flow › shows all entry points exceeding Jest's default 5s per-test timeout. Local isolation passes, and a single CI re-run goes green — documented in #542 with the instruction to raise the timeout on recurrence rather than delete the job.

test:e2e now passes --testTimeout=20000 so cold-start renders on CI runners stop tipping the default.

Test plan

Open in Web Open in Cursor 

The advisory E2E jest job has timed out twice on feedback-flow's first
test (default 5s) under cold CI load while the same suite passes locally
and on re-run (#542). Give each e2e test 20s so cold-start renders stop
flaking the job.
@RonenMars RonenMars closed this Aug 4, 2026
@RonenMars RonenMars reopened this Aug 4, 2026
@RonenMars
RonenMars marked this pull request as ready for review August 4, 2026 15:24
@RonenMars
RonenMars merged commit 223d253 into main Aug 4, 2026
31 checks passed
@RonenMars
RonenMars deleted the fix/e2e-jest-timeout branch August 4, 2026 15:24
RonenMars added a commit that referenced this pull request Aug 4, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

The advisory `E2E jest` job has flaked twice on cold CI with the same
failure: `feedback-flow › shows all entry points` exceeding Jest's
default 5s per-test timeout. Local isolation passes, and a single CI
re-run goes green — documented in #542 with the instruction to raise the
timeout on recurrence rather than delete the job.

`test:e2e` now passes `--testTimeout=20000` so cold-start renders on CI
runners stop tipping the default.

## Test plan

- [x] `npm run test:e2e` — 7 suites / 60 tests pass locally with the new
timeout
- [x] `E2E jest` green on the previous run of this change without a
re-run (feedback-flow suite still ~18s on CI; 20s per-test margin holds)
- [ ] After merge, #542 can be closed if the next few PR runs stay green

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-81427069-eace-4d04-983d-af1299c47c6f?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-81427069-eace-4d04-983d-af1299c47c6f&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
RonenMars added a commit that referenced this pull request Aug 4, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

The advisory `E2E jest` job has flaked twice on cold CI with the same
failure: `feedback-flow › shows all entry points` exceeding Jest's
default 5s per-test timeout. Local isolation passes, and a single CI
re-run goes green — documented in #542 with the instruction to raise the
timeout on recurrence rather than delete the job.

`test:e2e` now passes `--testTimeout=20000` so cold-start renders on CI
runners stop tipping the default.

## Test plan

- [x] `npm run test:e2e` — 7 suites / 60 tests pass locally with the new
timeout
- [x] `E2E jest` green on the previous run of this change without a
re-run (feedback-flow suite still ~18s on CI; 20s per-test margin holds)
- [ ] After merge, #542 can be closed if the next few PR runs stay green

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-81427069-eace-4d04-983d-af1299c47c6f?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-81427069-eace-4d04-983d-af1299c47c6f&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
RonenMars added a commit that referenced this pull request Aug 4, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

The advisory `E2E jest` job has flaked twice on cold CI with the same
failure: `feedback-flow › shows all entry points` exceeding Jest's
default 5s per-test timeout. Local isolation passes, and a single CI
re-run goes green — documented in #542 with the instruction to raise the
timeout on recurrence rather than delete the job.

`test:e2e` now passes `--testTimeout=20000` so cold-start renders on CI
runners stop tipping the default.

## Test plan

- [x] `npm run test:e2e` — 7 suites / 60 tests pass locally with the new
timeout
- [x] `E2E jest` green on the previous run of this change without a
re-run (feedback-flow suite still ~18s on CI; 20s per-test margin holds)
- [ ] After merge, #542 can be closed if the next few PR runs stay green

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-81427069-eace-4d04-983d-af1299c47c6f?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-81427069-eace-4d04-983d-af1299c47c6f&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
RonenMars added a commit that referenced this pull request Aug 4, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

The advisory `E2E jest` job has flaked twice on cold CI with the same
failure: `feedback-flow › shows all entry points` exceeding Jest's
default 5s per-test timeout. Local isolation passes, and a single CI
re-run goes green — documented in #542 with the instruction to raise the
timeout on recurrence rather than delete the job.

`test:e2e` now passes `--testTimeout=20000` so cold-start renders on CI
runners stop tipping the default.

## Test plan

- [x] `npm run test:e2e` — 7 suites / 60 tests pass locally with the new
timeout
- [x] `E2E jest` green on the previous run of this change without a
re-run (feedback-flow suite still ~18s on CI; 20s per-test margin holds)
- [ ] After merge, #542 can be closed if the next few PR runs stay green

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-81427069-eace-4d04-983d-af1299c47c6f?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-81427069-eace-4d04-983d-af1299c47c6f&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
RonenMars added a commit that referenced this pull request Aug 4, 2026
The advisory `E2E jest` job has flaked twice on cold CI with the same
failure: `feedback-flow › shows all entry points` exceeding Jest's
default 5s per-test timeout. Local isolation passes, and a single CI
re-run goes green — documented in #542 with the instruction to raise the
timeout on recurrence rather than delete the job.

`test:e2e` now passes `--testTimeout=20000` so cold-start renders on CI
runners stop tipping the default.

- [x] `npm run test:e2e` — 7 suites / 60 tests pass locally with the new
timeout
- [x] `E2E jest` green on the previous run of this change without a
re-run (feedback-flow suite still ~18s on CI; 20s per-test margin holds)
- [ ] After merge, #542 can be closed if the next few PR runs stay green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants