Repository navigation
Look at every story for deltas, and say which it couldn't - #112
Merged
Merged
Conversation
Signed in on the cloud, every review request asked the auth adapter who was asking, so a batch page's delta scan, a diff and two images per changed story, ran into Better Auth's rate limit, and the scan dropped whatever failed without a word. Only the batch view and a decision ask now. The scan tries a 429, a 5xx, or a dropped connection again, and the batch page says how many changed stories it still couldn't look at, with a way to look again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…as no diff Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selfie-bot
approved these changes
Nov 30, 2026
A pixel hash mismatch is a failure the scan counts, and never tries again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selfie-bot
approved these changes
Nov 30, 2026
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.
Step 0 of
docs/plans/diffs.md(#111): fix the two bugs that left 34 of PR #108's 143 stories out of the repeated changes offered, signed in on app.selfie.dev, while the progress bar said done.The Worker only asks who's asking where that's used
Every review request with a session cookie called
login.writerOf, which asks the Better Auth adapter's/list-accounts, and that's rate limited. The batch page's delta scan makes a diff request and two image requests per changed story, so past about 100 the adapter answered 429,writerOfthrew, and those requests 500'd.hostedReviewSourcenow takesactoras() => Promise<string | null>, and onlybatchViewanddecidecall it. Images, diffs, and every other read never reach the adapter. TheReviewSourceseam is unchanged, soselfie uiis untouched.The delta scan doesn't drop stories without a word
workThroughinui/src/client/deltas.tsreplacespart()'s.catch(() => undefined). It tries a 429, a 5xx, or no answer again, twice more, after 0.5 s and then 2 s, and gives back whatever never worked.RequestErrorcarries the HTTP status, and image fetches go through the samefetchImageinapi.ts.BatchScreen→RepeatedChangesNotAllLookedAt. Tests inui/test/delta-scan.test.ts.In the cloud, a pair nobody pushed a diff for answers 404, so it's never retried, but it is counted. The banner says so, rather than leaving that story out of every delta without a word. Step 4 of the plan removes that case.
Specs
docs/specs/access.md→ Who can do what: ask the adapter only for a batch's view and a decision (rationale added).docs/specs/ui.md→ Screens → Repeated changes: try again, then say how many it couldn't look at (rationale added).The cause hasn't been checked against the Worker's logs. It's what the code and Better Auth's default limit (100 per 10 s per IP) predict.
🤖 Generated with Claude Code