π The fast, Pythonic way to build MCP servers and clients.
Fix Claude Code installation lock contention in CI workflows (#2815)
Jeremiah Lowinb1f9c77dd931
diff --git a/.github/workflows/martian-issue-triage.yml b/.github/workflows/martian-issue-triage.ymlindex d9c58220c..40424e8bc 100644--- a/.github/workflows/martian-issue-triage.yml+++ b/.github/workflows/martian-issue-triage.yml@@ -155,6 +155,9 @@ jobs:}EOF+ - name: Clean up stale Claude locks+ run: rm -rf ~/.claude/.locks ~/.local/state/claude/locks || true+- name: Run Martian for Issue Triageuses: anthropics/claude-code-action@v1with:diff --git a/.github/workflows/martian-test-failure.yml b/.github/workflows/martian-test-failure.ymlindex 927816cf2..9f7724fbd 100644--- a/.github/workflows/martian-test-failure.yml+++ b/.github/workflows/martian-test-failure.yml@@ -163,6 +163,9 @@ jobs:}EOF+ - name: Clean up stale Claude locks+ run: rm -rf ~/.claude/.locks ~/.local/state/claude/locks || true+- name: Run Claude Codeid: claudeuses: anthropics/claude-code-action@v1diff --git a/.github/workflows/marvin-dedupe-issues.yml b/.github/workflows/marvin-dedupe-issues.ymlindex d95460ecd..69d1fca9c 100644--- a/.github/workflows/marvin-dedupe-issues.yml+++ b/.github/workflows/marvin-dedupe-issues.yml@@ -73,6 +73,9 @@ jobs:PROMPT_ENDEOF+ - name: Clean up stale Claude locks+ run: rm -rf ~/.claude/.locks ~/.local/state/claude/locks || true+- name: Run Marvin dedupe commanduses: anthropics/claude-code-action@v1with:diff --git a/.github/workflows/marvin-label-triage.yml b/.github/workflows/marvin-label-triage.ymlindex e04cb8137..2847c0e2e 100644--- a/.github/workflows/marvin-label-triage.yml+++ b/.github/workflows/marvin-label-triage.yml@@ -124,6 +124,9 @@ jobs:PROMPT_ENDEOF+ - name: Clean up stale Claude locks+ run: rm -rf ~/.claude/.locks ~/.local/state/claude/locks || true+- name: Run Marvin for Issue Triageuses: anthropics/claude-code-action@v1with:diff --git a/.github/workflows/marvin.yml b/.github/workflows/marvin.ymlindex d63eb27fb..da4967e45 100644--- a/.github/workflows/marvin.yml+++ b/.github/workflows/marvin.yml@@ -56,6 +56,9 @@ jobs:app-id: ${{ secrets.MARVIN_APP_ID }}private-key: ${{ secrets.MARVIN_APP_PRIVATE_KEY }}+ - name: Clean up stale Claude locks+ run: rm -rf ~/.claude/.locks ~/.local/state/claude/locks || true+# Marvin Assistant- name: Run Marvinuses: anthropics/claude-code-action@v1