also looking at this
test: qualify partial host image writes and recovery
#57
9 files
+311
-7
| @@ -32,7 +32,27 @@ jobs: | ||
| 32 | 32 | - run: python3 -m unittest discover -s tests/hardware |
| 33 | 33 | - name: Verify a kernel-confirmed full input pipe on Linux |
| 34 | 34 | 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 | |
| 35 | 46 | - 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 | |
| 36 | 56 | - run: bun run runtime:cli |
| 37 | 57 | - name: Verify signed test-image staging through the portable CLI outside the checkout |
| 38 | 58 | run: bun tests/fixtures/updates/qualify.ts "$RUNNER_TEMP/runtime-update-qualification" "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone" |