cube-js / cube-js/airflow-provider-cube

CubeBuild operator can hang due to lack of handling of other failure types

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I believe the Jobs api can return other failures not captured by this code block resulting in it running until Airflow timeout

https://github.com/cube-js/airflow-provider-cube/blob/main/cube_provider/operators/cube.py#L198-L204

For example - other statuses seem to be "orphaned" and potentially others.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in cube_provider/operators/cube.py at lines 198-204 and inspect how the Jobs API statuses are handled. Check the API's other failure statuses, including "orphaned", and determine which should stop the operator instead of waiting for the Airflow timeout. Done means relevant failure types are handled and the operator no longer hangs for them.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.