Repository navigation
Report exactly one email per run and none for an empty run - #45
Merged
Merged
Conversation
…ion to 3.0.13 Park the progress report in dscheck.einfo instead of sending it, so it goes out exactly when PBS kills the job off its walltime, and have the final report send directly and drop the parked one - left behind it would be mailed a second time as a stale report and would hold the finished check back from being purged. A forked child could also reach quit_dsquasar() and report for the whole run, emailing a duplicate, clearing the parent's parked report and failing the shared check record while the parent was still working. Drop the report altogether when nothing was processed and nothing failed, for every backup action rather than the transfer one alone. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
dscheck.einfoinstead of being sent, so it goes out exactly when PBS kills the job off its walltime - in the same daemon pass that resubmits the check. The final report sends directly and drops the parked one: left behind it would be mailed a second time as a stale report and would hold the finished check back from being purged.quit_dsquasar()and report for the whole run, emailing a duplicate, clearing the parent's parked report and marking the shared check record failed while the parent was still working. Only the parent reports now.Test plan
-A 16statistics and-A 8check still report with 0 backup files; no-e/-E-> 0 mails; no dscheck -> 1 direct mailsys.exit(1)einfocleared