Skip to content

Absorb the container runtime layer from ComposeKit#8

Merged
flaticols merged 2 commits into
mainfrom
refactor/absorb-container-layer
Jun 21, 2026
Merged

Absorb the container runtime layer from ComposeKit#8
flaticols merged 2 commits into
mainfrom
refactor/absorb-container-layer

Conversation

@flaticols

Copy link
Copy Markdown
Owner

Warning

Draft / blocked. This depends on the ComposeKit PR that removes the ComposeKitContainer product and a new ComposeKit tag (0.0.3). Until that tag exists and the pin below is bumped, CI is red and the build only works with a local checkout:
swift package edit ComposeKit --path ../ComposeKit.

Absorbs the container runtime layer extracted from ComposeKit (companion PR: flaticols/ComposeKit#11).

  • New ContainerComposeKit library target: ContainerTranslator, ContainerRunner, Orchestrator, HealthChecker.
  • New ContainerComposeKitTests (25 tests) — the container suites moved here, with their fixtures.
  • Executable drops the ComposeKitContainer product dependency, gains the local ContainerComposeKit target; imports updated.
  • Makefile/CI run local swift test; README/PACKAGING reflect the new layout; gitignore the swift package edit symlink.

Release sequence (must be in order)

  1. Merge ComposeKit polish + extraction → main; tag ComposeKit 0.0.3.
  2. Here: bump pin 0.0.20.0.3, swift package unedit ComposeKit, swift package resolve, confirm it builds without the edit.
  3. Then this is mergeable.

Verified locally under swift package edit: builds, 25 tests pass, container-compose --help works.

ComposeKit became a pure spec parser; its container translation/orchestration
layer now lives here as the ContainerComposeKit target (ContainerTranslator,
ContainerRunner, Orchestrator, HealthChecker), with the container test suites.

- Add ContainerComposeKit library target + ContainerComposeKitTests (25 tests).
- Executable drops the ComposeKitContainer product dep, gains ContainerComposeKit;
  imports updated.
- Makefile/CI now run local tests; README/PACKAGING reflect the new layout.
- gitignore the swift-package-edit Packages/ symlink.

Requires the next ComposeKit tag (post-0.0.2, which removed the ComposeKitContainer
product); until then build with: swift package edit ComposeKit --path ../ComposeKit
ComposeKit 0.0.3 removed the ComposeKitContainer product; this repo now owns the
runtime layer (ContainerComposeKit) and depends only on ComposeKit's core
product. Builds and tests without a local swift-package-edit checkout.
@flaticols flaticols marked this pull request as ready for review June 21, 2026 13:05
@flaticols flaticols merged commit 1fa408d into main Jun 21, 2026
1 check passed
@flaticols flaticols deleted the refactor/absorb-container-layer branch June 21, 2026 13:08
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