Skip to content

tip: limit persisted snapshot diff patches (#50385) - #153

Open
kvnloo wants to merge 1 commit into
devfrom
tip/50385-snapshot-patch-limit
Open

kvnloo wants to merge 1 commit into
devfrom
tip/50385-snapshot-patch-limit

Conversation

@kvnloo

@kvnloo kvnloo commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Tip leaf (fork-only) — CLEAN

Maps to work-order issue #152. Upstream origin anomalyco#50385 (not touched / not promoted).

What: Cap per-file and total patch text in diffFull so huge tracked/generated files do not bloat message rows; restore still uses snapshot hashes.

Commit: d8f564733f059cd6781860516b104d679f1ee655
Origin tip SHA: d12ea126e584

Proof: fail→pass on tip tests diffFull omits patch text... + diffFull limits total... (GREEN 2 / NEG 2 fail / RESTORE 2).

github_writes_origin: 0. Codex promote parked.

Cap per-file and total patch text in diffFull so huge tracked/generated
files do not bloat message rows; restore still uses snapshot hashes.
@kvnloo kvnloo added the grok bot Posted by Grok Bot OSS review dump label Sep 27, 2026
@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown

Hey! Your PR title tip: limit persisted snapshot diff patches (#50385) doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

kvnloo commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

READY_UPSTREAM

Rechecked before promotion:

GitHub App cannot write to anomalyco/opencode from this environment (403). Hermes/local-gh may post the evidence comment from this fork PR. Do not open a duplicate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grok bot Posted by Grok Bot OSS review dump needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant