ci: add e2e benchmarks for lint rules - #11048
Conversation
|
✅ Organic activityNo automation signals detected in the analyzed events. This is an automated analysis by AgentScan |
Merging this PR will degrade performance by 3.17%
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughAdds an end-to-end Divan benchmark for Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8).github/workflows/benchmark.ymlTraceback (most recent call last): Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/benchmark.yml:
- Around line 150-163: Update the service trigger path filters to include the
biome_diagnostics crate source, and include its manifest if manifest changes are
intended to trigger the benchmark job. Preserve the existing service paths and
placement in the workflow.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: f1fbfcbd-03b0-4c16-b7e5-318f697305d7
⛔ Files ignored due to path filters (1)
Cargo.lockis excluded by!**/*.lockand included by**
📒 Files selected for processing (3)
.github/workflows/benchmark.ymlcrates/biome_service/Cargo.tomlcrates/biome_service/benches/pull_diagnostics.rs
Summary
This PR adds three new benchmarks to test some specific lint rules in an e2e setting. I chose the following rules:
noUnusedVariables: semantic model heavy, and used a lot of times. It regressed some time ago.noUnresolvedImportsa project rule that is stablenoMiusedPromisesandnoFloatingPromises: two type-aware lint rules that are very importantI created the benchmarks using a coding agent
Test Plan
Green CI
Docs
N/A