Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-07-01 Thread via GitHub


Nevioxis commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-3022812396

   @amoghrajesh I've opened new issue.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-06-30 Thread via GitHub


amoghrajesh commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-3022093476

   @Nevioxis could you point at some things and if possible raise an 
appropriate issue? We will take a look.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-06-30 Thread via GitHub


Nevioxis commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-3018059746

   I've upgraded from 2.10.5 to 3.0.2 and my Slack notification also broken. 
After debugging, I found out that task_instance variable will send None to 
task_instance.end_date and not send task_instance.duration if task stated as 
failed. So, if your notification contains end_date and duration for failed DAG, 
just remove it or find a new way to handle it will make notification back.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-06-14 Thread via GitHub


github-actions[bot] commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2973388974

   This issue has been closed because it has not received response from the 
issue author.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-06-14 Thread via GitHub


github-actions[bot] closed issue #50754: Slack notifications stopped working 
after upgrade to 3.0.1
URL: https://github.com/apache/airflow/issues/50754


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-06-06 Thread via GitHub


github-actions[bot] commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2951278930

   This issue has been automatically marked as stale because it has been open 
for 14 days with no response from the author. It will be closed in next 7 days 
if no further activity occurs from the issue author.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


niklasr22 commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2903409377

   Currently for my use case those will be sufficient, but maybe this should be 
noted somewhere in the docs or in a new issue as it isn't obvious that most 
context vars won't work and cause a silent failure (for people who can't access 
all logs but only the UI). 


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


htamakos commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2903152631

   I have encountered the same issue.
   
   ### Environment:
   
   Airflow 3.0.1 on Kubernetes
   
   ### Observed behavior:
   
   - DAG-level on_success_callback and on_failure_callback do not work (no 
error logs or other output observed).
   - Task-level on_success_callback, on_failure_callback, and 
on_execute_callback do work as expected.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


uranusjr commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2902860847

   Are context variables `dag` `run_id` `reason` enough for your use cases? 
I’ll close this one if so. List what you need otherwise and we’ll work on 
adding them.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


uranusjr commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2900542538

   OK so at least the callback mechanism is not completely broken.
   
   Good news is, #50300 implemented three variables in the context, so at least 
this specific use case should work after 3.0.2. More general support should 
come later.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


niklasr22 commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2900440559

   Yes:
   ```
   {"timestamp":"2025-05-22T08:58:02.638108","level":"info","event":"Executing 
on_success dag callback","dag_id":"cb_test_dag","logger":"task"}
   {"timestamp":"2025-05-22T08:58:02.638127","level":"error","event":"Callback 
failed","dag_id":"cb_test_dag","logger":"task","error_detail":[{"exc_type":"KeyError","exc_value":"'dag'","exc_notes":[],"syntax_error":null,"is_cause":false,"frames":[{"filename":"/Users/x/airflow-installation/.venv/lib/python3.12/site-packages/airflow/dag_processing/processor.py","lineno":213,"name":"_execute_dag_callbacks"},{"filename":"/Users/x/airflow-installation/.venv/lib/python3.12/site-packages/airflow/sdk/bases/notifier.py","lineno":103,"name":"__call__"},{"filename":"/Users/x/airflow-installation/.venv/lib/python3.12/site-packages/airflow/sdk/bases/notifier.py","lineno":72,"name":"render_template_fields"}]}]}
   ```


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


uranusjr commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2900434939

   Do either you see the `Executing on_%s dag callback` log?


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-22 Thread via GitHub


niklasr22 commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2900218591

   I think none of the callbacks (not slack specific) that rely on having a 
context work. Maybe I'm understanding something wrong but int the dag 
processor, it looks like the context passed to the callbacks is always empty. 
(The TODO right above indicates some missing stuff as well) 
https://github.com/apache/airflow/blob/4ecebc2973587ebaa2cb12482de82e93d15c092f/airflow-core/src/airflow/dag_processing/processor.py#L164
 


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-20 Thread via GitHub


arturzangiev commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2893531957

   I have upgraded from airflow:2.10.2 to airflow:3.0.1. I checked processor 
logs and can't find anything around callbacks.


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-19 Thread via GitHub


uranusjr commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2893119435

   What version were you upgrading _from_?


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-19 Thread via GitHub


joaopedro02 commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2892238552

   I think it could be related with [this piece of 
code](https://github.com/apache/airflow/blob/c85a110cc98a76f897ddad73513f2f9ebabab7d3/airflow-core/src/airflow/dag_processing/processor.py#L183)
 
   
   
![Image](https://github.com/user-attachments/assets/a4028b48-d793-4156-8d75-768399f1ce53)


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-19 Thread via GitHub


arturzangiev commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2891627869

   It is strange, but i can't find any slack related logs in my tasks or 
scheduler 


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Slack notifications stopped working after upgrade to 3.0.1 [airflow]

2025-05-18 Thread via GitHub


boring-cyborg[bot] commented on issue #50754:
URL: https://github.com/apache/airflow/issues/50754#issuecomment-2889215272

   Thanks for opening your first issue here! Be sure to follow the issue 
template! If you are willing to raise PR to address this issue please do so, no 
need to wait for approval.
   


-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org