Skip to content

Make route deployment and migration retries recover safely - #41

Merged
squarepots merged 1 commit into
mainfrom
fix/deployment-migration-recovery
Sep 17, 2026
Merged

squarepots merged 1 commit into
mainfrom
fix/deployment-migration-recovery

Conversation

@squarepots

@squarepots squarepots commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • audit remote Route state before every deployment attempt
  • persist state=deploying before remote mutation so interrupted attempts have a durable retry checkpoint
  • adopt verified in-sync remote state locally without repeating deployment
  • allow remote mutation only when audit proves the managed service is missing and local state is not already deployed
  • report remote deployment, local state persistence, and observed-state persistence as distinct partial states
  • let migration retries reuse the same audit-first deployment contract

Tests

  • deployment mutation is allowed only for known safe remote states
  • the deploying retry checkpoint survives a fresh state load
  • verified in-sync recovery adopts local state without another remote mutation
  • migration resumes after an undetermined deployment result without duplicating replacement state

Version impact

patch — fixes existing deployment and migration retry behavior.

Closes #7

@squarepots
squarepots force-pushed the fix/subscription-publication-state branch from ae5021b to 4011191 Compare September 11, 2026 14:16
Persist deployment intent, audit before retry mutation, and keep migration retries on the same recovery contract.

Signed-off-by: squarepots <46488165+squarepots@users.noreply.github.com>
@squarepots
squarepots force-pushed the fix/deployment-migration-recovery branch from a685417 to da48de5 Compare September 17, 2026 16:48
@squarepots
squarepots changed the base branch from fix/subscription-publication-state to main September 17, 2026 16:49
@squarepots squarepots closed this Sep 17, 2026
@squarepots squarepots reopened this Sep 17, 2026
@squarepots
squarepots merged commit 5b9831d into main Sep 17, 2026
9 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.

Make migration and partial deployment recovery reliable

1 participant