mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-25 11:13:09 +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',
|
'ready',
|
||||||
'--limit',
|
'--limit',
|
||||||
'200',
|
'200',
|
||||||
|
// Include `state` for parity with the pool queue (isAutonomousClaimable).
|
||||||
'--json',
|
'--json',
|
||||||
'number,title,body,labels,createdAt',
|
'number,title,body,labels,createdAt,state',
|
||||||
])
|
])
|
||||||
|
|
||||||
// Queue builder lives in agent-github.mjs (shared with the agent pool —
|
// Queue builder lives in agent-github.mjs (shared with the agent pool —
|
||||||
|
|
|
||||||
|
|
@ -105,8 +105,9 @@ const loadClaimQueue = () =>
|
||||||
'ready',
|
'ready',
|
||||||
'--limit',
|
'--limit',
|
||||||
'200',
|
'200',
|
||||||
|
// `state` is required: isAutonomousClaimable rejects missing/non-OPEN as not-open.
|
||||||
'--json',
|
'--json',
|
||||||
'number,title,body,labels,createdAt',
|
'number,title,body,labels,createdAt,state',
|
||||||
]),
|
]),
|
||||||
issuesById(),
|
issuesById(),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue