[rust-compiler] Fix off-by-one in SWC source-location conversion #36501
Annotations
10 errors, 1 warning, and 1 notice
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L300
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForFunction: Test timeout of 30000ms exceeded.
298 | const hash = encodeStore(store);
299 | await page.goto(`/#${hash}`);
> 300 | await page.waitForFunction(isMonacoLoaded);
| ^
301 | await expandConfigs(page);
302 | await page.screenshot({
303 | fullPage: true,
at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:300:14
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L0
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #4 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L300
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForFunction: Test timeout of 30000ms exceeded.
298 | const hash = encodeStore(store);
299 | await page.goto(`/#${hash}`);
> 300 | await page.waitForFunction(isMonacoLoaded);
| ^
301 | await expandConfigs(page);
302 | await page.screenshot({
303 | fullPage: true,
at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:300:14
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L0
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L300
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForFunction: Test timeout of 30000ms exceeded.
298 | const hash = encodeStore(store);
299 | await page.goto(`/#${hash}`);
> 300 | await page.waitForFunction(isMonacoLoaded);
| ^
301 | await expandConfigs(page);
302 | await page.screenshot({
303 | fullPage: true,
at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:300:14
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L0
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L300
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForFunction: Test timeout of 30000ms exceeded.
298 | const hash = encodeStore(store);
299 | await page.goto(`/#${hash}`);
> 300 | await page.waitForFunction(isMonacoLoaded);
| ^
301 | await expandConfigs(page);
302 | await page.screenshot({
303 | fullPage: true,
at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:300:14
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L0
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L300
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Error: page.waitForFunction: Test timeout of 30000ms exceeded.
298 | const hash = encodeStore(store);
299 | await page.goto(`/#${hash}`);
> 300 | await page.waitForFunction(isMonacoLoaded);
| ^
301 | await expandConfigs(page);
302 | await page.screenshot({
303 | fullPage: true,
at /home/runner/work/react/react/compiler/apps/playground/__tests__/e2e/page.spec.ts:300:14
|
|
Run CI=true yarn test:
compiler/apps/playground/__tests__/e2e/page.spec.ts#L0
1) [chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
Test timeout of 30000ms exceeded.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run CI=true yarn test
1 failed
[chromium] › __tests__/e2e/page.spec.ts:286:5 › error is displayed when source has syntax error
16 passed (4.1m)
|
background
wait
wait-all
cancel
Loading