Skip to content

Return typed workflow errors for run-control contention - #530

Merged
chubes4 merged 3 commits into
mainfrom
fix/528-run-control-errors
Aug 25, 2026
Merged

Return typed workflow errors for run-control contention#530
chubes4 merged 3 commits into
mainfrom
fix/528-run-control-errors

Conversation

@chubes4

@chubes4 chubes4 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • return typed retryable workflow errors when run-control storage is temporarily unavailable
  • classify option-store read, write, transaction, lock, and release failures without swallowing programmer or policy errors
  • preserve idempotent request identity across uncertain commits and safely resume terminal delivery through exclusive connection-lifetime claims
  • keep stale workers and duplicate live callbacks fenced with truthful public status

Closes #528

Verification

  • php tests/workflow-request-controller-smoke.php (35 passed)
  • php tests/run-control-option-store-failures-smoke.php (17 passed)
  • composer smoke
  • composer phpstan
  • git diff --check origin/main...HEAD

AI assistance

OpenAI GPT-5.6 Sol via OpenCode general coding and review subagents was used to reproduce the live Intelligence failure, trace the Agents API ownership boundary, implement and independently review the typed-error and recovery contracts, find and correct uncertain-commit and callback-claim edge cases, and run verification. Chris Huber directed the orchestration and remains responsible for the submitted change.

@chubes4
chubes4 merged commit d75b27e into main Aug 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return typed workflow errors when run-control storage is contended

1 participant