tooling: land.sh aborts on a transient worktree index.lock instead of retrying
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by reading land.sh and the 20260930T102659Z land-log around the orchestrator worktree reset. Reproduce or trace the index.lock failure, then add bounded retries with a short backoff to the reset and any similarly vulnerable git steps. Done means transient index.lock races are retried and persistent failures still abort clearly.
Written by the indexing model from the issue text.
Description
land.sh's reset of the orchestrator worktree onto origin/main failed with 'index.lock: File exists' (land-log 20260930T102659Z); the lock was gone seconds later (likely a concurrent git status from the session or harness). Retry that step a few times with a short backoff before failing; other git steps in the script may hit the same race.
- Dominant language
- Kotlin
- Stars
- 229
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from timusus/Shuttle2
-
impact:U1 owner reach:R1 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
idea
Difficulty 5/5 Over a week Newbie friendliness 8/100
-
impact:U2 P3 reach:R2 size:M
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
enhancement impact:U2 owner P2 reach:R3 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
Debt ledger: toolingOpendebt
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in timusus/Shuttle2
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ankidroid/Anki-Android#22408 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 Under an hour Newbie friendliness 72/100
afarber/OpenMapView#22 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nightscout/AndroidAPS#5245 ·
Maintainers usually reply within 1 day
-
Feature:Resolution
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
intellij-elixir/intellij-elixir#4396 ·
Maintainers usually reply within 1 day