Skip to content

feat: add replication bootstrap and sync auth routes#45

Open
skgbafa wants to merge 39 commits into
mainfrom
feat/replication-e2e-bootstrap
Open

feat: add replication bootstrap and sync auth routes#45
skgbafa wants to merge 39 commits into
mainfrom
feat/replication-e2e-bootstrap

Conversation

@skgbafa
Copy link
Copy Markdown
Contributor

@skgbafa skgbafa commented Apr 9, 2026

Summary

  • add the replication bootstrap module and server routes for KV and SQLite export/reconcile
  • add short-lived replication session tokens opened from scoped tinycloud.space/sync delegations
  • wire replication status into /info and add the node-side storage/import/export plumbing for live replication

Verification

  • TMPDIR=/mnt/HC_Volume_105362075/tmp CARGO_TARGET_DIR=/mnt/HC_Volume_105362075/cargo-target OPENSSL_NO_VENDOR=1 CARGO_INCREMENTAL=0 cargo build -j 8 --bin tinycloud
  • TC_REPLICATION_NODE_BIN=/mnt/HC_Volume_105362075/cargo-target/debug/tinycloud bun test replication/

Notes

  • replication session tokens are reusable until expiry and live in memory for now
  • reconcile is a local pull-through helper that forwards peer session tokens to export
  • full auth-sync/revocation and delegation-backed peerServing enforcement still remain for later phases

@skgbafa skgbafa force-pushed the feat/replication-e2e-bootstrap branch from b377c7e to 1d6681f Compare May 10, 2026 02:15
skgbafa added 29 commits May 18, 2026 16:40
@skgbafa skgbafa force-pushed the feat/replication-e2e-bootstrap branch from 5a5ddf1 to 31d06c8 Compare May 18, 2026 17:06
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