feat(core): compile-time media feature gate (media_generation + image) (#4804) (#4840)

Co-authored-by: M3gA-Mind <elvin@tinyhumans.ai>
This commit is contained in:
oxoxDev
2026-07-15 19:48:21 +05:30
committed by GitHub
co-authored by M3gA-Mind
parent 5ba512b201
commit 2dcaaba293
8 changed files with 82 additions and 21 deletions
+5 -3
View File
@@ -354,8 +354,10 @@ jobs:
# Feature-gate smoke: proves the core still compiles with a domain gate turned
# OFF. The disabled build is the ONLY thing that catches stub-facade signature
# drift (see AGENTS.md "Compile-time domain gates"), so it must run in CI, not
# just locally. Pathfinder lane for #4803 (voice); extend the --features list
# as sibling gates (#4797#4802, #4804) land.
# just locally. Pathfinder lane for #4803 (voice); the explicit --features
# list (only tokenjuice-treesitter) turns every default gate OFF, so it also
# covers #4804 (media) and each sibling gate as it lands — no edit needed
# unless a new gate must stay ON here.
rust-feature-gate-smoke:
name: Rust Feature-Gate Smoke (gates off)
needs: [changes]
@@ -382,7 +384,7 @@ jobs:
cache-on-failure: true
shared-key: pr-rust-feature-gate-smoke
- name: Check core builds with the voice gate disabled
- name: Check core builds with the voice + media gates disabled
run: bash scripts/ci-cancel-aware.sh cargo check --manifest-path Cargo.toml --no-default-features --features tokenjuice-treesitter
rust-core-coverage: