airbytehq / airbytehq/airbyte-api-python-sdk
`queued` missing from `JobStatusEnum`, breaking Airflow DAGs on capacity-enforced syncs
- Ngôn ngữ chính
- Python
- Star
- 61
- Fork
- 27
- Merge trung bình
- 4 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
## Summary
Airbyte Cloud started returning `queued` as a job status for capacity-enforced syncs, but `JobStatusEnum` in the SDK does not include it. This causes Airflow DAGs using the Airbyte provider to fail immediately on parse.
## Error
```
AirflowException: 'queued' is not a valid JobStatusEnum
```
## Environment
- `airbyte-api` 0.53.0
- `apache-airflow-providers-airbyte` 5.5.0
- Airbyte Cloud, capacity-based plan
## Root cause
The OpenAPI spec only includes `pending | running | incomplete | failed | succeeded | cancelled`. The `queued` status is described in Cloud docs as valid for capacity-enforced syncs but is absent from the spec, so the SDK raises a validation error when it encounters it.
## Impact
Production pipelines are blocked whenever workers are saturated and jobs enter `queued` state. This is not environment-specific — any customer on a capacity-based plan using the Jobs API or Airflow provider should hit the same failure.
## Steps to reproduce
1. Use a capacity-based Airbyte Cloud plan.
2. Trigger enough syncs to saturate workers.
3. Poll job status via the Jobs API or Airflow provider — a job in `queued` state will cause a parse failure.
## Ask
Add `queued` to `JobStatusEnum` in the OpenAPI spec and release a patch.
Hướng dẫn đóng góp
Hướng nghiên cứu
Xác định đặc tả OpenAPI và định nghĩa JobStatusEnum của SDK, sau đó kiểm tra cách các giá trị trạng thái được tạo hoặc xác thực. Xác nhận rằng queued được Jobs API hoặc đường dẫn nhà cung cấp Airflow chấp nhận và rằng kiểm tra xác thực hiện có bao phủ trạng thái mới; hoàn tất nghĩa là queued không còn gây ra lỗi đã được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- openapi, python
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 72/100