[codex] fix sync oversized raw uploads#218
Draft
upsetbit wants to merge 1 commit into
Draft
Conversation
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.
Summary
SessionsService.PushChunkfor bounded unary raw uploads.Pushhitsresource_exhausted.Pushfor small raws.Validation
just gengofmton changed Go filesgo test ./internal/cli ./internal/server/...just build.env.http://100.100.253.82:7070tohttp://127.0.0.1:7070for local validation, then restored.100.100.253.82is not this host's Tailscale IP; the local Tailscale IP is100.101.225.96../bin/prosa sync --verbosecompleted locally withCatch-up: sent 2 · skipped 0 · errors 0for the two previously failing large sessions.Integrity checks
Compared local SQLite/raw files against Postgres and MinIO for:
019e7f15-7f1d-7b60-a05a-f9292ed6384181729232,bd66ae61e2f7f2cfc92529a509f90dfca1495bbc666347a1db217ca3d9b3bdacaws s3 cp ... - | shasum -a 256: matched531/9, matched08dc7d62-210e-4f11-b677-3b1c1b8cb39193724672,1d940811b1265a66845cf3f40e177803157f53d32bc8893695215486d06f832caws s3 cp ... - | shasum -a 256: matched106/10, matchedNeed help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.