GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(session): store turn summaries as names and counts, compute patches on request by lihaokun · Pull Request #57 · lihaokun/opencode fix(session): store turn summaries as names and counts, compute patches on request #57New issueHave 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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filterConversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page. Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page. Diff viewDiff view
Next
fix(session): store turn summaries as names and counts, compute patch…
…es on request Each turn's summary embedded the full-context patch of every file that changed in the workspace, and the durable message.updated event copied it on every write. One turn that regenerated a thousand tracked logs produced a 249 MB user message; the process reached 47 GB and was killed, and the event table grew to 44 GB. Upstream carries the same code and six open issues for it; three fixes there were closed unmerged. The summary now stores file names, line counts and status from git numstat; nothing is read into memory. The diff endpoint computes patches from the turn's snapshot hashes when asked, with a per-file and a per-response size limit. Summaries scheduled for the same message are coalesced and written once; a result equal to what is stored is not written again, while a turn that changed nothing still writes once to reset the session's counts. Session-level counts and the session.diff event now carry the turn's file list. A git failure during comparison is an error that writes nothing, not an empty change set. Stored file names are unquoted, matching the endpoint. Design, upstream comparison, review record and test layers are in docs/fixes/session-fix-summary-diff-size.md.
Uh oh!
There was an error while loading. Please reload this page.
commit 6a3b64c68976f72ce02218175e51fde971ea6622
There are no files selected for viewingLarge diffs are not rendered by default.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
|
| You are visitor 01402809 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |