fix: gracefully handle 404 from worker log server for historical retry attempts#63002
Merged
eladkal merged 2 commits intoapache:v2-11-testfrom Mar 6, 2026
Merged
Conversation
Contributor
Author
|
@eladkal — backport PR for v2-11-test as requested. |
eladkal
reviewed
Mar 6, 2026
Contributor
|
@kalluripradeep can you verify if the failures in |
Contributor
Author
@eladkal — confirmed these failures are unrelated to this PR. The failing tests are This PR only modifies |
Member
|
Yes. That was a problem with Celery Provider 3.17.0 #63043 |
13 tasks
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.
Backport of #62475 to v2-11-test.
Original PR: #62475
What changed
Added 404 handling in
_read_from_logs_serverinfile_task_handler.pywith a local filesystem fallback and a clear message when logs aren't accessible.How I fixed it
Added an
elif response.status_code == 404branch that:_read_from_local— covers cases where logs are on a shared driveFixes #62372