From 2bbe41e97d3a2bbc4e139b68e1de548f724c1cc9 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Fri, 24 Apr 2026 23:59:59 +0300 Subject: [PATCH] fix(ci): complete umbrella check with zepter propagate-features Generator intentionally emits empty feature lists (filled by Zepter). Without running propagate-features after generate, diff always exists. Add zepter run propagate-features step so check reflects actual state. --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ea6c22b..4e3b7d4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,9 +115,10 @@ test-rust-features: check-umbrella: stage: quick-checks - allow_failure: true script: - pip3 install "cargo-workspace>=1.2.4" toml --quiet + - cargo install zepter@1.82.1 --force --quiet + - export PATH="$CARGO_HOME/bin:$PATH" - git config --global --add safe.directory '*' - | UMBRELLA_VERSION=$(cargo metadata --format-version=1 | \ @@ -125,10 +126,11 @@ check-umbrella: print(next(p['version'] for p in pkgs if p['manifest_path'].endswith('umbrella/Cargo.toml')))") echo "Umbrella version: $UMBRELLA_VERSION" python3 scripts/generate-umbrella.py --sdk . --version "$UMBRELLA_VERSION" + zepter run propagate-features cargo +nightly fmt -p pezkuwi-sdk - | if [ -n "$(git status --porcelain)" ]; then - echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version " + echo "❌ Umbrella crate is out of sync. Run: python3 scripts/generate-umbrella.py --sdk . --version && zepter run propagate-features" git diff exit 1 fi