Skip to content

refactor: centralize deployment lifecycle - #661

Merged
lthibault merged 1 commit into
masterfrom
title-from-pasted-prompt-v3
Aug 20, 2026
Merged

lthibault merged 1 commit into
masterfrom
title-from-pasted-prompt-v3

Conversation

@lthibault

Copy link
Copy Markdown
Contributor

Summary

  • Add the new host ww::stem::Source boundary.
  • Add a deployment lifecycle owner.
  • Start host-local epoch sequencing at 0.
  • Share finalized-depth Atom polling between bootstrap and follow operations.
  • Revoke the active deployment before replacement while teardown and preparation run concurrently.
  • Split deployment preparation from activation and complete teardown before the root swap.
  • Keep static and no-Stem deployments on the common lifecycle path.
  • Delete crates/stem, cell::epoch, EpochService, the Atom Finalizer, Provenance, and obsolete bootstrap machinery.

Independent review fixes

  • Correct the capabilities documentation to reference ww::stem::atom::Source.
  • Return a retryable, non-authoritative Atom snapshot error when the chain tip is below the configured confirmation depth.
  • Add a regression test that verifies no block becomes authoritative before the configured depth is available.

Deferred work

  • Phase 3b
  • Phase 3-IPNS
  • Routing / ARCH-13
  • capnp/stem.capnp

Validation

  • cargo fmt --all -- --check
  • cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace --no-fail-fast
  • git diff --check

All listed validation commands passed.

@lthibault
lthibault merged commit ce61fe1 into master Aug 20, 2026
14 checks passed
@lthibault
lthibault deleted the title-from-pasted-prompt-v3 branch August 20, 2026 10:49
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