GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AIP 64: Add TI try history to Task Instance Details, Logs, and Gantt chart by bbovenzi · Pull Request #40304 · apache/airflow

Conversation

@bbovenzi

@bbovenzi bbovenzi commented Jun 18, 2024

Copy link
Copy Markdown
Contributor

Use the TI History endpoint to expand upon the "log attempts" buttons we had for task logs.

First, show the state of each try next to the number.
Screenshot 2024-06-18 at 12 03 43 PM

Second, add the try selector to the details view too so one can see more information for each try.
Screenshot 2024-06-18 at 12 03 53 PM

Finally, update the Gantt chart to show previous tries.
Screenshot 2024-06-18 at 12 04 05 PM


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

shahar1 and Joffreybvn reacted with rocket emoji
All reactions
  • 🚀 2 reactions
bbovenzi added 2 commits June 18, 2024 12:02
@bbovenzi
Add TI try history selector to details and gantt chart
5430c04
@bbovenzi
fix queueddttm vs queuedwhen
b451e49
@bbovenzi bbovenzi added this to the Airflow 2.10.0 milestone Jun 18, 2024
@bbovenzi
bbovenzi requested review from ashb, pierrejeambrun and ryanahamilton as code owners June 18, 2024 16:10
@boring-cyborg boring-cyborg Bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Jun 18, 2024
hussein-awala
hussein-awala approved these changes Jun 19, 2024
View reviewed changes

@hussein-awala hussein-awala left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
potiuk
potiuk approved these changes Jun 19, 2024
View reviewed changes
phanikumv
phanikumv approved these changes Jun 20, 2024
View reviewed changes
@phanikumv
phanikumv merged commit 25132c9 into apache:main Jun 20, 2024
@phanikumv
phanikumv deleted the ti-history-ui branch June 20, 2024 07:39
@jscheffl

jscheffl commented Jun 22, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@bbovenzi Thanks for the cool UI improvement! I believe I found some bugs but am not sure whether it is related to this?

  1. Have a task which was success, was resetting this is in state scheduled

1.1 Click on 2nd attempt - note that scheduled state is with first icon, 2nd has no state!
image

1.2 Click on 1st attempt - was actually a success in first attempt but state of version icon is scheduled!
image

Was hitting F5 multiple times, no change. Browser: Firefox on Ubuntu - Same with Chromium

  1. A task which was success, shows as success in grid - but status in details is "no status":
    image
    Interestingly: I can correct the behavior if I go to the run before with the two attempts, select attempt 1 there and flip back to the second run... Somehow the details panel run attempt is linked to the previous selection?

image

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jedcunningham jedcunningham added the AIP-64 Task Instance history label Jun 24, 2024
@utkarsharma2 utkarsharma2 added the type:improvement Changelog: Improvements label Jul 1, 2024
@tirkarthi tirkarthi mentioned this pull request Jul 11, 2024
[2.9.1] "Task Tries"/Attempts UI is innaccessible #40673
Closed
1 of 2 tasks
@ephraimbuddy ephraimbuddy added changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) and removed type:improvement Changelog: Improvements labels Jul 24, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
@bbovenzi @romsharon98
AIP 64: Add TI try history to Task Instance Details, Logs, and Gantt …
9424c91
…chart (apache#40304)
@jscheffl jscheffl mentioned this pull request Jul 28, 2024
Make gantt view to show also retries #17487
Closed
@jscheffl jscheffl mentioned this pull request Aug 14, 2024
Task Try History in UI Wrong Color in Status Badges before Task Run #41462
Closed
1 of 2 tasks
@sean-rose sean-rose mentioned this pull request Apr 4, 2025
Immediately persist new TaskInstanceHistory records #48780
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@potiuk potiuk potiuk approved these changes
@hussein-awala hussein-awala hussein-awala approved these changes
@phanikumv phanikumv phanikumv approved these changes
@ryanahamilton ryanahamilton Awaiting requested review from ryanahamilton
@ashb ashb Awaiting requested review from ashb
@pierrejeambrun pierrejeambrun Awaiting requested review from pierrejeambrun

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

AIP-64 Task Instance history area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Milestone

Airflow 2.10.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@bbovenzi @jscheffl @potiuk @hussein-awala @phanikumv @ephraimbuddy @utkarsharma2 @jedcunningham
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.