fix: use existing files in BenchmarkMinify#1214
Conversation
Remove tests under WG_INTERNAL os env var.
WalkthroughThe benchmark and unit tests in the minifier test file were updated to use different input files. A buffer length check was removed from the benchmark, and conditional test cases that depended on an environment variable were deleted from the unit tests. No changes were made to exported or public declarations. Changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)v2/pkg/astminify/minify_test.go (1)⏰ 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). (6)
🔇 Additional comments (3)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🤖 I have created a release *beep* *boop* --- ## [2.0.0-rc.200](v2.0.0-rc.199...v2.0.0-rc.200) (2025-07-08) ### Features * implement resolving fetch dependencies ([#1216](#1216)) ([ca9ebaa](ca9ebaa)) ### Bug Fixes * use existing files in BenchmarkMinify ([#1214](#1214)) ([0083b78](0083b78)) * use int in netpoll's BenchmarkSocketFdReflect ([#1213](#1213)) ([35f3175](35f3175)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for resolving fetch dependencies. * **Bug Fixes** * Fixed an issue to ensure existing files are used in the BenchmarkMinify test. * Corrected the type used in netpoll's BenchmarkSocketFdReflect benchmark to int. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Use existing files for the simple benchmark instead of dev's temporaries.
Remove tests under WG_INTERNAL os env var.
@coderabbitai summary