From a195dfee2abfa76a3d81cfaa93f04613c9e67e01 Mon Sep 17 00:00:00 2001 From: BaaRai <130491490+BaaRai@users.noreply.github.com> Date: Wed, 21 Oct 2026 15:16:25 +0200 Subject: [PATCH] fix(test): escalation test to the ctx-aware hooks.current signature Seam fix after merging #111 (escalation) with #114 (ctx-threaded hooks.current): the escalation test predates the signature change and kept compiling on its own branch, so the merge left main red. --- server/task_llm_escalation_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/task_llm_escalation_test.go b/server/task_llm_escalation_test.go index e394e14..383fb02 100644 --- a/server/task_llm_escalation_test.go +++ b/server/task_llm_escalation_test.go @@ -27,7 +27,7 @@ func TestEscalationAdvancesAfterConsecutiveFailures(t *testing.T) { nextProfile := int64(8) exhaustCalls := 0 hooks := taskLLMStreamHooks{ - current: func() (taskLLMSelection, error) { + current: func(ctx context.Context) (taskLLMSelection, error) { return taskLLMSelection{task: &Task{ID: "1"}, profileID: profile, revision: 1, provider: prov}, nil }, exhaust: func(sel taskLLMSelection, cause error) (db.TaskLLMTransition, error) {