Refactor linters, use all from CLI - #180
Conversation
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 38 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR replaces the project-specific lint integration with ChangesLint toolchain migration
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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/ci.yml:
- Around line 85-101: Update the “Install linters” step to verify the downloaded
zlint, zsort, and zwanzig assets against pinned SHA-256 checksums or Sigstore
signatures immediately after download. Make verification fail the workflow
before any extraction, chmod, or installation, and retain the existing
installation flow only after all checks pass.
In `@package.json`:
- Line 12: Update the package.json lint script to use zig fmt --check src
instead of the write-mode zig fmt src, while preserving the existing formatting
behavior in lint:fix.
🪄 Autofix
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: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 65384830-489e-4fa6-866c-7e449ed0df82
📒 Files selected for processing (82)
.github/workflows/ci.ymlAGENTS.mdbuild.zigbuild.zig.zonpackage.jsonsrc/app_test_helpers.zigsrc/authentication/jwt_validator.zigsrc/authentication/jwt_validator_test.zigsrc/authentication/ticket_exchange.zigsrc/authorization/defaults.zigsrc/authorization/doc_predicate.zigsrc/authorization/doc_predicate_test.zigsrc/authorization/evaluate_test.zigsrc/authorization/session_resolver.zigsrc/authorization/test_helpers.zigsrc/checkpoint_test_helpers.zigsrc/checkpoint_worker_test.zigsrc/connection/manager.zigsrc/connection/manager_test.zigsrc/connection/state.zigsrc/connection/state_test.zigsrc/contains_array_equivalence_test.zigsrc/integration_wiring_test.zigsrc/logging_test.zigsrc/message_handler.zigsrc/message_handler_test.zigsrc/message_handler_verification_test.zigsrc/migration_detector_test.zigsrc/msgpack_test_helpers.zigsrc/presence/manager_test.zigsrc/presence/record_test.zigsrc/presence/service_test.zigsrc/presence/worker.zigsrc/presence/worker_test.zigsrc/query/ast.zigsrc/query/ast_test.zigsrc/query/eval.zigsrc/query/hash_context.zigsrc/query/hasher.zigsrc/query/parser.zigsrc/query/test_helpers.zigsrc/queues/mpsc_queue_test.zigsrc/queues/mpsc_queue_thread_safety_test.zigsrc/schema/test_helpers.zigsrc/server.zigsrc/sql/ddl_test.zigsrc/storage_engine.zigsrc/storage_engine/cache.zigsrc/storage_engine/connection.zigsrc/storage_engine/filter_sql.zigsrc/storage_engine/read_buffer.zigsrc/storage_engine/read_worker_perf_test.zigsrc/storage_engine/read_worker_pool.zigsrc/storage_engine/reader.zigsrc/storage_engine/sql.zigsrc/storage_engine/write_queue.zigsrc/storage_engine/write_worker.zigsrc/storage_engine/write_worker_perf_test.zigsrc/storage_engine_sql_test.zigsrc/storage_engine_test.zigsrc/storage_engine_test_helpers.zigsrc/store_service.zigsrc/subscription/change_queue.zigsrc/subscription/consistency_test.zigsrc/subscription/engine.zigsrc/subscription/engine_thread_safety_test.zigsrc/subscription/predicate_trie.zigsrc/subscription/worker_pool.zigsrc/subscription/worker_pool_perf_test.zigsrc/subscription/worker_pool_test.zigsrc/test_all.zigsrc/typed/codec.zigsrc/typed/codec_test.zigsrc/typed/test_helpers.zigsrc/typed/types.zigsrc/typed/types_test.zigsrc/uwebsockets_wrapper_test.zigsrc/wire/decode_test.zigsrc/wire/encode.zigsrc/wire/encode_test.zigtools/zsort.zigtools/zsort_test.zig
💤 Files with no reviewable changes (8)
- build.zig.zon
- src/typed/types.zig
- build.zig
- tools/zsort_test.zig
- src/typed/codec.zig
- src/storage_engine/connection.zig
- src/subscription/predicate_trie.zig
- tools/zsort.zig
Summary by CodeRabbit
Chores
Documentation
Refactor