|
Some checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 24s
Harness Replays / detect-changes (pull_request) Successful in 22s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 27s
qa-review / approved (pull_request) Failing after 32s
sop-checklist / all-items-acked (pull_request) acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: comprehensive-testing, local-postgres-e2
security-review / approved (pull_request) Failing after 28s
CI / Detect changes (pull_request) Successful in 1m14s
E2E API Smoke Test / detect-changes (pull_request) Successful in 1m12s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 1m13s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 1m5s
Harness Replays / Harness Replays (pull_request) Successful in 13s
CI / Canvas (Next.js) (pull_request) Successful in 13s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Shellcheck (E2E scripts) (pull_request) Successful in 13s
CI / Python Lint & Test (pull_request) Successful in 12s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m33s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 13s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 1m31s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Failing after 1m39s
sop-tier-check / tier-check (pull_request) Successful in 32s
sop-checklist-gate / gate (pull_request) Successful in 35s
CI / Platform (Go) (pull_request) Failing after 3m58s
gate-check-v3 / gate-check (pull_request) Failing after 48s
CI / all-required (pull_request) Successful in 6s
lint-mask-pr-atomicity / lint-mask-pr-atomicity (pull_request) Successful in 2m30s
RFC #2829 PR-1/4: GET /workspaces/:id/delegations previously queried only activity_logs, returning [] for active/completed delegations while the agent's check_delegation_status showed them correctly. The new delegations table (migration 049) now holds durable state for active delegations. The handler now tries the ledger first (delegations table), falls back to activity_logs for pre-migration data, and returns [] only when both are empty. This closes the mismatch where: - GET /delegations → [] - check_delegation_status(task_id) → active/completed 6 new tests: TestListDelegations_LedgerRowsReturned TestListDelegations_LedgerEmptyFallsBackToActivityLogs TestListDelegations_BothEmptyReturnsEmptyArray TestListDelegations_LedgerQueryErrorFallsBackToActivityLogs TestListDelegations_LedgerCompletedIncludesResultPreview TestListDelegations_LedgerFailedIncludesErrorDetail Updated existing tests TestListDelegations_Empty and TestListDelegations_WithResults to use the ledger-first flow. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| migrations | ||
| pkg/provisionhook | ||
| .air.toml | ||
| .ci-force | ||
| .gitignore | ||
| .golangci.yaml | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| Dockerfile.tenant | ||
| entrypoint-tenant.sh | ||
| go.mod | ||
| go.sum | ||