airbytehq / airbytehq/airbyte-api-python-sdk

`queued` missing from `JobStatusEnum`, breaking Airflow DAGs on capacity-enforced syncs

オープン 初心者向け
#141 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
61
フォーク
27
平均マージ
4分
マージ済み PR(30日)
2

説明

## 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Locate the OpenAPI specification and the SDK's JobStatusEnum definition, then inspect how status values are generated or validated. Confirm that queued is accepted by the Jobs API or Airflow provider path and that the existing validation check covers the new status; done means queued no longer raises the reported error.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
openapi, python
領域
api
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
72/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。