ReviewOS

also looking at this

stacks/drone

test: control purge history preparation clock

#55
Merged chris wants to merge codex/purge-history-setup-clock into main
37 files +1804 -168
.github/workflows/ci.ymlmodified+11-0
Changes to .github/workflows/ci.yml
@@ -30,6 +30,8 @@ jobs:
3030 - run: bun run parity:check
3131 - run: python3 -m py_compile resources/functions/drone/camera/imx500_worker.py
3232 - run: python3 -m unittest discover -s tests/hardware
33 - name: Verify a kernel-confirmed full input pipe on Linux
34 run: bun test tests/unit/runtime.test.ts --test-name-pattern 'kernel-confirmed full input FIFO'
3335 - run: ./buddy test
3436 - run: bun run runtime:cli
3537 - name: Verify signed test-image staging through the portable CLI outside the checkout
@@ -44,6 +46,15 @@ jobs:
4446 run: bun tests/fixtures/updates/qualify-preparation.ts "$RUNNER_TEMP/runtime-preparation-qualification" "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone"
4547 - name: Verify owned candidate identity and retirement with a copied standalone CLI
4648 run: bun tests/fixtures/updates/qualify-candidates.ts "$RUNNER_TEMP/runtime-candidates-qualification" "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone"
49 - name: Verify host slots, observed health and interrupted recovery with a copied standalone CLI
50 run: bun tests/fixtures/updates/qualify-host-slots.ts "$RUNNER_TEMP/runtime-host-slots-qualification" "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone" "$GITHUB_WORKSPACE"
51 - uses: actions/upload-artifact@v4
52 if: always()
53 with:
54 name: runtime-host-slots-evidence
55 if-no-files-found: ignore
56 retention-days: 7
57 path: ${{ runner.temp }}/runtime-host-slots-qualification
4758 - run: $GITHUB_WORKSPACE/storage/runtime-build/cli/drone runtime:bench --project "$GITHUB_WORKSPACE" --ticks 100 --fault deadline
4859 working-directory: ${{ runner.temp }}
4960 - run: $GITHUB_WORKSPACE/storage/runtime-build/cli/drone sensors:replay "$GITHUB_WORKSPACE/tests/fixtures/sensors/bench-v1.json" --at-ms 500