Skip to content

fix: reset compress-pending manual mode after compression - #596

Open
LHMQ878 wants to merge 1 commit into
Opencode-DCP:masterfrom
LHMQ878:fix/590-manual-mode-compress-pending
Open

fix: reset compress-pending manual mode after compression#596
LHMQ878 wants to merge 1 commit into
Opencode-DCP:masterfrom
LHMQ878:fix/590-manual-mode-compress-pending

Conversation

@LHMQ878

@LHMQ878 LHMQ878 commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • Fix finalizeSession() so temporary compress-pending state from /dcp-compress resets to auto mode instead of being persisted as active manual mode.
  • Add focused regression tests for compress-pending and explicit active manual mode.

Fixes #590

Test plan

  • npm test -- tests/finalize-session.test.ts
  • npm test

After /dcp-compress, finalizeSession must not treat compress-pending as
active manual mode, which permanently blocked automatic compression.
@LHMQ878
LHMQ878 force-pushed the fix/590-manual-mode-compress-pending branch from b9c8366 to 9f9a185 Compare August 8, 2026 09:18
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.

[Bug]: finalizeSession() converts "compress-pending" to "active" via truthy check, permanently blocking auto compression

1 participant