ci(benchmark/react): disable setting GCThreshold to int_max when frozen mode#1746
ci(benchmark/react): disable setting GCThreshold to int_max when frozen mode#1746hzy merged 1 commit intolynx-family:mainfrom
Conversation
|
📝 WalkthroughWalkthroughUpdated the PICK_COMMIT constant in the benchx_cli build script to a new commit hash, changing which commit is cherry-picked during the build. No other logic or constants were modified. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Pre-merge checks❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the PICK_COMMIT hash in the benchmark CLI build script, changing from an older commit to a newer one that disables setting GCThreshold to int_max when in frozen mode.
- Updates the cherry-pick commit hash to incorporate a fix related to garbage collection threshold handling in frozen mode
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
packages/lynx/benchx_cli/scripts/build.mjs(1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-09-12T09:43:04.810Z
Learnt from: gaoachao
PR: lynx-family/lynx-stack#1736
File: .changeset/spotty-experts-smoke.md:1-3
Timestamp: 2025-09-12T09:43:04.810Z
Learning: In the lynx-family/lynx-stack repository, private packages (marked with "private": true in package.json) like lynx-js/react-transform don't require meaningful changeset entries even when their public APIs change, since they are not published externally and only affect internal development.
Applied to files:
packages/lynx/benchx_cli/scripts/build.mjs
📚 Learning: 2025-09-12T09:43:04.810Z
Learnt from: gaoachao
PR: lynx-family/lynx-stack#1736
File: .changeset/spotty-experts-smoke.md:1-3
Timestamp: 2025-09-12T09:43:04.810Z
Learning: In the lynx-family/lynx-stack repository, empty changeset files (containing only `---\n\n---`) are used for internal changes that modify src/** files but don't require meaningful release notes, such as private package changes or testing-only modifications. This satisfies CI requirements without generating user-facing release notes.
Applied to files:
packages/lynx/benchx_cli/scripts/build.mjs
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: build / Build (Ubuntu)
- GitHub Check: build / Build (Windows)
- GitHub Check: test-rust / Test (Ubuntu)
🔇 Additional comments (2)
packages/lynx/benchx_cli/scripts/build.mjs (2)
105-106: Cherry-pick operation correctly uses the updated commit.The script properly fetches and cherry-picks the new commit hash. The logic for applying the patch during the benchx_cli build process remains consistent.
123-123: Build configuration includes frozen mode as expected.The GN build arguments correctly include
enable_frozen_mode=true, which aligns with the PR objective of modifying behavior specifically when running in frozen mode.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
React Example#5195 Bundle Size — 238.9KiB (0%).f60132b(current) vs 5ad38e6 main#5156(baseline) Bundle metrics
|
| Current #5195 |
Baseline #5156 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
4 |
4 |
|
163 |
163 |
|
67 |
67 |
|
46.79% |
46.79% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #5195 |
Baseline #5156 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
93.14KiB |
93.14KiB |
Bundle analysis report Branch hzy:p/hzy/bench_13 Project dashboard
Generated by RelativeCI Documentation Report issue
Web Explorer#5188 Bundle Size — 362.79KiB (0%).f60132b(current) vs 5ad38e6 main#5149(baseline) Bundle metrics
|
| Current #5188 |
Baseline #5149 |
|
|---|---|---|
145.21KiB |
145.21KiB |
|
31.89KiB |
31.89KiB |
|
0% |
0% |
|
8 |
8 |
|
8 |
8 |
|
219 |
219 |
|
16 |
16 |
|
3.34% |
3.34% |
|
4 |
4 |
|
0 |
0 |
Bundle size by type no changes
| Current #5188 |
Baseline #5149 |
|
|---|---|---|
236.88KiB |
236.88KiB |
|
94.02KiB |
94.02KiB |
|
31.89KiB |
31.89KiB |
Bundle analysis report Branch hzy:p/hzy/bench_13 Project dashboard
Generated by RelativeCI Documentation Report issue
CodSpeed Performance ReportMerging #1746 will improve performances by 6.03%Comparing Summary
Benchmarks breakdown
|
To compare: lynx-family/lynx@develop...hzy:lynx:p/hzy/benchx_cli
Summary by CodeRabbit
Checklist