Repository navigation
fix(feed): preserve comment drafts and recover failed reads - #244
Merged
zo-sol merged 5 commits intoSep 17, 2026
Merged
Conversation
Collaborator
|
Reviewed and cleared to merge on my side — the on-chain posting/signing path is untouched, no double-post risk, and the disclosed read-recovery changes look sound. However, after the sibling PRs landed on main (#240 Windows npm engines, plus #241 and #242), this branch now conflicts and GitHub marks it
Could you rebase onto the latest |
NubsCarson
force-pushed
the
codex/session-feed-regressions-20260916
branch
from
September 17, 2026 02:23
157be72 to
5eb8d57
Compare
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.
Preserve mobile blog comment drafts until the post succeeds
Failed blog comments currently clear the draft immediately and can leave the composer stuck on Posting. An unrelated comments refresh also closes an inline reply while the user is typing. Handle the existing per-post blogCommentResult event instead: preserve inputs on failure, unlock retry, and clear only the successfully submitted composer. Also expose the host-supported fresh flag in the webview request type.
Four component regressions pass, including Korean input, late refreshes, repeated failures and an unrelated unsent draft. Two of these regressions fail on unchanged main. Production webview build passes. Full typecheck retains ten pre-existing unused-symbol failures; this patch adds none and removes the existing fresh request-type error. Local screenshots use simulated responses; no on-chain posts were submitted.
Addresses part of #208; does not close the issue. Session concurrency #113 and the separate pending-PR merge conflicts are not fixed by this patch.
Local browser evidence
Simulated failure, with Korean draft retained:
390px mobile, reply retained after a late comments refresh:
Read recovery follow-up
This PR also discards superseded feed/comment responses, distinguishes failed reads from genuinely empty results, and adds Retry controls. A missing author-table body is never replaced with an unverified feed preview. A confirmed comment stays successful if only the comments refresh fails.
At
15d252e3: 480 core tests, 7 webview tests, and production build passed. Ten baseline unused-symbol typecheck errors remain. The initial full-core run encountered an existing session-settings timing/cleanup race; both runs are preserved. No public posts or wallet transactions were submitted.Read recovery tests and limitations