Skip to content

refactor(compaction): trim generic event cleanup drift#274

Open
nicko-ai wants to merge 1 commit into
devfrom
codex/compaction-cleanup
Open

refactor(compaction): trim generic event cleanup drift#274
nicko-ai wants to merge 1 commit into
devfrom
codex/compaction-cleanup

Conversation

@nicko-ai

Copy link
Copy Markdown
Collaborator

Issue for this PR

N/A - refactor-only cleanup.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Restores the compaction-ended event publication to the existing inline shape after the processor error guard and removes the redundant failure-event assertion added around it. The documented Swarm Default compaction fallback behavior and tests remain unchanged.

How did you verify your code works?

  • npx --yes bun@1.3.13 test --timeout 30000 test/session/compaction.test.ts from packages/opencode
  • npx --yes bun@1.3.13 run typecheck from packages/opencode
  • Pre-push hook: bun turbo typecheck

Screenshots / recordings

N/A - no UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- restore inline compaction-ended publication shape after the error guard

- keep documented Swarm Default compaction fallback coverage unchanged

- verify with compaction test and opencode typecheck
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

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