ecosystem_claim_shallow
Claim the next queued repository for shallow scanning with an atomic 60-minute lease, returning repo metadata to prevent duplicate work and extra lookup calls.
Instructions
Claim the next queued repo for shallow scanning (stage_status='queued').
Atomic: only one worker gets each row; others get {"claimed": false}. The claim is a 60-minute lease: a row still unfinished after that can be claimed by another worker. The result includes repo_full_name, topics, description, owner, stars and last_commit_at, so no separate ecosystem_repo_get call is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker_id | Yes | Unique worker identifier string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||