also looking at this
feat: run configured modeled cargo delivery and phase failures
#97
38 files
+2114
-30
| @@ -275,6 +275,19 @@ jobs: | ||
| 275 | 275 | test "$actual" -eq "$expected" |
| 276 | 276 | bun -e 'const [file, scenario] = process.argv.slice(1); const raw = await Bun.file(file).text(); const s = JSON.parse(raw); if (Buffer.byteLength(raw) > 16384 || s.scenario !== scenario || s.status !== (scenario === "link-loss" ? "unqualified" : "characterized") || s.physicalFlightEnabled !== false || s.boardOutputsInhibited !== true || Object.values(s.capabilities).some(Boolean) || s.final.landingPerformed !== false) throw new Error("Invalid compiled cargo characterization")' "$RUNNER_TEMP/cargo-$scenario.json" "$scenario" |
| 277 | 277 | done |
| 278 | - name: Qualify copied cargo delivery, custody and phase failures | |
| 279 | run: bun scripts/qualify-cargo-cli.ts "$GITHUB_WORKSPACE/storage/runtime-build/cli/drone" "$RUNNER_TEMP/cargo-delivery-cli" | |
| 280 | - uses: actions/upload-artifact@v4 | |
| 281 | if: always() | |
| 282 | with: | |
| 283 | name: cargo-delivery-cli-evidence | |
| 284 | if-no-files-found: ignore | |
| 285 | retention-days: 7 | |
| 286 | path: | | |
| 287 | ${{ runner.temp }}/cargo-delivery-cli/*.stdout | |
| 288 | ${{ runner.temp }}/cargo-delivery-cli/*.stderr | |
| 289 | ${{ runner.temp }}/cargo-delivery-cli/receipt.json | |
| 290 | ${{ runner.temp }}/cargo-delivery-cli/request.json | |
| 278 | 291 | - name: Qualify compiled environmental datasets outside the checkout |
| 279 | 292 | working-directory: ${{ runner.temp }} |
| 280 | 293 | shell: bash |