-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(core): atomic write rollout for credentials, memory, config, JSONL (closes #3681, #4095 Phase 2) #4333
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
doudouOUC
wants to merge
29
commits into
main
Choose a base branch
from
worktree-ethereal-bubbling-cook
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 10 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
dc92622
feat(core): add atomicWriteFileSync + forceMode option
doudouOUC 0231fe4
refactor(core): migrate credential writes to atomicWriteFile (#4095 T…
doudouOUC 015fa38
refactor(core): migrate memory state writes to atomicWriteFile (#4095…
doudouOUC 2a6ded1
refactor: migrate config + logger + state writes to atomic helpers (#…
doudouOUC b7badc7
fix(core): flush JSONL appends to disk (#4095 Tier 3b, closes #3681)
doudouOUC 8869ac3
refactor(core): migrate extension config + LSP edit to atomic write
doudouOUC d7f47ba
chore: cosmetic cleanups from PR review
doudouOUC 0ed40df
fix(core): address Codex review findings on Phase 2 PR
doudouOUC 12868d9
fix(lsp): refuse LSP edits to chmod 0444 files (Codex round 2)
doudouOUC 2ac4e7a
fix(core): drop withTimeout around atomic credential write (Codex rou…
doudouOUC 7b1a7ae
Merge remote-tracking branch 'origin/main' into worktree-ethereal-bub…
doudouOUC 741265d
test(core): add rename-retry + EXDEV-fallback coverage (#4333 review)
doudouOUC f817330
fix(test): update telemetry sdk.test.ts appendFile assertions for flu…
doudouOUC dd549ae
test: cover LSP error branches + sync EXDEV cleanup + JSONL writes (#…
doudouOUC f6c4d2f
fix(core,test): wrap atomic write errors + guard root user + cover sa…
doudouOUC 7a562eb
fix(core,lsp): annotate sync errors correctly + cover EXDEV fallback …
doudouOUC 1e7fc3e
test(core): cover EXDEV-fallback-write-failure annotation path (#4333…
doudouOUC 17222d7
fix(core): annotate guard, drop debug fsync, add noFollow for creds (…
doudouOUC 21853b8
fix(core): EXDEV fallback honors noFollow + fix test correctness (#43…
doudouOUC 7c47664
fix(core): close TOCTOU window on noFollow EXDEV fallback + cover ENO…
doudouOUC 0aada50
test(core): skip new noFollow EXDEV-fallback tests on Windows (NTFS p…
doudouOUC 0435199
fix(core): narrow fchmod catch + verify mechanism on noFollow EXDEV
doudouOUC c66537b
fix(core): clean up O_EXCL orphan on noFollow EXDEV fchmod failure + …
doudouOUC c951958
fix(core): annotate symlink errors + cover ENOTSUP/EACCES + log orpha…
doudouOUC 72f2ffa
fix(core): widen atomicWriteJSON options + tighten trustedHooks perms…
doudouOUC ef6c08a
fix(core): force JS slow path for appendFile flush + correct debugLog…
doudouOUC b52eeaf
fix(core): narrow tryChmod catch + writeFileSync(fd) + cover credenti…
doudouOUC 65aa871
fix(core): route orphan unlink through seam + cover tryChmod + truste…
doudouOUC 1504692
fix(core): add noFollow to trustedHooks/trustedFolders + route tmp cl…
doudouOUC 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
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
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.
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.