Skip to content

fix(build): Gate build download command behind managed feature flag#3246

Open
runningcode wants to merge 2 commits intomasterfrom
no/fix-managed-build-download
Open

fix(build): Gate build download command behind managed feature flag#3246
runningcode wants to merge 2 commits intomasterfrom
no/fix-managed-build-download

Conversation

@runningcode
Copy link
Contributor

@runningcode runningcode commented Mar 26, 2026

Summary

  • The build download command (added in feat(build): Add build download command #3221) uses ProgressBarMode::Response, which is gated behind #[cfg(not(feature = "managed"))]
  • This causes a compilation error when building with --features managed
  • Gates download_installable_build and the build download subcommand behind the same feature flag

#skip-changelog

🤖 Generated with Claude Code

@runningcode runningcode requested review from a team and szokeasaurusrex as code owners March 26, 2026 06:54
@runningcode runningcode force-pushed the no/fix-managed-build-download branch from 3e3a960 to 29f79c9 Compare March 26, 2026 07:50
runningcode and others added 2 commits March 26, 2026 08:55
The `build download` command uses `ProgressBarMode::Response` and
`BuildInstallDetails`, both of which are excluded from managed builds.
Gate the command module, API methods, data types, and the `File` import
behind `#[cfg(not(feature = "managed"))]` to match the existing pattern
used by `download_with_progress` and other interactive-only code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The managed feature flag was only tested during Docker image builds,
which run late in the release pipeline. Add `cargo check --features
managed` to the Linux lint job so breakage is caught on every PR.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@runningcode runningcode force-pushed the no/fix-managed-build-download branch from 29f79c9 to bc1c179 Compare March 26, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant