Skip to content

Comments

ci: fix event type handling in benchmark workflows#7632

Merged
hyf0 merged 3 commits intoskip-benchmarks-graphite-mergefrom
copilot/sub-pr-7631
Dec 23, 2025
Merged

ci: fix event type handling in benchmark workflows#7632
hyf0 merged 3 commits intoskip-benchmarks-graphite-mergefrom
copilot/sub-pr-7631

Conversation

Copy link
Contributor

Copilot AI commented Dec 23, 2025

  • Fix the condition in codspeed-benchmark job in benchmark-rust.yml to handle non-PR events
  • Add label filtering to benchmark-node job in benchmark-node.yml to skip 'graphite: merge-when-ready' labeled PRs
  • Ensure both jobs handle event types correctly
  • Update label name to 'graphite: merge-when-ready'

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update CI to address feedback and optimize benchmark node job ci: fix event type handling in benchmark workflows Dec 23, 2025
Copilot AI requested a review from hyf0 December 23, 2025 03:30
@hyf0
Copy link
Member

hyf0 commented Dec 23, 2025

@copilot Change the label name to graphite: merge-when-ready

Copy link
Contributor Author

Copilot AI commented Dec 23, 2025

@copilot Change the label name to graphite: merge-when-ready

Updated in 7b33c65. Changed all occurrences from 'graphite: merge' to 'graphite: merge-when-ready' in both benchmark workflows.

@hyf0 hyf0 marked this pull request as ready for review December 23, 2025 03:34
Copilot AI review requested due to automatic review settings December 23, 2025 03:34
@hyf0 hyf0 merged commit c430cfa into skip-benchmarks-graphite-merge Dec 23, 2025
5 checks passed
@hyf0 hyf0 deleted the copilot/sub-pr-7631 branch December 23, 2025 03:34
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 PR fixes event type handling in benchmark workflows to ensure jobs run correctly for both pull request and non-pull request events (push, workflow_dispatch), while also updating label filtering to skip PRs marked with the 'graphite: merge-when-ready' label.

  • Updated conditional logic to properly handle non-PR events by adding github.event_name != 'pull_request' || checks
  • Changed label filter from 'graphite: merge' to 'graphite: merge-when-ready' across all benchmark jobs
  • Added label filtering to the benchmark-node job which previously lacked it

Reviewed changes

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

File Description
.github/workflows/benchmark-rust.yml Updated conditions for codspeed-benchmark job to handle non-PR events and updated label name for both codspeed-benchmark and benchmark-rust jobs
.github/workflows/benchmark-node.yml Added conditional check to benchmark-node job to skip draft PRs and those with 'graphite: merge-when-ready' label, and to allow non-PR events

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

@github-actions
Copy link
Contributor

Benchmarks Rust

  • target: skip-benchmarks-graphite-merge(48909ea)
  • pr: copilot/sub-pr-7631(7b33c65)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00     64.6±2.04ms        ? ?/sec    1.00     64.3±1.51ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.00     70.6±2.23ms        ? ?/sec    1.00     70.7±2.06ms        ? ?/sec
bundle/bundle@rome_ts                                        1.00    107.3±2.34ms        ? ?/sec    1.00    107.7±1.95ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    119.6±1.59ms        ? ?/sec    1.01    120.5±1.61ms        ? ?/sec
bundle/bundle@threejs                                        1.00     39.0±1.21ms        ? ?/sec    1.00     39.2±0.50ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.00     43.1±0.97ms        ? ?/sec    1.00     43.3±0.80ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00    392.6±4.13ms        ? ?/sec    1.01    398.0±5.38ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.00    452.6±3.36ms        ? ?/sec    1.01    455.0±3.24ms        ? ?/sec
scan/scan@rome_ts                                            1.02     85.6±2.54ms        ? ?/sec    1.00     84.2±1.33ms        ? ?/sec
scan/scan@threejs                                            1.02     28.8±1.55ms        ? ?/sec    1.00     28.2±0.32ms        ? ?/sec
scan/scan@threejs10x                                         1.00    296.9±4.61ms        ? ?/sec    1.00    296.3±5.98ms        ? ?/sec

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.

2 participants