Repository navigation
Fix: Consistent no-log handling for tasks with try_number=0 in API and UI (#54749) - #55035
Merged
uranusjr merged 2 commits intoSep 2, 2025
Merged
Conversation
Prasanth345
requested review from
bugraoz93,
ephraimbuddy,
jason810496,
pierrejeambrun,
rawwar and
shubhamraj-git
as code owners
August 28, 2025 16:48
Prasanth345
force-pushed
the
fix-54749-task-log-no-attempt-messages
branch
2 times, most recently
from
August 28, 2025 22:56
4242fb5 to
9b197df
Compare
jason810496
reviewed
Aug 29, 2025
Prasanth345
force-pushed
the
fix-54749-task-log-no-attempt-messages
branch
from
August 31, 2025 19:27
9b197df to
c049a0d
Compare
Contributor
Author
|
Hi @jason810496, thanks for your suggestions. I’ve updated the code as per your feedback — could please you review it once? |
jason810496
reviewed
Sep 1, 2025
Contributor
Author
|
@jason810496, I’ve added test cases — could please you review it once? |
uranusjr
approved these changes
Sep 2, 2025
jason810496
approved these changes
Sep 2, 2025
jason810496
left a comment
Member
There was a problem hiding this comment.
Thanks for adding the test.
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 2, 2025
…=0 in API and UI (#54749) (#55035) (cherry picked from commit 22677de) Co-authored-by: Kumbha Lakshmi Narayana <[email protected]>
Contributor
1 task done
eladkal
pushed a commit
that referenced
this pull request
Sep 3, 2025
…=0 in API and UI (#54749) (#55035) (#55162) (cherry picked from commit 22677de) Co-authored-by: Kumbha Lakshmi Narayana <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR ensures consistent handling of no-log cases for tasks when
try_number=0.Instead of returning empty or confusing responses, the system now provides clear, structured messages across both UI and API log views.
Implementation Details
try_number=0before callingread_log_chunks.Testing
Why
Previously, tasks with
try_number=0produced inconsistent log responses:This change standardizes the behavior, improving observability and debugging for users.
Related Issue
Closes #54749
Below find the screenshots