Skip to content

Move durable run reservation below Copilot orchestration - #195

Merged
tzhouam merged 1 commit into
mainfrom
codex/run-reservation-boundary-20260926
Sep 26, 2026
Merged

tzhouam merged 1 commit into
mainfrom
codex/run-reservation-boundary-20260926

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

RunService previously reached through the large Copilot workflow orchestrator to reserve a run and validate IDs for polling. That made durable-run identity and idempotent retry state appear to belong to workflow execution even though SDK/MCP callers need them independently.

app.reservation.RunReservation now owns the existing on-disk reservation, keyed retry, checkout binding, and contained run-ID behavior. RunService calls it directly for reserve and poll; Copilot retains its methods as compatibility delegates for existing callers and child execution. The request/status schema, run IDs, worker claim, and execution path are unchanged. The SPEC pages describe the new ownership.

Validation: focused reservation/MCP/SDK/contract/lifecycle tests and the full local pytest suite passed. Strict SPEC freshness, doc links/citations, and git diff --check passed. A built wheel contains app/reservation.py; importing it from the wheel does not import the orchestrator or transports. Exact-head GitHub CI is still required before merge.

@tzhouam
tzhouam marked this pull request as ready for review September 26, 2026 09:35
@tzhouam
tzhouam merged commit fcdb9d0 into main Sep 26, 2026
2 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-26T09:35:45.009007Z d0cdafa Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant