Dashboard › opencode › Distillation
92f2ae2c-f94f-45c3-a0fc-0b7c2c30ee7d["lore_tm_v1_30Uhf9CGphdPC5E0GdYSCXagvdHQdWS40hotEZi1C0o","lore_tm_v1_EI7BhNbBa2e7g2neQDummfya_mzjtpqmqvYL01dnkvY","lore_tm_v1_CQsO2-ludwmTnmJ_jUL7vL54y3u0VTfPKRnE5CXZJfI","lore_tm_v1_G1YJ3YpKu1Z-mDxxkE8Uj1jlRBphAqQc9t9UgoRP0Yo","lore_tm_v1_uxhL67JQ75cU4vrjOfIGaAeVW8-ksuYKpoKOwzZRaDE","lore_tm_v1_e9V88J-kxwmaIZV6I2FT9HW9z3UUcpvbZ4sT6YKUZb8"]
Date: Sep 16, 2026
packages/core/test/session-runner.test.ts:752.packages/core/test/session-runner.test.ts found "Provider Step ended without settlement" at lines 505 and 4249, represented as { type: "unknown", message: "Provider Step ended without settlement" }./tmp/opencode/session-recovery-final-v8.patch found MAX_WAKE_ATTEMPTS defined as Number.MAX_SAFE_INTEGER; recovery and ordinary wake queries constrain wake_attempts to at most MAX_WAKE_ATTEMPTS, prioritize rows exactly at MAX_WAKE_ATTEMPTS, and wrap the next attempt to 1 when the current value equals MAX_WAKE_ATTEMPTS./tmp/opencode/session-recovery-final-v8.patch changes the test runner layer to use SessionExecutionLocal.make, invoking sessionRunner.run({ ...claim, force, recoveryInputID }) with Effect.ensuring(Effect.suspend(() => runnerFinalizer)); the layer now provides both runnerLayer and LayerNode.compile(Database.node).insertExecution(id: SessionV2.ID), which inserts or updates SessionExecutionTable using executionID, session_id: id, owner_id: "test", phase: "ready", assistant_message_id: null on update, time_created: Date.now(), and expires_at: Date.now() + 60_000.runnerFinalizer = Effect.void.{ type: "tool", id, state: { status: "error", error: { type: "unknown", message: "Tool execution interrupted" } }; the assistant projection is expected to finish with "error" and { type: "unknown", message: "Provider Step ended without settlement" }."tool input" specially: expected content is reduced to { type: "tool", id: fragmentID(kind, "partial"), state: { status: "error" } }, while other fragment kinds continue using fixture.expectedContent; provider-stream failure remains { type: "unknown", message: "Provider unavailable" }.insertExecution(sessionID) before runner.run({ sessionID, force: true, executionID, ownerID: "test" }); after interrupting the fiber, they verify the durable execution row equals { id: executionID, phase: "unknown" } and that at least one persisted event type starts with SessionEvent.Step.Interrupted.type.