core-agent-ide/.github
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
..
actions [release] Add a dmg target for MacOS (#8207) 2025-12-18 11:19:10 -08:00
codex Fix minor typos in comments and documentation (#10287) 2026-01-30 22:11:02 -08:00
ISSUE_TEMPLATE Fixed icon for CLI bug template (#10552) 2026-02-03 13:27:33 -08:00
prompts Deduplicator fixes (#4635) 2025-10-02 16:01:59 -07:00
scripts feat: enable premessage-deflate for websockets (#10966) 2026-02-07 17:59:34 -08:00
workflows Use thin LTO for alpha Rust release builds (#11348) 2026-02-10 11:59:03 -08:00
codex-cli-splash.png Replaced user documentation with links to developers docs site (#8662) 2026-01-02 13:01:53 -07:00
dependabot.yaml Enable Dependabot updates for Rust toolchain (#2460) 2025-08-19 18:07:21 -07:00
dotslash-config.json include new windows binaries in npm package. (#8140) 2025-12-16 16:14:33 -08:00
pull_request_template.md Updated contributing guidelines and PR template to request link to bug report in PR notes (#6332) 2025-11-06 12:02:39 -08:00