fix(ci): manual dispatch runs bypass the turbo cache

workflow_dispatch runs exist to validate real execution (soak passes,
timing measurements); a same-commit dispatch was replaying FULL TURBO
cache hits and executing nothing. Push and PR runs keep the cache.
This commit is contained in:
Yury Zialionka
2026-08-13 20:26:48 -06:00
parent 348f90cb9e
commit 281cba1afb
+3
View File
@@ -191,6 +191,9 @@ jobs:
if: matrix.settings.run
run: bun turbo test:ci --output-logs=errors-only --log-order=grouped --log-prefix=task --filter='@kilocode/cli'
env:
# kilocode_change - manual dispatches exist to validate real execution (soak runs,
# timing measurements); let them bypass the turbo cache instead of replaying it.
TURBO_FORCE: ${{ github.event_name == 'workflow_dispatch' && 'true' || '' }}
KILO_EXPERIMENTAL_DISABLE_FILEWATCHER: "true" # kilocode_change - was Windows-only; the CLI now starts a watcher per instance, too heavy/racy for unit tests. Watcher tests opt back in.
KILO_TEST_PROFILE: ${{ matrix.settings.os == 'macos' && 'darwin' || '' }}
KILO_TEST_SHARD: ${{ format('{0}/{1}', matrix.settings.index, matrix.settings.total) }}