Conversation
There was a problem hiding this comment.
I'm Bonk, and I've done a quick review of your PR.
Build maintenance: Bazel 9.0.1, clang-tidy 22.1.1, zlib auto-update, lol-html import cleanup, dep graph fixes, aspect_rules_lint removal, macOS CI consolidation.
Issues found:
- [HIGH]
.clang-tidy: Removing-*,fromCheckssilently enables all default clang-tidy checks (~120 additional checks includingclang-analyzer-*). Combined withWarningsAsErrors: '*', this will likely cause many new build failures.
This review was generated by an AI assistant and may contain inaccuracies.
|
I'm Bonk, and I've done a quick review of your PR. The PR is a clean build maintenance batch: Bazel 9.0.1, clang-tidy 22.1.1, zlib auto-update, lol-html import cleanup via I found one high-severity issue:
Everything else looks correct -- the dep moves are well-motivated and verified, the lol-html alias approach is cleaner, and the macOS CI consolidation properly deduplicates the |
Bonk blindly follows the comments here, which is sometimes useful but in this case they are incorrect: clang-tidy does not have a concept of default checks, so the |
- Roll Bazel 9.0.0 : 9.0.1 - Drop aspect_rules_lint – we ended up not using this, and it ends up pulling in several bulky dependencies which don't properly support Bazel 9 yet. - Update clang-tidy to latest patch release, includes a bug fix for readability- redundant-typename. Update comments in .clang-tidy - Do not add -UDEBUG twice in macOS CI builds - Ensure that on macOS ci-disable-benchmarks is set for build and not just test; benchmarks will still get built otherwise. - Update zlib and automate it - Refer to Trixie in the readme (latest Debian release). Bookworm continues to be supported as mentioned under the system requirements.
This makes future maintenance easier as we no longer need to manually update the c-api crate version when it changes.
- workerd-api.h is a very expensive header – don't include it when it is not needed. - C++ JSG does not depend on Rust JSG, fixing this should get rid of a number of unnecessary linker inputs
efb3c0d to
6ecb144
Compare
03-11-26 build maintenance
[build] Improve how lol-html C API header is imported
[build] Clean up workerd includes and bazel deps
===========
Also see the workerd PR.