Compare commits

...

1 Commits

Author SHA1 Message Date
599e49ac5a fix(handlers): update executeDelegation calls in integration tests
Some checks failed
review-check-tests / review-check.sh regression tests (pull_request) Successful in 17s
Harness Replays / Harness Replays (pull_request) Has been skipped
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 30s
gate-check-v3 / gate-check (pull_request) Successful in 12s
qa-review / approved (pull_request) Failing after 8s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 35s
sop-checklist / na-declarations (pull_request) awaiting /sop-n/a declaration for: qa-review, security-review
sop-checklist / all-items-acked (pull_request) [info tier:low] acked: 3/7 — missing: root-cause, five-axis-review, no-backwards-compat, +1 — body-unfilled: comprehensive-testing, local-po
security-review / approved (pull_request) Failing after 11s
publish-runtime-autobump / pr-validate (pull_request) Successful in 44s
sop-checklist-gate / gate (pull_request) Successful in 14s
MCP Stdio Transport Regression / MCP stdio with regular-file stdout (pull_request) Successful in 1m17s
sop-tier-check / tier-check (pull_request) Successful in 13s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Failing after 1m18s
lint-mask-pr-atomicity / lint-mask-pr-atomicity (pull_request) Failing after 1m35s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m20s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 16s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m32s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m46s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m57s
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 1m35s
CI / Python Lint & Test (pull_request) Failing after 1m56s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m14s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Failing after 4m36s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 2m45s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 8m57s
CI / Platform (Go) (pull_request) Failing after 11m20s
CI / Canvas (Next.js) (pull_request) Failing after 16m39s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / all-required (pull_request) Failing after 6s
The executeDelegation signature changed from 5 params to 4 params
(removed ctx param). Update all 5 integration test calls to match
the new signature and suppress the now-unused ctx variable.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 02:34:30 +00:00

View File

@ -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
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
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
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
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
dh.executeDelegation(testSourceID, testTargetID, testDelegationID, a2aBody)
})
t.Logf("executeDelegation took %v", time.Since(start))