Conversation
|
Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset. In case there are security findings, they will be communicated to you as a comment inside the PR. Hope you’ll enjoy using Jit. Questions? Comments? Want to learn more? Get in touch with us. |
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
Automated performance analysis summaryThis comment was automatically generated given there is performance data available. In summary:
You can check a comparison in detail via the grafana link ## DetailsTests with No Significant Changes (30 tests)Tests with No Significant Changes
|
Automated performance analysis summaryThis comment was automatically generated given there is performance data available. In summary:
You can check a comparison in detail via the grafana link Performance Regressions and Issues - Comparison between master and gd_lto_ci.Time Period from a month ago. (environment used: oss-standalone)
Tests with No Significant Changes (35 tests)Tests with No Significant Changes
|
That's the version currently required to build with LTO. Also: move llvm version to its own file so we can have the version in a single place.
Maybe we could rename the PR to reflect this before merging? |
.github/workflows/task-test.yml
Outdated
| LOG: 1 | ||
| CLEAR_LOGS: 0 | ||
| ENABLE_ASSERT: 1 | ||
| LTO: ${{ needs.get-config.outputs.enable_lto }} |
There was a problem hiding this comment.
We don't want LTO on coverage/sanitize tasks.
There was a problem hiding this comment.
Fixed.
But I don't remember why not?
There was a problem hiding this comment.
For coverage, the fewer optimisations you have, the better the report (as a rule of thumb).
For sanitiser, it's complex/slow enough as is, I'd prefer to avoid adding yet another source of build complexity there. But I could be convinced otherwise.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
That's the only platform with a new enough toolchain for now.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8092 +/- ##
==========================================
- Coverage 82.39% 82.35% -0.05%
==========================================
Files 449 449
Lines 62470 62501 +31
Branches 19805 19805
==========================================
Hits 51471 51471
- Misses 10805 10836 +31
Partials 194 194
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|




Enable LTO in the CI:
Mark if applicable
Release Notes
Note
Medium Risk
Medium risk because it changes CI build flags and LLVM toolchain installation/versioning, which can affect build determinism and introduce platform-specific failures.
Overview
Enables Link Time Optimization (LTO) in CI for
ubuntu:nobleby extendingtask-get-config.ymlwith anenable_ltooutput and setting it to1for Noble on bothx86_64andaarch64.Updates
task-test.ymlto exportLTO=1only when the platform enables it, and automatically disables LTO for sanitizer and coverage runs.Introduces centralized LLVM versioning via
.install/LLVM_VERSION.sh(set to 21), updates.install/install_llvm.shto use that version on Linux while pinning macOS to LLVM 18, and ensures Ubuntu 24.04 setup installs LLVM (ubuntu_24.04.shcallsinstall_llvm.sh).Written by Cursor Bugbot for commit 793bf88. This will update automatically on new commits. Configure here.