Repository navigation
fix: stabilize main CI failures - #1056
Merged
Merged
Conversation
leonidaz
marked this pull request as ready for review
September 11, 2026 21:07
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Command palette poll timeout too short
- The command-palette expect.poll now uses PLAYWRIGHT_ACTION_TIMEOUT (20s) so hydration can attach the search-trigger handler under concurrent CI load instead of failing at Vitest's 1s default.
Or push these changes by commenting:
@cursor push 096c174db9
Preview (096c174db9)
diff --git a/website/tests/ssr-hydration.e2e.test.ts b/website/tests/ssr-hydration.e2e.test.ts
--- a/website/tests/ssr-hydration.e2e.test.ts
+++ b/website/tests/ssr-hydration.e2e.test.ts
@@ -1013,11 +1013,14 @@
// SSR exposes the trigger before hydration attaches its event. Opening is
// idempotent, so retry the observable interaction until the dialog exists.
await expect
- .poll(async () => {
- if (await searchInput.isVisible()) return true;
- await trigger.click();
- return searchInput.isVisible();
- })
+ .poll(
+ async () => {
+ if (await searchInput.isVisible()) return true;
+ await trigger.click();
+ return searchInput.isVisible();
+ },
+ { timeout: PLAYWRIGHT_ACTION_TIMEOUT },
+ )
.toBe(true);
await searchInput.fill('tanstack');
const firstResult = page.locator('.search-entity').first();You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit 01a3fc6. Configure here.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
8 of 9 tasks
Closed
68 of 84 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
CameraPropsWhy
Recent
mainfailures split into a deterministic dependency-compatibility break and resource-sensitive test races. The newestmainrun failed only Three compatibility after@types/[email protected]; earlier failures repeatedly hit the same 5-second Solana/Volar ceilings, stale Input OTP selection in both the pristine and adapted browser lanes, random parity worker loss, and readiness-sensitive website/browser-tooling checks. The broad Playwright-install failure was an external Ubuntu package-mirror outage and is intentionally not encoded as a product workaround.Validation
pnpm format:files:checkpnpm format:check(full CI)pnpm typecheck(full CI)pnpm test(full CI)pnpm syncpnpm react-parity:validate(stable 5,345 cases; canary 5,413 cases)node --test scripts/ci-workflow.test.mjs(62 tests)tsgo, public type program, and 137 compatibility teststsgo, public type program, and 137 compatibility testspnpm typecheck:filesselects the full pre-existing Volar test module and reports existing errors at lines 11/312/314/365/366; the changed test is at line 981. The package-specific Three type programs above pass, and full CI remains the authoritative aggregate gate.Risk / follow-ups
packages/three/UPSTREAM.mdand is outside this CI-fix scope.Provenance
agent-authored)Note
Low Risk
Changes are limited to test types, timeouts, worker caps, and e2e wait logic; the Three camera option is a typing alignment for the test renderer only.
Overview
Targets flaky and deterministic main CI failures with test-harness and typing fixes rather than product behavior changes.
@octanejs/three:createThreeTestRenderer’s optionalcamerais typed as rootCameraProps(constructedTHREE.PerspectiveCameraor declarative{ position: [...] }), fixing the break after newer@types/three; typetests and a patch changeset document the contract.Test stability: React-parity Vitest caps
maxWorkers: 2on CI (config + workflow assertion). Input OTP browser/pristine helpers assert realselectionStart/selectionEndalongside mirror attributes; adapted selection tests centralize that inexpectMirrorSelection. SolanasubSlottest drops redundant module churn; Volar’s heavy type-program case gets a 15s budget. Vitest browser collection uses dynamic import aftervi.mockso mock cleanup does not race static hoisting.Website e2e:
loadRouteaccepts an optional viewport; the constrained command-palette case uses it and polls trigger clicks until the search input is interactive after hydration. Parity audit JSON hashes update from touched test files.Reviewed by Cursor Bugbot for commit f3a230a. Bugbot is set up for automated code reviews on this repo. Configure here.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.