Skip to content

Make resource pipeline dispatch recoverable after redelivery and session-lock loss #5236

Open

Description

@JayDoubleu

The API saves operation state and sends deployment messages in separate actions. If processing stops after a message is accepted but before that fact is saved, recovery can send the same step again. Overlapping workers can also replace newer status with stale data.

Related changes are combined into fewer PRs for review. Earlier PRs and test results remain as historical evidence.

Current position

Item Status and evidence
Related implementation PR #5253 (partial protection only)
Earlier PRs PR #5234
Completion Keep open until message dispatch and recovery have a complete implementation and integration evidence.
Position Deferred investigation. No complete recovery design or implementation is claimed.
Source finding This is a code-derived risk, not the confirmed cause of the certificate failure in #5233.
Partial protection PR #5253 adds uninstall callback checkpoints and stale-callback guards. It does not guarantee one message delivery or exclude concurrent stale writers.

Scope

  • Define recovery before sending, after message acceptance and before acknowledgement.
  • Prevent repeated destructive actions, lost deployment requests and stale status writes.
  • Cover install, upgrade, uninstall, custom actions and cascades.

Remaining work

  • Design durable message dispatch and repeat-safe processing across Cosmos DB and Service Bus.
  • Add integration tests for process interruption, redelivery and overlapping workers after session-lock loss.
  • Document queue compatibility and upgrade requirements for the chosen design.

Parent: #5124.

Activity

  1. added
    v0.30.0-prep-v2Current v0.30.0 preparation: stacked PRs and open follow-up issues. Keep after closure.
    bugSomething isn't working
    apiComposition Service API
    and removed
    v0.30.0-prep-v2Current v0.30.0 preparation: stacked PRs and open follow-up issues. Keep after closure.
    on Oct 11, 2026
  2. added 19 commits that reference this issue on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiComposition Service APIbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions