Skip to content

feat(infra-compose): seedFrom source-override + release 1.3.2#109

Merged
SethPaul merged 3 commits into
mainfrom
unified/infra-compose-seedfrom
Jun 1, 2026
Merged

feat(infra-compose): seedFrom source-override + release 1.3.2#109
SethPaul merged 3 commits into
mainfrom
unified/infra-compose-seedfrom

Conversation

@SethPaul
Copy link
Copy Markdown
Contributor

@SethPaul SethPaul commented Jun 1, 2026

Mainlines the canonical-seed sandbox's seedFrom capability for @saga-ed/infra-compose.

What

  • seedFrom source-override for profile restore — lets the db-host orchestrator restore a DB from a profile snapshot at an explicit S3 source (seedFrom) rather than the container's own seed.
  • Releases 1.3.2 (1.3.2-dev.0 then non-dev).

Why now

infra-compose 1.3.2 is already published to CodeArtifact and the dev db-host launch template installs it, but the source lived only on unified/infra-compose-seedfrom. This reconciles main (which was at 1.3.1) with what's published/deployed.

Scope

infra/ only — ec2-router.js, profiles.js, plus a new profiles-seedfrom.unit.test.js. 3 commits, merges cleanly with the soa-postgres work already on main (no overlap).

SethPaul added 3 commits May 30, 2026 15:05
handle_switch (POST /dbs/:name/{switch,restore}) accepts an optional
seedFrom; download_profile_seed overrides only the S3 source prefix
(source_name) so a uniquely-named sandbox DB can restore a snapshot
stored under a stable canonical template name. seeds dir + snapshot
path stay keyed by the DB's own name. Validated /^[a-zA-Z0-9_-]+$/.
Promote 1.3.2-dev.0 → 1.3.2 (identical code) so the db-host ASG launch
template can pin a published release instead of a prerelease. Required after
the cross-instance fix made matching infra-compose versions load-bearing
across scaled-out db-host nodes.
@SethPaul SethPaul merged commit e75f6c2 into main Jun 1, 2026
4 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.

1 participant