obarisk opened a new issue, #48619:
URL: https://github.com/apache/airflow/issues/48619

   ### Apache Airflow Provider(s)
   
   discord
   
   ### Versions of Apache Airflow Providers
   
   3.9.0
   
   ### Apache Airflow version
   
   2.10.5
   
   ### Operating System
   
   debian-trixie
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   discord notification avatar_url was pointed to 
   
https://raw.githubusercontent.com/apache/airflow/main/airflow/www/static/pin_100.png
   however the url is 404 now.
   
   Quick search of the codebase,
   the hardcoded url also exists in slack provider.
   
   ### What you think should happen instead
   
   the discord notifications should show airflow avatar
   
   ### How to reproduce
   
   from airflow import DAG
   from airflow.operators.empty import EmptyOperator
   from airflow.providers.discord.notifications.discord import DiscordNotifier
   
   with DAG(
     "test_discord",
     schedule=None,
     default_args={
       "start_date": "2025-03-31",
       "on_success_callback": DiscordNotifier(
         discord_conn_id="discord_wsgwroy",
         text=(
           "dag={{ dag.dag_id }} task={{ task.task_id }} status={{ ti.state }} "
             "operator={{ task_instance.operator }} log=[link]({{ 
task_instance.log_url }})"
         )
       )
     }) as dag:
     nothing = EmptyOperator(task_id="nothing", dag=dag)
   
   
   ### Anything else
   
   we expect to get something like the screenshot
   
   <img width="147" alt="Image" 
src="https://github.com/user-attachments/assets/533a3c46-7d92-4b16-9cdf-205fb9afe049";
 />
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to