Repository navigation
feat(file-safety): atomic text publish primitive (U1, #1375) #1910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
easonLiangWorldedtech
wants to merge
49
commits into
Zoo-Code-Org:main
Choose a base branch
from
easonLiangWorldedtech:fws/u1-atomic-publish
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
d5f8a79
split unit U1 of PR 1833 (issue 1375)
aa0cdab
fix(file-safety): close the pre-merge findings on the publish primiti…
c4120b0
fix(file-safety): propagate a non-ENOENT lstat failure in resolvePubl…
97b599d
fix(file-safety): keep the rollback pair typed and the mock stand-ins…
58f803d
fix(file-safety): do not roll the backup back over an already committ…
63dcbe6
refactor(file-safety): reuse errorCode and assert the DACL save order
20a61fb
test(file-safety): make the DACL order test type-safe and assert real…
734ad85
fix(file-safety): keep the publish error message in RollbackFailureError
08d2173
test(file-safety): assert the exact staging directory removed after a…
f6f5b9b
test: re-run mocked e2e and the ubuntu lane - no source change since …
e1eee2b
fix(file-safety): give the Windows DACL dump a per-write name
c6784a4
fix(file-safety): do not restore a backup over a concurrent publish
bd1b7ba
fix(file-safety): keep the target present by backing it up with a dur…
44b8ea8
test: re-trigger the windows unit shard - the run exited 1 after both…
d90bc62
fix(file-safety): remove a partial backup when the backup copy or its…
94843f2
fix(file-safety): refuse a staging path that is the target, and cover…
d252152
fix(file-safety): report a failed DACL restore, and cover the primiti…
8574b8d
test(file-safety): drop the duplicated failed-commit case and cover t…
97cbd33
fix(file-safety): remove the backup copy after a post-commit failure …
eb68002
fix(file-safety): make the backup copy writable before fsyncing it
9a3a600
fix(file-safety): create the backup privately before its content exists
f9aef70
fix(file-safety): do not read a failed target lstat as a missing target
04a2bd1
fix(file-safety): compare staging and target identity with bigint stats
17e3664
test(file-safety): pin the bigint options in the staging-identity tests
a26782a
fix(file-safety): report a Windows replacement whose DACL was not pre…
c1d4bc8
fix(file-safety): keep DACL warning delivery from failing the save
95ee4e7
fix(file-safety): handle async warning sinks and confine before mkdir
af76bc6
fix(file-safety): retry the post-commit backup cleanup and report a l…
6d8d69f
fix(file-safety): carry the leftover backup path when cleanup fails o…
30110ea
fix(file-safety): guarantee the seed descriptor close, and pin the al…
03dc013
fix(file-safety): do not retry a failed seed-descriptor close
9067b20
chore(file-safety): drop the dead committed flag and correct the cove…
f9783a2
fix(webview): chain the profile-mutation queue to the running mutation
2231cad
test(safe-write-text): pin the refusal's phase and path, and move two…
d3cf409
refactor(safe-write-text): drop the duplicate pre-commit cleanup and …
a093a78
style(safe-write): run prettier over the two file-safety files
3989bbf
fix(file-safety): report residue a publish could not remove on every …
7985fef
fix(file-safety): keep the DACL cause and dump, and never unlink afte…
easonLiangWorldedtech 54b7532
test(file-safety): drop the unused options type import
easonLiangWorldedtech b5466ac
Merge remote-tracking branch 'upstream/main' into HEAD
easonLiangWorldedtech f6e1eff
chore(file-safety): keep the not-yet-wired publish primitive out of k…
easonLiangWorldedtech 303af45
Merge upstream main 73931fe8be25 into fws/u1-atomic-publish
easonLiangWorldedtech c5556a5
core: refuse apply_diff on bytes the decoder cannot read instead of s…
easonLiangWorldedtech d5c31a1
core: let ApplyDiffTool accept what readFile's encoding overload hand…
easonLiangWorldedtech eb15d53
tools: keep a BOM through the fatal decode and report the right bad-b…
easonLiangWorldedtech c137906
tools: pin the undecodable-byte offsets against the message's own del…
easonLiangWorldedtech 6010a57
test(file-safety,core): land the sweep assertions that kill the 1910 …
easonLiangWorldedtech a6ce54e
test(file-safety): kill the three options-guard mutants with platform…
easonLiangWorldedtech f0a80ce
test(core): name the comparison each byte-order case kills
easonLiangWorldedtech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.