Repository navigation
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryThe follow-up delta (10 files) correctly closes the previously reported gaps: BYOC owners are now gated on repository type and provider capability before admission, rate-limited create rejections clear their intent so terminal cleanup can finish, a failed generation handover persists the cleanup step and arms its alarm, the Vercel credential mutations are withheld from the MCP catalog, the view-only notice is section-agnostic, and the kill-switch runbook names Assumptions: Files Reviewed (10 files)
Previous Review Summaries (3 snapshots, latest commit ad44955)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit ad44955)Status: 7 Issues Found | Recommendation: Address before merge Executive SummaryThe highest-risk issues are that BYOC enrollment forces every new session onto Vercel even when the repository or provider capability is ineligible, and that a retryable sandbox-create rejection leaves a create intent that terminal cleanup can never resolve, producing an unbounded 60s alarm loop. Assumptions: Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (134 files)
Fix these issues in Kilo Cloud Previous review (commit 37566eb)Status: 6 Issues Found | Recommendation: Address before merge Executive SummaryThe six findings from the previous review are verified fixed on the current HEAD; the remaining risk is in the BYOC snapshot-build state machine, where a validator session that was already gone when stopped deterministically fails the build and deletes the freshly created snapshot, plus smaller recovery/retry gaps. Assumptions: Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (134 files)
Fix these issues in Kilo Cloud Previous review (commit 0a2f8b4)Status: 6 Issues Found | Recommendation: Address before merge Executive SummaryThe highest-risk problems are in the BYOC snapshot-build lifecycle: a sandbox create that was requested but never materialised makes cleanup unrecoverable (permanent alarm loop plus a permanently failing Assumptions: Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (133 changed files)
Reviewed by deepseek-flash-latest · Input: 107.2K · Output: 24.8K · Cached: 2.4M Review guidance: REVIEW.md from base branch |
481770e to
ad9f159
Compare
175b8ac to
37566eb
Compare
37566eb to
ad44955
Compare
ad44955 to
b56a7e1
Compare
Summary
Add customer-paid Vercel compute to Cloud Agent. Users and organization administrators can connect a scoped Vercel token, choose a team/project, build and validate a runtime snapshot, and select Vercel sandbox sizes in Cloud Agent settings.
BYOC_VERCEL_IDS, containing comma-separated user or organization IDs. Configure9d278969-5453-4ae3-a51f-a8d2274a7b56as the initial organization. Empty disables enrollment.Verification
Live provider qualification preceded the final rebase. Automated validation after the review fixes is listed below.
Visual Changes
Cloud Agent settings → Compute: connect Vercel, choose a project, follow setup, choose a sandbox size, and remove credentials.
The UI demo uses a masked sample credential and replayed provider responses. No tokens are visible.
Reviewer Notes
Rebased onto main and squashed into one feature commit. The PR adds one PostgreSQL migration and one initial SQLite migration for the new snapshot-build Durable Object.
Snapshot builds preserve validated snapshots when terminal validators disappear or old-snapshot cleanup fails. Projection failures use bounded backoff. Credential requests reject redirects, setup retry requires a failed setup, and insert errors distinguish owner conflicts from temporary storage failures. Main's active event sanitizer replaces the unused duplicate. Implicit BYOC registration rejects unsupported repository and tool capabilities before admission. HTTP 429 create rejections clear their intents, failed generation handovers schedule cleanup, and MCP excludes credential entry and resource mutations. Ambiguous provider create outcomes retain ownership until confirmed cleanup or explicit owner acknowledgement.
Current head
b56a7e1d03: all 82 checks pass, with two intentional skips. All 19 review threads are resolved. CI validation: all 5,728 Worker unit tests (208 suites), all 626 Worker integration tests (24 suites), web tests, builds, typechecks, lint, and Chrome E2E pass. Local validation also covers 420 focused Worker tests, 53 MCP catalog tests, 44 PostgreSQL-backed compute-router tests, schema consistency, formatting, andgit diff --check. Browser verification uses controlled status-query failure and recovery responses: Retry restores the setup form.The enrollment value is configured in the PR; no deployment was performed. Downloaded startup remains opt-in. Older snapshots need one compatibility update. Node, Bun, OS, ABI, or filesystem-layout changes still require a base snapshot update.