fix(ci): bypass the turbo cache job-wide on manual dispatch

TURBO_FORCE covered only the CLI test step; the non-CLI packages step
still replayed cached results on same-commit dispatches, so a soak run
could report package tests green without executing them.
This commit is contained in:
Yury Zialionka
2026-08-13 21:08:24 -06:00
parent 5aed6f5f18
commit f1bb992ff6
+6 -3
View File
@@ -80,6 +80,12 @@ jobs:
settings: ${{ fromJSON(needs.changes.outputs.settings) }} # kilocode_change
runs-on: ${{ matrix.settings.host }}
timeout-minutes: 45 # kilocode_change
# kilocode_change start - manual dispatches exist to validate real execution (soak runs,
# timing measurements); every turbo step in this job bypasses the cache on dispatch
# instead of replaying a same-commit hit and executing nothing.
env:
TURBO_FORCE: ${{ github.event_name == 'workflow_dispatch' && 'true' || '' }}
# kilocode_change end
defaults:
run:
shell: bash
@@ -191,9 +197,6 @@ 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) }}