fix(prompt-retry): preserve async holds without blocking validation fallbacks

This commit is contained in:
YeonGyu-Kim
2026-05-19 13:48:33 +09:00
parent 5f733f471c
commit e57bac3b6b
9 changed files with 168 additions and 6 deletions
+2
View File
@@ -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()
})