You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: fetch jobs for all pipelines in a single API request (#114)
* feat: fetch jobs for all pipelines in a single API request
Replace the per-pipeline loop with a single call using
pipeline__slug__in filter. This reduces N API requests per poll
cycle to 1, regardless of how many pipelines the worker handles.
The Antenna MinimalJobSerializer now returns pipeline_slug so the
worker knows which pipeline each job belongs to.
Co-Authored-By: Claude <[email protected]>
* fix: update tests for pipeline__slug__in and add empty guard
- Guard against empty pipeline_slugs list in get_jobs()
- Update mock server to accept pipeline__slug__in parameter
- Include pipeline_slug in AntennaJobListItem construction
- Update test assertions for new tuple return type
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>
0 commit comments