fix(registry): check rows.Err() after iteration in provisiontimeout + healthsweep #2048

Closed
core-be wants to merge 2 commits from fix/registry-rows-err-check into staging
Member
No description provided.
core-be added 1 commit 2026-06-01 03:36:53 +00:00
fix(registry): check rows.Err() after iteration in provisiontimeout + healthsweep
E2E API Smoke Test / E2E API Smoke Test (pull_request) Blocked by required conditions
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Blocked by required conditions
Harness Replays / Harness Replays (pull_request) Blocked by required conditions
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Blocked by required conditions
sop-checklist / review-refire (pull_request) Waiting to run
branch-protection drift check / Branch protection drift (pull_request) Successful in 5s
cascade-list-drift-gate / check (pull_request) Successful in 4s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 17s
Check merge_group trigger on required workflows / Required workflows have merge_group trigger (pull_request) Successful in 4s
Check migration collisions / Migration version collision check (pull_request) Successful in 8s
CI / Detect changes (pull_request) Successful in 8s
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Failing after 4s
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Failing after 2s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Failing after 2s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
E2E API Smoke Test / detect-changes (pull_request) Successful in 6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 6s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 4s
Harness Replays / detect-changes (pull_request) Successful in 4s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 8s
Secret scan / Scan diff for credential-shaped strings (pull_request) Failing after 25s
qa-review / approved (pull_request) Successful in 6s
security-review / approved (pull_request) Successful in 4s
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 30s
Runtime Pin Compatibility / PyPI-latest install + import smoke (pull_request) Successful in 1m36s
gate-check-v3 / gate-check (pull_request) Successful in 6s
sop-checklist / all-items-acked (pull_request) Successful in 6s
sop-tier-check / tier-check (pull_request) Successful in 4s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 14s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 12s
CI / Canvas (Next.js) (pull_request) Failing after 3m15s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Platform (Go) (pull_request) Successful in 4m11s
CI / Python Lint & Test (pull_request) Failing after 7m1s
624183ce1a
Adds rows.Err() checks after Next() loops in:
- registry/provisiontimeout.go (provisioning timeout candidate scan)
- registry/healthsweep.go sweepOnlineWorkspaces (local container check)
- registry/healthsweep.go sweepStaleRemoteWorkspaces (external heartbeat check)

Also fixes silently ignored rows.Scan errors in all three loops — previously
a scan failure would drop the row silently instead of logging the error.

Prevents silently skipping workspaces during timeout/health sweeps when
the DB connection fails mid-iteration or a row contains unexpected data.
core-be changed target branch from main to staging 2026-06-01 03:40:21 +00:00
core-be force-pushed fix/registry-rows-err-check from 624183ce1a to 4efc08aa17 2026-06-01 04:26:13 +00:00 Compare
core-be added 1 commit 2026-06-01 12:40:08 +00:00
ci: remove unused canvasUserMessage type to fix lint on staging
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 8s
CI / Detect changes (pull_request) Successful in 13s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 22s
E2E API Smoke Test / detect-changes (pull_request) Successful in 13s
E2E Chat / detect-changes (pull_request) Successful in 12s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
CI / Platform (Go) (pull_request) Successful in 6m12s
Harness Replays / detect-changes (pull_request) Successful in 11s
CI / Canvas (Next.js) (pull_request) Successful in 7m54s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m14s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 10s
CI / Python Lint & Test (pull_request) Successful in 7m9s
CI / all-required (pull_request) Successful in 5m46s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
gate-check-v3 / gate-check (pull_request_target) Successful in 6s
qa-review / approved (pull_request_target) Successful in 16s
security-review / approved (pull_request_target) Successful in 11s
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
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 7s
sop-tier-check / tier-check (pull_request_target) Successful in 9s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m48s
Harness Replays / Harness Replays (pull_request) Successful in 4s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 28s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2m24s
E2E Chat / E2E Chat (pull_request) Failing after 6m41s
audit-force-merge / audit (pull_request_target) Has been skipped
88a538117e
internal/handlers/a2a_proxy_helpers.go:412 had an unused struct that
causes golangci-lint `unused` failure on every PR targeting staging.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Member

Closing — based on the dead staging fork; this fix is already on main. main already checks rows.Err() after the iteration loops in healthsweep (healthsweep.go:96-97,165-166) and provisiontimeout (provisiontimeout.go:169). Per the staging-deprecation cleanup; target main for future PRs.

Closing — based on the dead `staging` fork; this fix is already on `main`. main already checks rows.Err() after the iteration loops in healthsweep (healthsweep.go:96-97,165-166) and provisiontimeout (provisiontimeout.go:169). Per the staging-deprecation cleanup; target `main` for future PRs.
devops-engineer closed this pull request 2026-06-01 18:28:23 +00:00
Some required checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 8s
CI / Detect changes (pull_request) Successful in 13s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 22s
E2E API Smoke Test / detect-changes (pull_request) Successful in 13s
E2E Chat / detect-changes (pull_request) Successful in 12s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
CI / Platform (Go) (pull_request) Successful in 6m12s
Harness Replays / detect-changes (pull_request) Successful in 11s
CI / Canvas (Next.js) (pull_request) Successful in 7m54s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m14s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 10s
CI / Python Lint & Test (pull_request) Successful in 7m9s
CI / all-required (pull_request) Successful in 5m46s
Required
Details
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
gate-check-v3 / gate-check (pull_request_target) Successful in 6s
qa-review / approved (pull_request_target) Successful in 16s
security-review / approved (pull_request_target) Successful in 11s
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
Required
Details
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 7s
sop-tier-check / tier-check (pull_request_target) Successful in 9s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 1m48s
Harness Replays / Harness Replays (pull_request) Successful in 4s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 28s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2m24s
E2E Chat / E2E Chat (pull_request) Failing after 6m41s
audit-force-merge / audit (pull_request_target) Has been skipped

Pull request closed

Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2048