Repository navigation
Fix silent restart checkpoint write failures - #427
Open
ANAMASGARD wants to merge 3 commits into
Open
ANAMASGARD wants to merge 3 commits into
ANAMASGARD wants to merge 3 commits into
Conversation
Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
ANAMASGARD
requested review from
Alomir,
dlebauer,
mdietze and
mswilburn
as code owners
October 28, 2026 16:33
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
This was referenced Oct 28, 2026
Alomir
requested changes
Nov 4, 2026
Alomir
left a comment
Collaborator
There was a problem hiding this comment.
Looks great, just a couple of minor tweaks
…ite-failure-420 Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
Signed-off-by: Gaurav Chaudhary <chaudharygaurav2004@gmail.com>
Contributor
Author
|
@Alomir can you please once again review , thanks |
This branch has not been deployed
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
fclose()result when writing a restart checkpoint. On failure, report the checkpoint path and exit withEXIT_CODE_FAILURE(1).The stream is closed exactly once. Successful checkpoint behavior and format remain unchanged.
How was this change tested?
/dev/fullregression tests with and without--quiet. These failed before the fix and pass afterward.-Wall -Werror: passed.make test: all 28 unit executables passed; four smoke cases passed, with one additional case marked as a forced pass.make testrun: passed, including checkpoint creation and resume coverage.git diff --check: passed.No smoke output fixtures were changed.
Reproduction steps
On Linux, build with
make, then run from the repository root:Previously, this returned
0without reporting the failure. With this fix:Related issues
Checklist
docs/CHANGELOG.mdupdated with noteworthy changes.clang-format19.