mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 18:24:05 +00:00
ci(OpenClawKit): assert ElevenLabsKit drops when Talk trait disabled
Adds a macOS-lane guard so future sources under OpenClawKit cannot silently reintroduce an unconditional ElevenLabsKit dependency while the manifest still looks correct. Resolves the graph with --disable-default-traits, fails if ElevenLabsKit appears, and builds the kit trait-off. Addresses review feedback from @byungskers on the trait PR.
This commit is contained in:
committed by
Peter Steinberger
parent
ee45b0e334
commit
85f00ebc04
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -1972,6 +1972,21 @@ jobs:
|
||||
done
|
||||
exit 1
|
||||
|
||||
- name: OpenClawKit Talk-trait opt-out (no ElevenLabsKit when default traits disabled)
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# Guard: chat-only consumers build OpenClawKit with the Talk trait
|
||||
# disabled and must NOT link ElevenLabsKit. Assert that future sources
|
||||
# under OpenClawKit cannot silently reintroduce an unconditional
|
||||
# ElevenLabsKit dependency while the manifest still looks correct.
|
||||
deps="$(swift package --package-path apps/shared/OpenClawKit show-dependencies --disable-default-traits)"
|
||||
echo "$deps"
|
||||
if grep -qi 'elevenlabs' <<<"$deps"; then
|
||||
echo "::error::ElevenLabsKit resolved with the Talk trait disabled; keep it gated behind the Talk trait."
|
||||
exit 1
|
||||
fi
|
||||
swift build --package-path apps/shared/OpenClawKit --target OpenClawKit --disable-default-traits
|
||||
|
||||
- name: Swift test
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
Reference in New Issue
Block a user