core-agent-ide/.github/workflows
Michael Bolin 58a59a2dae
Use thin LTO for alpha Rust release builds (#11348)
We are looking to speed up build times for alpha releases, but we do not
want to completely compromise on runtime performance by shipping debug
builds. This PR changes our CI so that alpha releases build with
`lto="thin"` instead of `lto="fat"`.

Specifically, this change keeps `[profile.release] lto = "fat"` as the
default in `Cargo.toml`, but overrides LTO in CI using
`CARGO_PROFILE_RELEASE_LTO`:
- `rust-release.yml`: use `thin` for `-alpha` tags, otherwise `fat`
- `shell-tool-mcp.yml`: use `thin` for `-alpha` versions, otherwise
`fat`

Tradeoffs:
- Alpha binaries may be somewhat larger and/or slightly slower than
fat-LTO builds
- LTO policy now lives in workflow logic for two pipelines, so
consistency must be maintained across both files

Note `CARGO_PROFILE_<name>_LTO` is documented on
https://doc.rust-lang.org/cargo/reference/environment-variables.html#configuration-environment-variables.
2026-02-10 11:59:03 -08:00
..
bazel.yml feat(linux-sandbox): add bwrap support (#9938) 2026-02-04 11:13:17 -08:00
cargo-deny.yml bump cargo-deny-action ver (#8345) 2025-12-19 15:23:02 -08:00
ci.bazelrc [bazel] Upgrade some rulesets in preparation for enabling windows, part 2 (#11197) 2026-02-09 20:08:10 +00:00
ci.yml use mainline version as baseline in ci (#8271) 2025-12-18 11:53:36 -08:00
cla.yml Fixed CLA action to properly exempt dependabot (#7429) 2025-11-30 20:45:17 -08:00
close-stale-contributor-prs.yml ci: prevent workflows from running on forks (#8629) 2026-01-03 13:12:16 -07:00
codespell.yml chore(deps): bump actions/checkout from 5 to 6 (#7230) 2025-11-24 11:45:57 -08:00
Dockerfile.bazel fix: support remote arm64 builds, as well (#9018) 2026-01-10 18:41:08 -08:00
issue-deduplicator.yml ci: prevent workflows from running on forks (#8629) 2026-01-03 13:12:16 -07:00
issue-labeler.yml Updated labeler workflow prompt to include "app" label (#10411) 2026-02-02 13:13:14 -08:00
rust-ci.yml feat(linux-sandbox): add bwrap support (#9938) 2026-02-04 11:13:17 -08:00
rust-release-prepare.yml ci: prevent workflows from running on forks (#8629) 2026-01-03 13:12:16 -07:00
rust-release.yml Use thin LTO for alpha Rust release builds (#11348) 2026-02-10 11:59:03 -08:00
sdk.yml Upgrade to rust 1.93 (#10080) 2026-01-28 17:46:18 +00:00
shell-tool-mcp-ci.yml fix: remove references to corepack (#10138) 2026-01-28 23:31:25 -08:00
shell-tool-mcp.yml Use thin LTO for alpha Rust release builds (#11348) 2026-02-10 11:59:03 -08:00