Skip to content

Migrate compaction plugin test#26736

Merged
kitlangton merged 1 commit into
devfrom
cleanup/compaction-plugin-effect-tests
May 10, 2026
Merged

Migrate compaction plugin test#26736
kitlangton merged 1 commit into
devfrom
cleanup/compaction-plugin-effect-tests

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

@kitlangton kitlangton commented May 10, 2026

Summary

  • Convert the plugin-controlled auto-continue compaction test to it.instance and yielded services.
  • Use the per-test compaction layer helper for plugin overrides.

Testing

  • bun test --timeout 5000 test/session/compaction.test.ts -t "allows plugins to disable synthetic continue prompt"
  • bun typecheck from packages/opencode
  • bunx prettier --check packages/opencode/test/session/compaction.test.ts
  • bunx oxlint packages/opencode/test/session/compaction.test.ts (existing warnings only, no errors)

Stack

  1. Migrate configurable compaction tests #26732
  2. Migrate compaction LLM test #26733
  3. Migrate LLM compaction tail tests #26734
  4. Migrate compaction plugin test #26736 👈 current
  5. Migrate compaction tool-call test #26737
  6. Replace compaction create test fixtures #26738
  7. Drop compaction create facade #26739
  8. Drop unused ID Zod statics #26740
  9. Simplify compaction test helpers #26742

@kitlangton kitlangton force-pushed the cleanup/compaction-llm-tail-effect-tests branch from db08c7b to 267601c Compare May 10, 2026 23:08
@kitlangton kitlangton force-pushed the cleanup/compaction-plugin-effect-tests branch from e3317c4 to 9f0cff9 Compare May 10, 2026 23:08
@kitlangton kitlangton force-pushed the cleanup/compaction-llm-tail-effect-tests branch from 267601c to 19cab47 Compare May 10, 2026 23:13
@kitlangton kitlangton force-pushed the cleanup/compaction-plugin-effect-tests branch from 9f0cff9 to 4d2edc9 Compare May 10, 2026 23:13
@kitlangton kitlangton force-pushed the cleanup/compaction-llm-tail-effect-tests branch from 19cab47 to 6f775d1 Compare May 10, 2026 23:18
@kitlangton kitlangton force-pushed the cleanup/compaction-plugin-effect-tests branch from 4d2edc9 to a85c829 Compare May 10, 2026 23:18
@kitlangton kitlangton force-pushed the cleanup/compaction-llm-tail-effect-tests branch from 6f775d1 to c0f65d5 Compare May 10, 2026 23:20
@kitlangton kitlangton force-pushed the cleanup/compaction-plugin-effect-tests branch from a85c829 to 3a6cf6d Compare May 10, 2026 23:20
@kitlangton kitlangton changed the base branch from cleanup/compaction-llm-tail-effect-tests to dev May 10, 2026 23:41
@kitlangton kitlangton force-pushed the cleanup/compaction-plugin-effect-tests branch from 3a6cf6d to ee20a5f Compare May 10, 2026 23:41
@kitlangton kitlangton merged commit a658e43 into dev May 10, 2026
8 checks passed
@kitlangton kitlangton deleted the cleanup/compaction-plugin-effect-tests branch May 10, 2026 23:42
joshue031 pushed a commit to joshue031/opencode that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant