Skip to content

feat(runtime): expose queued pause controls and guard publication handoffs - #278

Open
ebarti wants to merge 28 commits into
mainfrom
work/issue-245-pause-resume
Open

ebarti wants to merge 28 commits into
mainfrom
work/issue-245-pause-resume

Conversation

@ebarti

@ebarti ebarti commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Queued, explicitly pause-enabled deliveries can already be stopped before workflow start. This change exposes their pause status and commands through the CLI, MCP and durable operation journal. Malformed commands without an addressable identity are rejected before journal insertion. Known pre-commit refusals are retained against the exact command and reconciled without reissuing it. A post-commit namespace error remains unknown until the original success receipt is read. A resume still pending at service restart is held until the same operation is explicitly resubmitted.

The change also prepares an internal actor-bound fence for ordinary publication handoffs. A denied stage, commit, push or PR-create handoff records its original pause identity before launch. Completed staging records supported Git index semantics; a continuation refuses changed or unproven staged content rather than restaging it. A failed post-stage index observation remains an unknown outcome. A pause denial reaches the activity interceptor as PauseDeferred instead of a generic publication rejection.

This is a bounded contribution to #245. Public running-workflow pause remains disabled. Publication scenarios use controlled SDK and pause/resume authority, and do not establish native descendant settlement, full checkpoint or restart custody, execution-time clock semantics, feature-child activation, or complete pause/resume acceptance. No deadline or repair budget is changed.

Validation for local signed commit e6cdc074687b5ea0b4e8ce36c66068952bbadaed, tree eb679e01a3b85dc25fec77f8af34e6690a6ba399, with source-identical final head 04cb084739c4c999869199bced40b3c3440bde41 based on merged main 62f6d3877dfa8e22dc23cf78958f77443e6771e0:

  • Ten complete affected public queued-pause, Temporal, operation-journal, CLI/MCP, read-only and publication modules passed together: 66 cases in 74.24 seconds. These include a real local Temporal workflow and owned loopback/Git/SQLite fixtures; publication SDK selection, future pause authority and GitHub publication were controlled.
  • Full runtime Ruff and git diff --check passed. Independent indexes reconstructed the final tree from both its parent and the reviewed lower integration. The final integration preserves the reviewed complete tree and per-layer diff. Full hosted Check 41342543032 and current CodeQL passed on this exact head/base. All five jobs, ZIP digests and four complete disjoint same-revision reports/JUnit were authenticated: 1,462 runtime passes and 188 source passes. Four existing runtime and three existing source opt-in/capability bodies remain skipped and unexecuted. Configured hosted-gate qualification does not establish production or full issue acceptance.

ebarti added 28 commits October 29, 2026 11:01
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