YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
ci: cancel superseded main test runs
Louis Beaumont9ce24c882a2f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex b94feda22..17b1cd030 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -26,11 +26,10 @@ on:- '.github/scripts/**'concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # Cancel superseded runs on PR branches (saves minutes when a contributor- # rapidly re-pushes). Main pushes use the commit SHA in the group so a- # newer merge does not sit pending behind a stale long-running commit.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Only the newest push or PR revision can describe the current tree.+ # Keep scheduled/manual runs separate via event_name.+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 67581b7f5..8da3ef975 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -18,8 +18,8 @@ on:- 'crates/screenpipe-connect/src/connections/**'concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: truejobs:validate-docs:diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.ymlindex 68d6c1659..a40a6c7b4 100644--- a/.github/workflows/e2e-test.yml+++ b/.github/workflows/e2e-test.yml@@ -25,10 +25,10 @@ permissions:pull-requests: readconcurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # See ci.yml — cancel superseded PR runs, while main pushes use a- # per-commit group so newer merges do not wait behind stale E2E runs.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Only the newest push or PR revision can describe the current tree.+ # Keep scheduled/manual runs separate via event_name.+ cancel-in-progress: truejobs:changes:diff --git a/.github/workflows/eval-diarization.yml b/.github/workflows/eval-diarization.ymlindex a217c80e6..533850928 100644--- a/.github/workflows/eval-diarization.yml+++ b/.github/workflows/eval-diarization.yml@@ -57,8 +57,8 @@ on:default: 'abjxc,bxpwa,dhorc'concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/eval-meeting-detection.yml b/.github/workflows/eval-meeting-detection.ymlindex 6105ffd45..8d3bc56b9 100644--- a/.github/workflows/eval-meeting-detection.yml+++ b/.github/workflows/eval-meeting-detection.yml@@ -34,8 +34,8 @@ on:workflow_dispatch:concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: trueenv:CARGO_TERM_COLOR: alwaysdiff --git a/.github/workflows/sdk.yml b/.github/workflows/sdk.ymlindex d4b23333e..e9afb03c4 100644--- a/.github/workflows/sdk.yml+++ b/.github/workflows/sdk.yml@@ -45,11 +45,9 @@ on:workflow_dispatch:concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # Same rule as ci.yml / style.yml / test-frontend.yml — cancel superseded- # PR runs (saves minutes on rapid re-pushes); main pushes use per-commit- # groups so they don't queue behind stale commits.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Only the newest push or PR revision can describe the current tree.+ cancel-in-progress: trueenv:DEBUG: napi:*diff --git a/.github/workflows/style.yml b/.github/workflows/style.ymlindex 476f9da47..f1cdfa79a 100644--- a/.github/workflows/style.yml+++ b/.github/workflows/style.yml@@ -16,8 +16,8 @@ permissions:pull-requests: readconcurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/test-ai-gateway.yml b/.github/workflows/test-ai-gateway.ymlindex 62266126c..9249b3631 100644--- a/.github/workflows/test-ai-gateway.yml+++ b/.github/workflows/test-ai-gateway.yml@@ -21,10 +21,9 @@ on:- ".github/workflows/test-ai-gateway.yml"concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # Same rule as ci.yml — cancel superseded PR runs, while main pushes- # use a per-commit group and do not queue behind stale commits.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Only the newest push or PR revision can describe the current tree.+ cancel-in-progress: truepermissions:contents: readdiff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.ymlindex 371942226..062706afe 100644--- a/.github/workflows/test-frontend.yml+++ b/.github/workflows/test-frontend.yml@@ -27,10 +27,9 @@ on:- '.github/workflows/test-frontend.yml'concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # Same rule as ci.yml — cancel superseded PR runs, while main pushes- # use a per-commit group and do not queue behind stale commits.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Only the newest push or PR revision can describe the current tree.+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/test-mcp.yml b/.github/workflows/test-mcp.ymlindex a55a9d8da..911042a8d 100644--- a/.github/workflows/test-mcp.yml+++ b/.github/workflows/test-mcp.yml@@ -24,8 +24,8 @@ on:- ".github/workflows/test-mcp.yml"concurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.ymlindex 0a37c04bb..42345523d 100644--- a/.github/workflows/windows-integration-test.yml+++ b/.github/workflows/windows-integration-test.yml@@ -19,10 +19,9 @@ permissions:pull-requests: readconcurrency:- group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}- # Cancel only on PR re-pushes. Main runs use a per-commit group so this- # long job cannot leave the latest merge pending behind an older commit.- cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ # Keep scheduled/manual runs separate from push validation.+ cancel-in-progress: trueenv:GIT_LFS_SKIP_SMUDGE: 1