fix(prompt-retry): preserve async holds without blocking validation fallbacks
This commit is contained in:
@@ -9,6 +9,7 @@ import { clearSkillCache } from "../../features/opencode-skill-loader/skill-cont
|
||||
import { __setTimingConfig, __resetTimingConfig } from "./timing"
|
||||
import * as connectedProvidersCache from "../../shared/connected-providers-cache"
|
||||
import * as executor from "./executor"
|
||||
import { releaseAllPromptAsyncReservationsForTesting } from "../../shared/prompt-async-gate"
|
||||
|
||||
const runtimeRequire = require as NodeJS.Require & { cache?: Record<string, unknown> }
|
||||
|
||||
@@ -78,6 +79,7 @@ describe("sisyphus-task", () => {
|
||||
|
||||
afterEach(() => {
|
||||
__resetTimingConfig()
|
||||
releaseAllPromptAsyncReservationsForTesting()
|
||||
cacheSpy?.mockRestore()
|
||||
providerModelsSpy?.mockRestore()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user