test(polling): add Phase 4 polling workflow integration tests #483

Merged
clawdie merged 1 commit from test/phase4-polling-workflow into main 2026-08-24 06:00:12 +02:00
Owner

Three tests simulating the remote agent cron loop (colibri_poll.py + colibri_task_done.py):

  1. polling_workflow_capability_routing — two agents with disjoint capabilities,
    intake tasks routed by scheduler, each agent polls for its tasks and
    transitions to done. Proves end-to-end agent-side capability routing.

  2. polling_workflow_single_agent_multiple_tasks — one agent with multiple
    capabilities claims both tasks sequentially. Documents current contention
    behavior (no guard) and session isolation across polling cycles.

  3. polling_workflow_no_matching_capability — agent with non-matching capability
    sees empty list. Verifies filtering doesn't leak tasks.

All tests run on Linux (pure Unix socket, no FreeBSD deps).

Three tests simulating the remote agent cron loop (colibri_poll.py + colibri_task_done.py): 1. polling_workflow_capability_routing — two agents with disjoint capabilities, intake tasks routed by scheduler, each agent polls for its tasks and transitions to done. Proves end-to-end agent-side capability routing. 2. polling_workflow_single_agent_multiple_tasks — one agent with multiple capabilities claims both tasks sequentially. Documents current contention behavior (no guard) and session isolation across polling cycles. 3. polling_workflow_no_matching_capability — agent with non-matching capability sees empty list. Verifies filtering doesn't leak tasks. All tests run on Linux (pure Unix socket, no FreeBSD deps).
test(polling): add Phase 4 polling workflow integration tests
Some checks failed
CI / rust (pull_request) Failing after 39s
CI / python-tests (pull_request) Successful in 49s
CI / markdown (pull_request) Failing after 33s
format-check / prettier (pull_request) Failing after 45s
CI / port (pull_request) Failing after 28s
leak-guard / guard (pull_request) Successful in 1m20s
CI / agent-jail-pkgs (pull_request) Failing after 23s
ci-gate / gate (pull_request) Successful in 4m49s
c56e83665e
Three tests simulating the remote agent cron loop (colibri_poll.py + colibri_task_done.py):

1. polling_workflow_capability_routing — two agents with disjoint capabilities,
   intake tasks routed by scheduler, each agent polls for its tasks and
   transitions to done. Proves end-to-end agent-side capability routing.

2. polling_workflow_single_agent_multiple_tasks — one agent with multiple
   capabilities claims both tasks sequentially. Documents current contention
   behavior (no guard) and session isolation across polling cycles.

3. polling_workflow_no_matching_capability — agent with non-matching capability
   sees empty list. Verifies filtering doesn't leak tasks.

All tests run on Linux (pure Unix socket, no FreeBSD deps).
clawdie deleted branch test/phase4-polling-workflow 2026-08-24 06:01:13 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
clawdie/colibri!483
No description provided.