Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): a /compact stopped by the Claude usage limit now fails #19583

MergedScottN-PV(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/19583/headmerged by juliusmarminge View on GitHub

Showing 2 changed files with 130 additions and 2 deletions.

x
0 of 2 viewed, 2 left
98 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsModified
View file
@@ -3399,6 +3399,104 @@
+ it.effect.each([
+ {
+ name: "fails a /compact the usage limit stopped",
+ limited: true,
+ compaction: "failed",
+ compact: true,
+ status: "failed",
+ },
+ {
+ name: "completes an unlimited failed /compact",
+ limited: false,
+ compaction: "failed",
+ compact: true,
+ status: "completed",
+ },
+ {
+ name: "completes a successful limited /compact",
+ limited: true,
+ compaction: "success",
+ compact: true,
+ status: "completed",
+ },
+ {
+ name: "completes a failed automatic compaction",
+ limited: true,
+ compaction: "failed",