-
Notifications
You must be signed in to change notification settings - Fork 16.3k
UI - Download Tasks Logs button #56771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1abd0c6 to
fd47982
Compare
|
|
fd47982 to
20fceea
Compare
|
Maybe like the other PRs we should move the download button to be in the corner of the logs? Or we need to rename Log Settings, because "Download" isn't really a setting |
9e6057f to
67c634c
Compare
67c634c to
5bed5c0
Compare
* Download Tasks Logs * Update following code review
|
@pierrejeambrun would you be open to back porting this to 3.1.1? My request is based upon on the fact that the same logic you used here would apply to this pr given downloading task logs was also in AF2. |
|
@r-richmond I understand, but this one really feels like a new feature compared to previous version. Not supporting log download isn't really a bug IMO. But if this is critical and others feel like it, I guess we can be opened to back porting, but I would recommend 3.2 in that instance. Is that something that you urgently need? |
|
Could you clarify why it feels like a new feature? (Given it was in 2.x I'm missing something). I don't think I can honestly make the case for urgent. And if I'm being honest I'm just advocating for getting a feature out faster so that the list of missing features in AF3 gets a little smaller. (I was raked over the coals for early upgrading to AF3, AF2 was such a big improvement over AF1 I didn't really consider waiting. And this is one of the items I got some extra flack for since the logs in 3 have a few usability/perf degradations). |
|
Maybe my comment on the other PR was confusing but the way I see it is that things that 'were in AF2' and are added back in 'AF3' shouldn't automatically be considered a bug fix. For the PR you referred too (#54677) this was a behavior that used to work in AF2, and was by mistake omitted in AF3, causing bugs to people using dynamic alerts. There was no workaround it because the server would just crash. Those are the two reasons why I figured a bug fix was appropriate. On the other side, this 'download logs' button was purposely omitted when developing AF3 because of capacity and other priorities at the time. This piece is being added back now and I think it should be flagged as a feature, because it is a feature compared to previous iteration. In the meantime people can use the Rest endpoint to download logs if they want to. All of that is subject to interpretation, and I guess it depends on how you see it, this is what I would recommend, but I am open to other opinions if the Release Manager wants to release it early. |
|
It is a feature, but I could be swayed to move it forward as its not a large change. |
* Download Tasks Logs * Update following code review
* Download Tasks Logs * Update following code review (cherry picked from commit a2ee0d8)
* Download Tasks Logs * Update following code review (cherry picked from commit a2ee0d8)

closes: #47689
Attemps: #49412 and #54481 went stale.
This adds a button to download logs. This will download the 'filtered' view as a text file. This is not emitting any additional request and re-use the one we make for displaying logs in the details tab. Just the formatting is different.
Screen.Recording.2025-10-17.at.15.31.50.mov
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.