Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 11, 2025

Re-enables the previously skipped fixture.test.ts > output/paths/function test by removing the skip: true flag.

Changes Made

  • Test Re-enabled: Removed skip: true from packages/rolldown/tests/fixtures/output/paths/function/_config.ts
  • Dependency Reverted: Kept tsdown at version 0.16.1 (did not upgrade to 0.16.2 from main branch rebase)

Background

The test was previously disabled due to flaky timeout issues (timing out at 60 seconds). The test has been re-enabled without implementing a timeout fix in the Rust code, as the timeout changes to crates/rolldown_binding/src/types/js_callback.rs were reverted per review feedback.

Note: The test may still be susceptible to the original flaky timeout issue since no timeout protection was added to the invoke_sync method's cvar.wait() call.

Testing

Original prompt

This section details on the original issue you should resolve

<issue_title>Flaky test fixture.test.ts > output/paths/function</issue_title>
<issue_description>Not sure why, but it keeps showing up recently

Image

https://github.com/rolldown/rolldown/runs/53880575830</issue_description>

Comments on the Issue (you are @copilot in this section)

@sapphi-red I wonder if this is related to https://github.com//pull/6474. `cvar.wait` is possibly hanging for some reason. @IWANABETHATGUY > I wonder if this is related to [#6474](https://github.com//pull/6474). `cvar.wait` is possibly hanging for some reason.

Probably, but I never reproduce it locally.</comment_new>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 11, 2025

How to use the Graphite Merge Queue

Add the label graphite: merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@IWANABETHATGUY
Copy link
Member

@copilot just rebase the main branch and reenable the test

@netlify
Copy link

netlify bot commented Nov 11, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit c691295
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/691307d27234ca00097a847c

Copilot AI changed the title [WIP] Fix flaky test in fixture.test.ts fix: add timeout to invoke_sync to prevent indefinite hangs Nov 11, 2025
Copilot AI requested a review from IWANABETHATGUY November 11, 2025 09:00
Copy link
Contributor Author

Copilot AI commented Nov 11, 2025

@copilot just rebase the main branch and reenable the test

Done. Rebased on main and re-enabled the test in commit 25d2be9. The test now passes successfully - verified with the full test suite (338 tests passed).

@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

Benchmarks Rust

group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.02     69.7±3.08ms        ? ?/sec    1.00     68.6±2.67ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.02     76.1±3.56ms        ? ?/sec    1.00     74.6±2.84ms        ? ?/sec
bundle/bundle@rome_ts                                        1.00    112.5±3.05ms        ? ?/sec    1.00    112.5±2.83ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    126.1±3.25ms        ? ?/sec    1.01    127.0±3.20ms        ? ?/sec
bundle/bundle@threejs                                        1.00     42.8±2.79ms        ? ?/sec    1.02     43.8±1.38ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.02     45.6±1.45ms        ? ?/sec    1.00     44.6±1.36ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    407.2±6.64ms        ? ?/sec    1.00    406.4±7.15ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.01    467.6±5.78ms        ? ?/sec    1.00    465.0±5.21ms        ? ?/sec
scan/scan@rome_ts                                            1.00     87.0±2.19ms        ? ?/sec    1.01     88.2±3.95ms        ? ?/sec
scan/scan@threejs                                            1.01     29.6±1.92ms        ? ?/sec    1.00     29.2±0.59ms        ? ?/sec
scan/scan@threejs10x                                         1.00    302.9±4.98ms        ? ?/sec    1.01    304.8±4.31ms        ? ?/sec

Copilot AI changed the title fix: add timeout to invoke_sync to prevent indefinite hangs test: re-enable output/paths/function test Nov 11, 2025
@IWANABETHATGUY IWANABETHATGUY marked this pull request as ready for review November 11, 2025 09:54
@IWANABETHATGUY IWANABETHATGUY enabled auto-merge (squash) November 11, 2025 10:12
@IWANABETHATGUY IWANABETHATGUY merged commit 5832107 into main Nov 11, 2025
25 checks passed
@IWANABETHATGUY IWANABETHATGUY deleted the copilot/fix-flaky-test-issue branch November 11, 2025 10:14
shulaoda pushed a commit that referenced this pull request Nov 12, 2025
## [1.0.0-beta.50] - 2025-11-12

### 🚀 Features

- rolldown: oxc_resolver v11.13.2 (#6956) by @Boshen
- rolldown: oxc v0.97.0 (#6940) by @Boshen

### 🐛 Bug Fixes

- handle error when creating output chunk directories (#6953) by @sapphi-red
- throw error if `experimental.hmr` is set for APIs other than `dev` (#6860) by @Copilot
- apply output.paths transformation to chunk.imports and generated code (#6923) by @Copilot

### 🚜 Refactor

- use `anyhow::Context::context` where applicable (#6952) by @sapphi-red
- dev: use actor design pattern and allow to recover from intial build error (#6936) by @hyf0

### 📚 Documentation

- add sitemap (#6929) by @mdong1909

### 🧪 Testing

- validate publishConfig.exports matches exports field (#6950) by @Copilot
- re-enable output/paths/function test (#6934) by @Copilot

### ⚙️ Miscellaneous Tasks

- rename `rolldown_watcher` to `rolldown_fs_watcher` (#6958) by @hyf0
- enable trust policy (#6948) by @iiio2
- deps: update napi (#6951) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.17.6 (#6947) by @renovate[bot]
- deps: update npm packages (#6937) by @renovate[bot]
- deps: update dependency tsdown to v0.16.2 (#6933) by @renovate[bot]

### ❤️ New Contributors

* @mdong1909 made their first contribution in [#6929](#6929)

Co-authored-by: sapphi-red <[email protected]>
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.

Flaky test fixture.test.ts > output/paths/function

3 participants