Skip to content

Fix Last Duration column to use last completed build#26026

Closed
somiljain2006 wants to merge 2 commits intojenkinsci:masterfrom
somiljain2006:Last_duration_issue
Closed

Fix Last Duration column to use last completed build#26026
somiljain2006 wants to merge 2 commits intojenkinsci:masterfrom
somiljain2006:Last_duration_issue

Conversation

@somiljain2006
Copy link
Contributor

@somiljain2006 somiljain2006 commented Jan 1, 2026

Fixes ~#16816

Fix the Last Duration view column to display the duration of the most recent completed build, rather than the last successful build, which may show outdated information when a job recently failed.

Testing done

Ensured all tests still passed.

Proposed changelog entries

The Last Duration view column now reflects the most recent completed build instead of the last successful one.

Proposed changelog category

/label bug

Proposed upgrade guidelines

N/A

Before the changes are marked as ready-for-merge:

Maintainer checklist

  • There are at least two (2) approvals for the pull request and no outstanding requests for change.
  • Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
  • Changelog entries in the pull request title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood.
  • Proper changelog labels are set so that the changelog can be generated automatically.
  • If the change needs additional upgrade steps from users, the upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).
  • If it would make sense to backport the change to LTS, be a Bug or Improvement, and either the issue or pull request must be labeled as lts-candidate to be considered.

@welcome
Copy link

welcome bot commented Jan 1, 2026

Yay, your first pull request towards Jenkins core was created successfully! Thank you so much!

A contributor will provide feedback soon. Meanwhile, you can join the chats and community forums to connect with other Jenkins users, developers, and maintainers.

@comment-ops-bot comment-ops-bot bot added the bug For changelog: Minor bug. Will be listed after features label Jan 1, 2026
@MarkEWaite
Copy link
Contributor

MarkEWaite commented Jan 1, 2026

I propose that we close this pull request in favor of the very similar pull request that was submitted two weeks ago:

@somiljain2006
Copy link
Contributor Author

Yeah sure I wasn’t aware of #25970 when I submitted this.

@somiljain2006 somiljain2006 deleted the Last_duration_issue branch January 5, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug For changelog: Minor bug. Will be listed after features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants