Improve logging when Hangfire operation canceled#874
Open
pmachapman wants to merge 1 commit intomainfrom
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #874 +/- ##
=======================================
Coverage 66.96% 66.96%
=======================================
Files 384 384
Lines 20886 20889 +3
Branches 2700 2700
=======================================
+ Hits 13986 13989 +3
Misses 5936 5936
Partials 964 964 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Enkidu93
approved these changes
Feb 16, 2026
Collaborator
Enkidu93
left a comment
There was a problem hiding this comment.
@Enkidu93 reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @ddaspit).
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.
I had a really weird issue on ext-QA where my jobs were getting marked as Pending/Restarting:
And it did not restart. I could not recreate it locally, nor diagnose the error on QA, apart from determine that it was coming from an
OperationCanceledexception thrown inDoWork. Worse, it was only happening for some builds - a specific build from my local instance of Scripture Forge (changing translation engines did not help).Redeploying the docker pod fixed the build, but I am still unable to determine the cause (it happened again later in the day).
To help diagnose the cause of any errors like this in future, this PR improves logging when this scenario occurs, so if it happens again, we will at least have a bit more info to go on.
This change is