ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
fix(test): escalation test to the ctx-aware hooks.current signature
BaaRaia195dfee2abf
diff --git a/server/task_llm_escalation_test.go b/server/task_llm_escalation_test.goindex 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 := 0hooks := 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) {