fix(auth,restart): capture discarded ExecContext errors in token bumps + Restart #2042

Closed
core-be wants to merge 3 commits from fix/execcontext-error-audit into staging
Member
No description provided.
core-be added 2 commits 2026-06-01 03:36:30 +00:00
4 call sites in workspace_restart.go previously discarded DB write
errors silently. Add error capture + log.Printf for each:

- Restart runtime persistence (config.yaml drift)
- Restart provisioning status reset
- Pause status persistence
- Resume provisioning status persistence

No control flow changed — all fire-and-forget updates.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix(auth,restart): capture discarded ExecContext errors in token bumps + Restart
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
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 21s
branch-protection drift check / Branch protection drift (pull_request) Successful in 9s
cascade-list-drift-gate / check (pull_request) Successful in 10s
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 9s
CI / Detect changes (pull_request) Successful in 6s
CodeQL / Analyze (${{ matrix.language }}) (go) (pull_request) Failing after 1s
CodeQL / Analyze (${{ matrix.language }}) (javascript-typescript) (pull_request) Failing after 2s
CodeQL / Analyze (${{ matrix.language }}) (python) (pull_request) Failing after 2s
E2E API Smoke Test / detect-changes (pull_request) Successful in 5s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 7s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 5s
Harness Replays / detect-changes (pull_request) Successful in 6s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 5s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 6s
Secret scan / Scan diff for credential-shaped strings (pull_request) Failing after 34s
qa-review / approved (pull_request) Successful in 4s
security-review / approved (pull_request) Successful in 4s
Ops Scripts Tests / Ops scripts (unittest) (pull_request) Successful in 37s
Runtime Pin Compatibility / PyPI-latest install + import smoke (pull_request) Successful in 1m29s
gate-check-v3 / gate-check (pull_request) Successful in 6s
sop-checklist / all-items-acked (pull_request) Successful in 5s
sop-tier-check / tier-check (pull_request) Successful in 4s
CI / Canvas (Next.js) (pull_request) Failing after 2m19s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / Shellcheck (E2E scripts) (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 7s
CI / Platform (Go) (pull_request) Successful in 3m34s
CI / Python Lint & Test (pull_request) Failing after 7m22s
1b16a0951c
core-be changed target branch from main to staging 2026-06-01 03:40:07 +00:00
core-be force-pushed fix/execcontext-error-audit from 1b16a0951c to 9d3477bf8d 2026-06-01 04:27:05 +00:00 Compare
core-be added 1 commit 2026-06-01 12:40:28 +00:00
ci: remove unused canvasUserMessage type to fix lint on staging
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 11s
CI / Detect changes (pull_request) Successful in 19s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 36s
E2E API Smoke Test / detect-changes (pull_request) Successful in 15s
E2E Chat / detect-changes (pull_request) Successful in 13s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 4s
Harness Replays / detect-changes (pull_request) Successful in 5s
CI / Platform (Go) (pull_request) Successful in 5m46s
CI / Canvas (Next.js) (pull_request) Successful in 7m24s
CI / Python Lint & Test (pull_request) Successful in 7m19s
CI / all-required (pull_request) Successful in 6m49s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 8s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 4s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m7s
gate-check-v3 / gate-check (pull_request_target) Successful in 9s
qa-review / approved (pull_request_target) Successful in 6s
security-review / approved (pull_request_target) Successful in 6s
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 6s
sop-tier-check / tier-check (pull_request_target) Successful in 7s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m10s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Harness Replays / Harness Replays (pull_request) Successful in 9s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2m25s
E2E Chat / E2E Chat (pull_request) Failing after 7m46s
audit-force-merge / audit (pull_request_target) Has been skipped
00102bc28d
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 the discarded ExecContext errors: Restart runtime persist + reset-to-provisioning (workspace_restart.go:300,393), orgtoken last_used bump (orgtoken/tokens.go:135), and wsauth last_used bumps (wsauth/tokens.go:129,257). 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 the discarded ExecContext errors: Restart runtime persist + reset-to-provisioning (workspace_restart.go:300,393), orgtoken last_used bump (orgtoken/tokens.go:135), and wsauth last_used bumps (wsauth/tokens.go:129,257). Per the staging-deprecation cleanup; target `main` for future PRs.
devops-engineer closed this pull request 2026-06-01 18:28:19 +00:00
Some required checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 11s
CI / Detect changes (pull_request) Successful in 19s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 36s
E2E API Smoke Test / detect-changes (pull_request) Successful in 15s
E2E Chat / detect-changes (pull_request) Successful in 13s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 4s
Harness Replays / detect-changes (pull_request) Successful in 5s
CI / Platform (Go) (pull_request) Successful in 5m46s
CI / Canvas (Next.js) (pull_request) Successful in 7m24s
CI / Python Lint & Test (pull_request) Successful in 7m19s
CI / all-required (pull_request) Successful in 6m49s
Required
Details
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 8s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 4s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m7s
gate-check-v3 / gate-check (pull_request_target) Successful in 9s
qa-review / approved (pull_request_target) Successful in 6s
security-review / approved (pull_request_target) Successful in 6s
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 6s
sop-tier-check / tier-check (pull_request_target) Successful in 7s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m10s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
Harness Replays / Harness Replays (pull_request) Successful in 9s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 6s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2m25s
E2E Chat / E2E Chat (pull_request) Failing after 7m46s
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#2042