Skip to content

test(opencode): verify fork rollback - #192

Merged
LeXwDeX merged 1 commit into
devfrom
test/fork-rollback
Aug 8, 2026
Merged

test(opencode): verify fork rollback#192
LeXwDeX merged 1 commit into
devfrom
test/fork-rollback

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • inject a deterministic real-SQLite failure on the second copied part after three nested publications complete
  • verify copied durable events and message/part projections roll back while the source remains unchanged and Session Created may remain
  • record batch B ticket status and evidence; production code is unchanged

Verification

  • cd packages/opencode && bun test test/session/fork-batch.test.ts — 3 pass, 0 fail, 52 expect
  • cd packages/opencode && bun typecheck — passed
  • mutation check: removing the outer copy transaction leaves two target messages and makes the new test fail; mutation was reverted
  • commit and pre-push hooks: lint 4848 warnings / 0 errors, full typecheck 29/29

@LeXwDeX
LeXwDeX merged commit 55dd345 into dev Aug 8, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the test/fork-rollback branch August 8, 2026 12:35
@LeXwDeX
LeXwDeX restored the test/fork-rollback branch August 8, 2026 12:36
@LeXwDeX
LeXwDeX deleted the test/fork-rollback branch August 8, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant