Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Aug 31, 2025

minifier() and complicated() were using different versions of antd.js as fixtures.

This was problematic as the tasks using these fixtures all download the file to same location (target dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.

Use v4.16.1 for both. I chose v4.16.1 rather than v5.12.5, because there's a comment above minifier function saying the versions there (v4.16.1) are kept in sync with privatenumber/minification-benchmarks.

@github-actions github-actions bot added the C-bug Category - Bug label Aug 31, 2025
Copy link
Member Author

overlookmotel commented Aug 31, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review August 31, 2025 10:49
Copilot AI review requested due to automatic review settings August 31, 2025 10:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes a fixture version inconsistency issue where different tasks were using different versions of antd.js, causing unpredictable behavior when tasks download to the same target directory.

  • Standardizes antd.js fixture version to v4.16.1 across all tasks
  • Updates file size comment to reflect the correct size for v4.16.1 (6.7M)
  • Aligns with existing version used in minifier function per privatenumber/minification-benchmarks

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@codspeed-hq
Copy link

codspeed-hq bot commented Aug 31, 2025

CodSpeed Instrumentation Performance Report

Merging #13465 will not alter performance

Comparing 08-31-fix_tasks_use_same_version_of_antd.js_for_all_tasks (02c615e) with main (0d66399)

Summary

✅ 37 untouched benchmarks

@overlookmotel overlookmotel requested a review from Boshen August 31, 2025 11:07
@overlookmotel
Copy link
Member Author

@Boshen I've asked for your review because I'm not 100% sure that v4.16.1 was the right version to choose.

@Boshen Boshen merged commit 84972e4 into main Aug 31, 2025
27 checks passed
@Boshen Boshen deleted the 08-31-fix_tasks_use_same_version_of_antd.js_for_all_tasks branch August 31, 2025 11:18
graphite-app bot pushed a commit that referenced this pull request Sep 26, 2025
#13465 aligned the version of `antd.js` used in different Rust tasks to v4.16.1. But it missed a couple of places in `napi/parser` tests/benchmarks. Align these to same version too.

Misalignment was problematic as the tasks using these fixtures all download the file to same location (`target` dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.
graphite-app bot pushed a commit that referenced this pull request Sep 26, 2025
#13465 aligned the version of `antd.js` used in different Rust tasks to v4.16.1. But it missed a couple of places in `napi/parser` tests/benchmarks. Align these to same version too.

Misalignment was problematic as the tasks using these fixtures all download the file to same location (`target` dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.
graphite-app bot pushed a commit that referenced this pull request Sep 26, 2025
#13465 aligned the version of `antd.js` used in different Rust tasks to v4.16.1. But it missed a couple of places in `napi/parser` tests/benchmarks. Align these to same version too.

Misalignment was problematic as the tasks using these fixtures all download the file to same location (`target` dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.
overlookmotel added a commit that referenced this pull request Sep 26, 2025
#13465 aligned the version of `antd.js` used in different Rust tasks to v4.16.1. But it missed a couple of places in `napi/parser` tests/benchmarks. Align these to same version too.

Misalignment was problematic as the tasks using these fixtures all download the file to same location (`target` dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.
graphite-app bot pushed a commit that referenced this pull request Sep 26, 2025
#13465 aligned the version of `antd.js` used in different Rust tasks to v4.16.1. But it missed a couple of places in `napi/parser` tests/benchmarks. Align these to same version too.

Misalignment was problematic as the tasks using these fixtures all download the file to same location (`target` dir) and don't re-download if the file is already present. This lead to unpredictable results depending on which task you ran first, and so which version was downloaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants