Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: integrate Linux containment with CI fail-fast cancellation (#9420)

[._.]/ Adam Eivy0354b80733bb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0847029a16..6d868df529 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -851,6 +851,9 @@ jobs:
# AppArmor policy. Restricted hosts must remain fail-closed in the product.
runs-on: ubuntu-22.04
timeout-minutes: 10
+ permissions:
+ contents: read
+ actions: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
@@ -871,6 +874,12 @@ jobs:
PORTOS_REQUIRE_LINUX_CONTAINMENT: '1'
run: npm test --prefix server -- --run lib/codeAnimationContainment.test.js routes/codeAnimationExecution.test.js services/codeAnimation/containedWorker.test.js
+ - name: Report the failure, then cancel sibling CI jobs
+ if: failure() && github.event_name == 'pull_request'
+ env:
+ CI_FAILED_SHARD: ${{ matrix.shard }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: node scripts/cancel-current-ci-run.js
gate:
name: CI Gate