mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 15:13:07 +00:00
Merge pull request #68 from fsolla/cursor/pool-eligibility-triage-df16
fix(agent-pool): fila elegível não zera por falta de `state` no JSON
This commit is contained in:
commit
009bcb732c
2 changed files with 4 additions and 2 deletions
|
|
@ -38,8 +38,9 @@ const openReady = ghJson([
|
|||
'ready',
|
||||
'--limit',
|
||||
'200',
|
||||
// Include `state` for parity with the pool queue (isAutonomousClaimable).
|
||||
'--json',
|
||||
'number,title,body,labels,createdAt',
|
||||
'number,title,body,labels,createdAt,state',
|
||||
])
|
||||
|
||||
// Queue builder lives in agent-github.mjs (shared with the agent pool —
|
||||
|
|
|
|||
|
|
@ -105,8 +105,9 @@ const loadClaimQueue = () =>
|
|||
'ready',
|
||||
'--limit',
|
||||
'200',
|
||||
// `state` is required: isAutonomousClaimable rejects missing/non-OPEN as not-open.
|
||||
'--json',
|
||||
'number,title,body,labels,createdAt',
|
||||
'number,title,body,labels,createdAt,state',
|
||||
]),
|
||||
issuesById(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue