You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "pierrejeambrun (via GitHub)" <gi...@apache.org> on 2025/02/26 16:30:51 UTC
[I] AIP-38 Task Tries selector raising 404 error [airflow]
pierrejeambrun opened a new issue, #47111:
URL: https://github.com/apache/airflow/issues/47111
### Body
Run this dag:
```python
def try_something():
if randint(0, 9) <= 2:
return
raise ValueError("Task Failed")
with DAG(
dag_id="simple_with_tries",
schedule="0 0 * * *",
dagrun_timeout=datetime.timedelta(minutes=10),
tags=["example2"],
params={"example_key": "example_value"},
catchup=False,
) as dag:
run_this = PythonOperator(
task_id="python_operator1", python_callable=try_something, retries=5, retry_delay=10
)
```
Go into the UI, and check your task instance after triggering a run, when the task goes in 'up for retry' state, some request will start failing:

### Committer
- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AIP-84 Task Tries selector raising 404 error [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #47111:
URL: https://github.com/apache/airflow/issues/47111#issuecomment-2691802056
Should be fixed by https://github.com/apache/airflow/pull/47223, I'll reopen if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AIP-38 Task Tries selector raising 404 error [airflow]
Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on issue #47111:
URL: https://github.com/apache/airflow/issues/47111#issuecomment-2691015221
I think previous tries aren't showing up because of that 404 error. We should fix the API first. But in the UI we could also interpret how many tries to render since we do know the latest try number
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AIP-38 Task Tries selector raising 404 error [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #47111:
URL: https://github.com/apache/airflow/issues/47111#issuecomment-2691197614
Seems like a backend problem again, `
http://localhost:29091/public/dags/simple_with_tries/dagRuns/manual__2025-02-28T17:24:35.267763+00:00_I6s90Ifz/taskInstances/python_operator5/-1/tries` returns only 1 ti. The one from the TI table, TIH is empty locally.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AIP-84 Task Tries selector raising 404 error [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun closed issue #47111: AIP-84 Task Tries selector raising 404 error
URL: https://github.com/apache/airflow/issues/47111
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AIP-38 Task Tries selector raising 404 error [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun commented on issue #47111:
URL: https://github.com/apache/airflow/issues/47111#issuecomment-2691185037
Yes we need to fix the backend too. When the task is running (up_for_reschedule) 404 appears.
But in the UI I have that, when it's settled, no 404, but no way to chose


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org