Follow-up flagged during review of #824 (fix for #743).
Problem
The batch CLI commands resolve a partial batch id in Python over conductor.list_batches(workspace, limit=100), mirroring the #743 task bug for the Batch entity. Batches beyond the first 100 are unaddressable by cf work batch status/stop/resume/follow.
Evidence
codeframe/cli/app.py ~ lines 3955 / 4100 / 4169 / 4368 — [b for b in all_batches if b.id.startswith(batch_id)] over a capped list_batches.
Fix sketch
Add a find_by_prefix-style SQL LIKE 'prefix%' lookup for batches (as done for tasks in #743), or pass an uncapped limit for batch listing/resolution. Escape LIKE metachars.
Scope
Out of scope for #743 (tasks-only). Realistic only if a workspace accumulates >100 batches.
Follow-up flagged during review of #824 (fix for #743).
Problem
The batch CLI commands resolve a partial batch id in Python over
conductor.list_batches(workspace, limit=100), mirroring the #743 task bug for theBatchentity. Batches beyond the first 100 are unaddressable bycf work batch status/stop/resume/follow.Evidence
codeframe/cli/app.py~ lines 3955 / 4100 / 4169 / 4368 —[b for b in all_batches if b.id.startswith(batch_id)]over a cappedlist_batches.Fix sketch
Add a
find_by_prefix-style SQLLIKE 'prefix%'lookup for batches (as done for tasks in #743), or pass an uncapped limit for batch listing/resolution. Escape LIKE metachars.Scope
Out of scope for #743 (tasks-only). Realistic only if a workspace accumulates >100 batches.