ReviewOS

also looking at this

stacks/drone

test: qualify partial host image writes and recovery

#57
Merged chris wants to merge codex/runtime-file-write-faults into main
9 files +311 -7
.github/workflows/ci.ymlmodified+20-0
Changes to .github/workflows/ci.yml
@@ -32,7 +32,27 @@ jobs:
3232 - run: python3 -m unittest discover -s tests/hardware
3333 - name: Verify a kernel-confirmed full input pipe on Linux
3434 run: bun test tests/unit/runtime.test.ts --test-name-pattern 'kernel-confirmed full input FIFO'
35 - name: Verify an actual partial host image write and fresh-process recovery
36 env:
37 RUNTIME_HOST_FILE_LIMIT_EVIDENCE: ${{ runner.temp }}/runtime-host-file-limit-evidence
38 run: bun test tests/unit/updates-host-writes.test.ts
39 - uses: actions/upload-artifact@v4
40 if: always()
41 with:
42 name: runtime-host-file-limit-evidence
43 if-no-files-found: ignore
44 retention-days: 7
45 path: ${{ runner.temp }}/runtime-host-file-limit-evidence
3546 - run: ./buddy test
47 env:
48 RUNTIME_HOST_FILE_LIMIT_EVIDENCE: ${{ runner.temp }}/runtime-host-file-limit-full-evidence
49 - uses: actions/upload-artifact@v4
50 if: always()
51 with:
52 name: runtime-host-file-limit-full-evidence
53 if-no-files-found: ignore
54 retention-days: 7
55 path: ${{ runner.temp }}/runtime-host-file-limit-full-evidence
3656 - run: bun run runtime:cli
3757 - name: Verify signed test-image staging through the portable CLI outside the checkout
3858 run: bun tests/fixtures/updates/qualify.ts "$RUNNER_TEMP/runtime-update-qualification" "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone"