diff --git a/workspace-server/internal/handlers/delegation_executor_integration_test.go b/workspace-server/internal/handlers/delegation_executor_integration_test.go index 43625d4a..c8de3bd3 100644 --- a/workspace-server/internal/handlers/delegation_executor_integration_test.go +++ b/workspace-server/internal/handlers/delegation_executor_integration_test.go @@ -303,7 +303,8 @@ func TestIntegration_ExecuteDelegation_DeliveryConfirmedProxyError_TreatsAsSucce start := time.Now() runWithTimeout(t, 30*time.Second, func(ctx context.Context) { - dh.executeDelegation(ctx, testSourceID, testTargetID, testDelegationID, a2aBody) + _ = ctx // ctx unused: executeDelegation manages its own 30-min timeout internally + dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody) }) t.Logf("executeDelegation took %v", time.Since(start)) @@ -355,7 +356,8 @@ func TestIntegration_ExecuteDelegation_ProxyErrorNon2xx_RemainsFailed(t *testing }) start := time.Now() runWithTimeout(t, 30*time.Second, func(ctx context.Context) { - dh.executeDelegation(ctx, testSourceID, testTargetID, testDelegationID, a2aBody) + _ = ctx // ctx unused: executeDelegation manages its own 30-min timeout internally + dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody) }) t.Logf("executeDelegation took %v", time.Since(start)) @@ -404,7 +406,8 @@ func TestIntegration_ExecuteDelegation_ProxyErrorEmptyBody_RemainsFailed(t *test }) start := time.Now() runWithTimeout(t, 30*time.Second, func(ctx context.Context) { - dh.executeDelegation(ctx, testSourceID, testTargetID, testDelegationID, a2aBody) + _ = ctx // ctx unused: executeDelegation manages its own 30-min timeout internally + dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody) }) t.Logf("executeDelegation took %v", time.Since(start)) @@ -452,7 +455,8 @@ func TestIntegration_ExecuteDelegation_CleanProxyResponse_Unchanged(t *testing.T }) start := time.Now() runWithTimeout(t, 30*time.Second, func(ctx context.Context) { - dh.executeDelegation(ctx, testSourceID, testTargetID, testDelegationID, a2aBody) + _ = ctx // ctx unused: executeDelegation manages its own 30-min timeout internally + dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody) }) t.Logf("executeDelegation took %v", time.Since(start)) @@ -497,7 +501,8 @@ func TestIntegration_ExecuteDelegation_RedisDown_FallsBackToDB(t *testing.T) { }) start := time.Now() runWithTimeout(t, 30*time.Second, func(ctx context.Context) { - dh.executeDelegation(ctx, testSourceID, testTargetID, testDelegationID, a2aBody) + _ = ctx // ctx unused: executeDelegation manages its own 30-min timeout internally + dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody) }) t.Logf("executeDelegation took %v", time.Since(start))