feat(FN-2119): merge fusion/fn-2119

This commit is contained in:
gsxdsm
2026-04-19 03:21:38 -07:00
parent 3f8a2e9442
commit bbc0ce89be
13 changed files with 122 additions and 14 deletions

View File

@@ -720,7 +720,10 @@ describe("aiMergeTask — usage limit detection", () => {
"FN-050",
"rate_limit_error: Rate limit exceeded",
);
expect(store.updateSettings).toHaveBeenCalledWith({ globalPause: true });
expect(store.updateSettings).toHaveBeenCalledWith({
globalPause: true,
globalPauseReason: "rate-limit",
});
});
it("triggers global pause when session.prompt() resolves with exhausted-retry error on state.error", async () => {