Repository navigation
docs: list GzipStep and state what an archive error leaves - #88
Merged
Merged
Conversation
Add both to the logs section of the API reference, and a note on reading the step to the compress-and-mark-logs how-to.
If opening the original fails, the archive step changes nothing. After an earlier run compressed it, `name` stays gone. Any `name.gz` from an earlier run stays as it was. Once the original is open, the step keeps it. It leaves `name.gz` behind only when that file existed before, or when it failed to remove the original and then failed to remove the archive. The `directory_sync` step follows one rename and one unlink, not two renames.
test_support.ScratchDir makes .zig-cache/zig-common-TAG-PID empty, removing one a killed run left under the same pid, and fails when it cannot create it. The logs tests and the fsx moveAcross fixture use it in place of their own copies, so writeLog's O_EXCL create cannot hit a stale file.
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.
Follow-up to the gzip log step work:
GzipStepandgzipInPlaceAtStep.logs.GzipStepdoc comments state what an archive error leaves behind in the log directory.test_supportinstead of repeating the setup.