Files
act_runner/internal/app/poll/poller.go
Bo-Yi Wu dc91ce340e test(poll): add concurrency test for single-poller capacity control
- Introduce TaskRunner interface to decouple Poller from concrete run.Runner
- Add TestPoller_ConcurrencyLimitedByCapacity verifying max concurrent
  tasks respects capacity and FetchTask is never called concurrently
- Mock runner respects context cancellation for proper shutdown testing
2026-04-16 15:16:25 +08:00

7.1 KiB