Skip to content

fix(ci): update benchmark workflow for cargo-codspeed v4.3.0#18359

Merged
Boshen merged 1 commit intomainfrom
fix-benchmark-codspeed
Jan 21, 2026
Merged

fix(ci): update benchmark workflow for cargo-codspeed v4.3.0#18359
Boshen merged 1 commit intomainfrom
fix-benchmark-codspeed

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Jan 21, 2026

Summary

  • Fix benchmark directory path: target/codspeed/simulation/target/codspeed/analysis/
  • Update CodSpeedHQ/action v4.7.0 → v4.8.2

Root Cause

cargo-codspeed v4.3.0 (CodSpeedHQ/codspeed-rust#159) changed internal build mode mapping so MeasurementMode::Simulation now maps to BuildMode::Analysis, which changed the expected directory from target/codspeed/simulation/ to target/codspeed/analysis/.

Test plan

  • CI benchmark jobs should pass

🤖 Generated with Claude Code

@Boshen Boshen requested a review from Dunqing as a code owner January 21, 2026 16:07
Copilot AI review requested due to automatic review settings January 21, 2026 16:07
@github-actions github-actions bot added A-formatter Area - Formatter C-bug Category - Bug labels Jan 21, 2026
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jan 21, 2026
Copy link
Member Author

Boshen commented Jan 21, 2026

Merge activity

  • Jan 21, 4:08 PM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.

@Boshen Boshen force-pushed the fix-benchmark-codspeed branch from 7796826 to fc894c9 Compare January 21, 2026 16:08
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

This pull request updates the benchmark CI workflow to support cargo-codspeed v4.3.0 and includes a fix for TypeScript quoted property formatting in classes.

Changes:

  • Updated benchmark workflow directory path from target/codspeed/simulation/ to target/codspeed/analysis/
  • Updated CodSpeedHQ/action from v4.7.0 to v4.8.2
  • Fixed formatter to preserve quotes on TypeScript class properties under --strictPropertyInitialization

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

File Description
.github/workflows/benchmark.yml Updated directory paths and action version to support cargo-codspeed v4.3.0
crates/oxc_formatter/src/utils/object.rs Added TypeScript-specific logic to preserve quoted property names in classes
tasks/prettier_conformance/snapshots/prettier.ts.snap.md Updated snapshot showing improved TypeScript compatibility (583→584 tests passing)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

cargo-codspeed v4.3.0 (CodSpeedHQ/codspeed-rust#159) changed internal
build mode mapping so `MeasurementMode::Simulation` now maps to
`BuildMode::Analysis`, which changed the expected directory from
`target/codspeed/simulation/` to `target/codspeed/analysis/`.

Also updates CodSpeedHQ/action to v4.8.2.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Boshen Boshen force-pushed the fix-benchmark-codspeed branch from fc894c9 to f5053cb Compare January 21, 2026 16:15
@Boshen Boshen merged commit bf74302 into main Jan 21, 2026
22 checks passed
@Boshen Boshen deleted the fix-benchmark-codspeed branch January 21, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-formatter Area - Formatter C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant