Skip to content

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

Merged
nicko-ai merged 1 commit into
devfrom
codex/compaction-cleanup
Jun 19, 2026
Merged

refactor(compaction): trim generic event cleanup drift#274
nicko-ai merged 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:

@nicko-ai

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 9b3671b91f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@nicko-ai
nicko-ai merged commit 80b3bbf into dev Jun 19, 2026
14 checks passed
@nicko-ai
nicko-ai deleted the codex/compaction-cleanup branch June 19, 2026 00:25
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