boatyard 0.7.1.dev205__tar.gz → 0.7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/PKG-INFO +1 -1
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/closeout.md +46 -12
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/pyproject.toml +1 -1
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/build.py +1 -1
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/lock.py +1 -1
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/config_file.py +5 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/lock_file.py +1 -1
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/mirror.py +2 -2
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_mirror.py +22 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.gitattributes +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.github/workflows/cleanup-pr-releases.yml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.github/workflows/integrate.yml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.github/workflows/merge-gate.yml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.github/workflows/release.yml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.gitignore +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/.python-version +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/AGENTS.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/CLAUDE.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/LICENSE +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/NOTICE +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/README.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/AGENTS.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/CLAUDE.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/adoption-semver-wave.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/apt-hermeticity.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/dev-overlay.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/gpu-template-collapse.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/mirror-digest-retention.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/precision-attribution.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/design/semver-image-bundle-lines.md +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/publish.yml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/ruff.base.toml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/ruff.toml +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/scripts/preflight.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/__init__.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/cli.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/compose.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/crane.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/markers.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/__init__.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/image.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/k8s_pins.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/pyproject.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/values_file.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/models/workload.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/paths.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/publish.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/py.typed +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/resolve.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_compose.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_generate.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_k8s.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/gpu-cuda.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/gpu-pod.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/gpu-rocm.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/probe-adapter-healthchecks.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/restart.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/scale-to-zero.tpl +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/temp.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/__init__.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/build.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/bump.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/down.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/lock.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/matrix.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/publish.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/score.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/tree_tags.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/verbs/up.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/yaml.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/conftest.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_assembly.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_build_docker.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_bump.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_compose.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_config.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_daemon_gc.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_image_builds.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_lock.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_markers.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_matrix.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_provisioners.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_publish_compose.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_score_generate.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_tree_tags.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/tests/test_values.py +0 -0
- {boatyard-0.7.1.dev205 → boatyard-0.7.2}/uv.lock +0 -0
|
@@ -1206,9 +1206,10 @@ the wave's repins landed; Move 9 recorded dead (2026-11-09).
|
|
|
1206
1206
|
ruff/format/pytest 17/basedpyright 0 (the cpu sync cleared the torch
|
|
1207
1207
|
gaps)/lock-check/matrix ×3/plan ×4; capture-tool: preflight-python,
|
|
1208
1208
|
lock-check, matrix one partition three targets, plan three bundles —
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1209
|
+
the wave's new zed/aoa surface). lbe-toolkit and Make-it-Sing followed
|
|
1210
|
+
onto PyPI 0.7.1 later the same day (the closing entries below).
|
|
1211
|
+
capture-tool's tree
|
|
1212
|
+
carried two unrelated Unity `.asset.meta` edits, left uncommitted.
|
|
1212
1213
|
- The repin branches rewritten for review (2026-11-09, tree-identical
|
|
1213
1214
|
rebuilds; obviated intermediate states — path-pin commits, the axes
|
|
1214
1215
|
round-trip, duplicate regens and lock churn — expunged; each branch
|
|
@@ -1293,12 +1294,45 @@ the wave's repins landed; Move 9 recorded dead (2026-11-09).
|
|
|
1293
1294
|
args (`[*remote_base_images, *owned_images]` in `build.py`), a
|
|
1294
1295
|
regression test asserts the owned arg rides a target, and three
|
|
1295
1296
|
existing args-shape tests updated to the new contract. Battery 617,
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1297
|
+
full preflight green. Release set to `0.7.2` by operator instruction:
|
|
1298
|
+
`pyproject.toml` version bumped, `uv.lock` refreshed. The plan minted
|
|
1299
|
+
`0.7.1` anyway — released numbers derive from `major_minor` plus the tag
|
|
1300
|
+
ledger (`next_version` in the toolkit's plan), never from pyproject, whose
|
|
1301
|
+
version only serves local path-pin resolution — and `0.7.1` is what
|
|
1302
|
+
shipped carrying these fixes (sdist verified to contain both).
|
|
1303
|
+
`publish.yml`'s `major_minor` stays
|
|
1304
|
+
`"0.7"` — the toolkit schema pins that field to exactly two
|
|
1305
|
+
components (`^\d+\.\d+$`). PR-channel prereleases
|
|
1306
|
+
become `0.7.2.dev{N}`. placeframe's CPU leg needs this release once
|
|
1307
|
+
cut (or the placeframe-side fallback of declaring its own alpine
|
|
1308
|
+
key in `base_images`).
|
|
1309
|
+
- lbe-toolkit and Make-it-Sing repinned onto PyPI 0.7.1 (2026-11-09, each on
|
|
1310
|
+
its `compose-bundles`): path source dropped, floor `boatyard>=0.7.1`,
|
|
1311
|
+
relock resolved 0.7.1 from the registry, the change squashed into each
|
|
1312
|
+
branch's prior path-source repin commit (now "Repin boatyard onto PyPI at
|
|
1313
|
+
0.7.1", `--fixup` + autosquash + a detach/amend reword; both branches were
|
|
1314
|
+
on origin, so the operator force-pushed). lbe's battery: lock --check,
|
|
1315
|
+
generate-score --check byte-fresh under the package; Make-it-Sing's:
|
|
1316
|
+
lock --check, generate-score self-skip. lbe's Integrate green end-to-end
|
|
1317
|
+
after the push (its livekit-tier republish rode it); Make-it-Sing's died
|
|
1318
|
+
at `mirror` — the gap below.
|
|
1319
|
+
- The mirror enumeration gap (2026-11-09, Make-it-Sing Integrate 42690842741:
|
|
1320
|
+
"nothing is declared to mirror (base_images and k8s.charts are empty)").
|
|
1321
|
+
A boatyard 0.7 defect: `lock` resolves `remote_base_images ∪ owned_images`
|
|
1322
|
+
through the mirror prefix (a gateway consumer's lock carries CADDY_IMAGE as
|
|
1323
|
+
a mirror ref), but `mirror` enumerated only `remote_base_images` — under 0.7
|
|
1324
|
+
no repo declares the owned keys in base_images, so nothing copied them
|
|
1325
|
+
anywhere, and a gateway-only consumer's set was empty enough to trip the
|
|
1326
|
+
zero-target refusal (the mirror-namespace caddy copy is a 0.6-era leftover;
|
|
1327
|
+
a caddy bump would have broken relock fleet-wide). Fixed on branch `0.7.2`
|
|
1328
|
+
(off dev; battery 618 green, full preflight): one `mirrored_base_images`
|
|
1329
|
+
set on ConfigFile feeds lock's resolution, mirror's enumeration, lock
|
|
1330
|
+
validation's effective set, and build's env-resolved bake args; the
|
|
1331
|
+
refusal names owned images; the regression test is the gateway-only
|
|
1332
|
+
consumer. Dropping the mirror step from consumer CI was considered and
|
|
1333
|
+
rejected: the edge's caddy rides the consumer's own lock, so the copy
|
|
1334
|
+
stays each gateway repo's job and the toolkit stays shape-blind (the
|
|
1335
|
+
0.6.1 precedent). Rides the next release — the plan mints `0.7.2`
|
|
1336
|
+
(last released 0.7.1, `major_minor: "0.7"` unchanged). After it
|
|
1337
|
+
publishes: every consumer `uv lock --upgrade-package boatyard` (floors
|
|
1338
|
+
already admit it), and Make-it-Sing's Integrate goes green.
|
|
@@ -157,7 +157,7 @@ def run_build(
|
|
|
157
157
|
services: dict[str, dict[str, dict[str, BakeValue]]] = {}
|
|
158
158
|
for image in config.images.values():
|
|
159
159
|
for target, variant in image.target_variants:
|
|
160
|
-
args: dict[str, str] = {key: f"${{{key}:-}}" for key in
|
|
160
|
+
args: dict[str, str] = {key: f"${{{key}:-}}" for key in config.mirrored_base_images}
|
|
161
161
|
args.update(image.bases)
|
|
162
162
|
axis = image.axis
|
|
163
163
|
if variant is not None and axis is not None:
|
|
@@ -119,7 +119,7 @@ def relock(config: ConfigFile, *, upgrade: bool = False, check: bool = False) ->
|
|
|
119
119
|
|
|
120
120
|
images: dict[str, ConfigLockEntry] = {}
|
|
121
121
|
refuse_local_lock_entries(committed, config, committed_path.as_posix())
|
|
122
|
-
for name, reference in
|
|
122
|
+
for name, reference in config.mirrored_base_images.items():
|
|
123
123
|
base = mirrored_ref(reference, prefix)
|
|
124
124
|
committed_entry = committed.images.get(name)
|
|
125
125
|
|
|
@@ -160,6 +160,11 @@ class ConfigFile(BaseModel):
|
|
|
160
160
|
owned[CADDY_IMAGE] = self.edge_image
|
|
161
161
|
return owned
|
|
162
162
|
|
|
163
|
+
@property
|
|
164
|
+
def mirrored_base_images(self) -> dict[str, str]:
|
|
165
|
+
# Authored remote bases plus boatyard-owned keys; everything resolved through the mirror prefix
|
|
166
|
+
return {**self.remote_base_images, **self.owned_images}
|
|
167
|
+
|
|
163
168
|
@property
|
|
164
169
|
def variant_axes(self) -> dict[str, list[str]]:
|
|
165
170
|
# The declared axes over the image set; equal axis names carry equal value sets by the
|
|
@@ -54,7 +54,7 @@ class LockFile(BaseModel):
|
|
|
54
54
|
f"but the lock records {recorded}"
|
|
55
55
|
)
|
|
56
56
|
refuse_local_lock_entries(lock, config, source)
|
|
57
|
-
effective_images = set(config.
|
|
57
|
+
effective_images = set(config.mirrored_base_images)
|
|
58
58
|
missing_images = sorted(effective_images - lock.images.keys())
|
|
59
59
|
if missing_images:
|
|
60
60
|
raise ValueError(f"{source}: lacks the {missing_images} image entries")
|
|
@@ -25,13 +25,13 @@ def mirror() -> None:
|
|
|
25
25
|
|
|
26
26
|
lock = LockFile.load(root / LOCK_PATH, config)
|
|
27
27
|
mirror_targets: list[tuple[str, list[str]]] = []
|
|
28
|
-
for name, reference in sorted(config.
|
|
28
|
+
for name, reference in sorted(config.mirrored_base_images.items(), key=lambda item: item[1]):
|
|
29
29
|
mirror_targets.append((reference, lock.images[name].recorded_digests))
|
|
30
30
|
for chart_name, chart_ref in sorted(config.declared_charts.items()):
|
|
31
31
|
mirror_targets.append((chart_ref.removeprefix("oci://"), [lock.charts[chart_lock_key(chart_name)]]))
|
|
32
32
|
|
|
33
33
|
if not mirror_targets:
|
|
34
|
-
raise ValueError("nothing is declared to mirror (base_images and k8s.charts are empty)")
|
|
34
|
+
raise ValueError("nothing is declared to mirror (base_images, owned images, and k8s.charts are empty)")
|
|
35
35
|
|
|
36
36
|
install_crane()
|
|
37
37
|
copied = 0
|
|
@@ -325,6 +325,28 @@ class TestMirrorVerb:
|
|
|
325
325
|
assert not [command for command in recorder.commands if command.startswith("crane copy")]
|
|
326
326
|
assert "Mirrored references: 0 copied, 1 already present" in result.stdout
|
|
327
327
|
|
|
328
|
+
def test_a_gateway_only_consumer_mirrors_the_owned_edge_image(
|
|
329
|
+
self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch
|
|
330
|
+
):
|
|
331
|
+
_write_config(
|
|
332
|
+
tmp_path,
|
|
333
|
+
{"mirror_prefix": MIRROR_PREFIX, "platforms": ["linux/amd64"], "gateway": 8443},
|
|
334
|
+
)
|
|
335
|
+
_write_lock(
|
|
336
|
+
tmp_path,
|
|
337
|
+
{"CADDY_IMAGE": f"{MIRROR_PREFIX}/docker.io/library/caddy:2.8.4-alpine@{FAKE_DIGEST}"},
|
|
338
|
+
)
|
|
339
|
+
recorder = CommandRecorder()
|
|
340
|
+
|
|
341
|
+
result = self._invoke(tmp_path, monkeypatch, recorder)
|
|
342
|
+
|
|
343
|
+
assert result.exit_code == 0
|
|
344
|
+
upstream_edge = "docker.io/library/caddy:2.8.4-alpine"
|
|
345
|
+
assert [command for command in recorder.commands if command.startswith("crane copy")] == [
|
|
346
|
+
f"crane copy {upstream_edge} {MIRROR_PREFIX}/{upstream_edge}",
|
|
347
|
+
]
|
|
348
|
+
assert "Mirrored references: 1 copied, 0 already present" in result.stdout
|
|
349
|
+
|
|
328
350
|
def test_errors_without_a_config(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
|
|
329
351
|
monkeypatch.chdir(tmp_path)
|
|
330
352
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boatyard-0.7.1.dev205 → boatyard-0.7.2}/src/boatyard/score_patch_templates/scale-to-zero.tpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|