fix(sync): 跳过问题会话并修复大首行处理,准备 v1.0.3 - #103
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
codex-provider-sync/src/session-files.js
Lines 1713 to 1715 in 6e9f5dd
When a status read fails with a busy error such as Windows EBUSY/EPERM, readFirstLineRecord converts it to an untyped Error; consequently fileReadSkipReason(error) returns null and this fallback adds the path only to lockedPaths, not skippedItems. The status is marked incomplete, but its new skipSummary omits the locked file, so the UI cannot list the affected path or provide the summary's retry guidance. Add the same rolloutSkip(..., "locked") entry in this fallback or preserve the original error code through the wrapper.
AGENTS.md reference: AGENTS.md:L72-L72
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7812b5c609
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
结果
Addresses #102。较大的 session_meta 或单个损坏会话会阻断整次同步。本次支持最高 128 MiB 的有界首行,并让 Sync、Switch、Watch 跳过确认未写入的问题文件,继续处理健康会话;全部历史跳过时,Switch 仍可备份并切换配置。
验证与交付