Repository navigation
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe incremental change tightens the all-in-one image guard so a configured Overview
Previous Findings Re-verified
Files Reviewed (2 files)
Not verified: no commands or tests were executed (read-only review); findings are based on static reading of the incremental diff Previous Review Summaries (2 snapshots, latest commit f83ae66)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit f83ae66)Status: 2 Issues Found | Recommendation: Merge with minor follow-ups Executive SummaryBoth prior WARNINGs are resolved - the image schema now accepts the real Overview
Issue Details (click to expand)SUGGESTION
Previous Findings Re-verified
Files Reviewed (12 files)
Also read for context (PR-wide, unchanged since the previous review): Not verified: no commands or tests were executed (read-only review); findings are based on static reading of the diff and current files. The incremental range Fix these issues in Kilo Cloud Previous review (commit 501eff2)Status: 4 Issues Found | Recommendation: Address before merge Executive SummaryThe downloaded-runtime deploy path is unusable with the repository's real container config because a Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (21 files)
Not verified: no commands or tests were executed (read-only review); findings are based on static reading of the diff and current files. Reviewed by deepseek-v4.1-flash · Input: 46.1K · Output: 6.6K · Cached: 359K Review guidance: REVIEW.md from base branch |
501eff2 to
9e97397
Compare
Cloud Agent runtime releases now have a separate publisher after successful main-push CI. Admission verifies repository and CI metadata before credentials, then checks out the exact tested SHA. Publication requires the explicit enablement variable and approved infrastructure provisioning.
The existing release command packages content-addressed payloads, verifies stored bytes and publishes the descriptor last. It caches the runtime-free base by recipe/platform inputs, verifies its immutable registry digest, runs the real CLI probe and wrapper handshake, then retains an exact-SHA handoff in R2. Runtime-only and Worker-only changes reuse the base.
Downloaded deployment preparation verifies the exact source checkout, handoff, base inputs, target bucket/account/image and both payloads before Wrangler or its custom build runs. Preinstalled deployments do not read publication storage. The publisher and deployment use separate concurrency groups; unrelated deployment matrix jobs do not cancel on one target failure.
Validation: 25 focused runtime tests, 19 admission/workflow tests, seven existing change-filter tests, five existing deployment-workflow tests, typecheck, service lint and full repository formatting passed. Publication matrix tests observe command/cache effects using local CLI emulators. A locally built runtime-free image passed the actual packaged Kilo version probe and wrapper hello/shutdown; a real CLI version mismatch was rejected.
Review fixes preserve real image build variables, validate configuration before waiting, reject missing buckets, and bound compatibility cleanup. A workflow-command regression also preserves deployment of older tested commits.
No remote R2 publication, registry push, credential provisioning or deployment ran. This PR preserves the preinstalled/all-in-one target configuration. This task did not enable the publisher. Infrastructure setup and the explicit enablement gate are in
services/cloud-agent-next/docs/runtime-publication.md.Stack: #7915 → #7917 → #7919 → this PR. Base:
eshurakov/ca-runtime-downloaded-startup.The final mixed-image regression failed before the PR4 fix. The guard now rejects the invalid configuration before publication waits. Nineteen focused CI-tooling tests, type checks, changed-file lint and formatting passed after that correction.