feat: add r2-backed website template packages#20700
Conversation
Add the full website template catalog, private R2 archive mappings, and static preview URLs for the website picker.\n\nCo-Authored-By: Zero <zero@vm0.ai>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
API preview: https://pr-20700-api.vm6.ai |
|
LGTM PR_AUTO_REVIEW_COMMIT: 83099b9 SummaryThis PR expands the built-in website template picker from one template to nine R2-backed website packages, wires their private archive SHA/version mappings, and moves preview URLs to the new static preview path. The API allowlist, core registry, CLI selection behavior, and picker catalog all stay aligned through updated tests. FindingsCritical (P0)
High Priority (P1)
Testing
|
…es' into feat/add-website-template-packages
|
LGTM PR_AUTO_REVIEW_COMMIT: 31db573 SummaryThis PR expands the built-in website template picker from one template to nine R2-backed website packages, keeps their preview URLs under the static preview path, and aligns the core registry/API allowlist with the uploaded archive SHA/version metadata. The latest merge from main does not change the PR-scoped diff beyond these target files. FindingsCritical (P0)
High Priority (P1)
Testing
|
…es' into feat/add-website-template-packages
|
LGTM PR_AUTO_REVIEW_COMMIT: 49c908c SummaryThis PR expands the built-in website template picker from one template to nine R2-backed website packages, keeps preview URLs under the static preview path, and aligns the core registry/API allowlist with uploaded archive SHA/version metadata. The current head only changes the intended catalog, registry, API allowlist, and related tests. FindingsCritical (P0)
High Priority (P1)
Testing
|
|
LGTM PR_AUTO_REVIEW_COMMIT: 239d259 SummaryThis PR expands the built-in website template picker from one template to nine R2-backed website packages, keeps preview URLs under the static preview path, and aligns the core registry/API allowlist with uploaded archive SHA/version metadata. The current head stays scoped to the intended catalog, registry, API allowlist, and test updates. FindingsCritical (P0)
High Priority (P1)
Testing
|
|
Changes Requested PR_AUTO_REVIEW_COMMIT: 8e3a367 SummaryThis PR expands the built-in website picker catalog to 9 R2-backed website template packages, wires their archive SHA metadata into the core registry, and allowlists the corresponding private R2 archive version IDs in the API download route. FindingsCritical (P0)
High Priority (P1) - should fix before merge
Testing
|
|
Changes Requested PR_AUTO_REVIEW_COMMIT: 62d2b99 SummaryThis PR expands the built-in website picker catalog to 9 R2-backed website template packages, wires the archive SHA metadata into the core registry, and allowlists the corresponding private R2 archive version IDs in the API download route. FindingsCritical (P0)
High Priority (P1) - should fix before merge
Testing
|
|
Superseded by #20700 (comment) This previous pr-auto review marker was superseded after the static preview files were published via vm0-ai/static-files#24 and all 9 configured preview URLs returned 200. The original blocker was the static.vm0.io preview URLs returning 404; that condition is no longer present. |
|
LGTM PR_AUTO_REVIEW_COMMIT: 57e4ae9 SummaryThis PR expands the built-in website template picker catalog to 9 R2-backed website templates, registers the matching private template archive metadata, and updates CLI/core/API/platform coverage for the expanded catalog. The earlier preview availability blocker is now resolved after publishing the corresponding append-only static preview files. FindingsCritical (P0)
High Priority (P1)
Testing
|
Summary
template:<slug>resource with archive SHA256 metadata and API download version IDs.Storage notes
.tar.gzpackages were uploaded to R2 and verified by round-trip download SHA256 against the Drive manifest values.manifest.jsonwas used only as source metadata; it was not uploaded to R2.Verification
pnpm formatDATABASE_URL="postgresql://user@localhost:5432/vm0_test" pnpm exec vitest run packages/core/src/__tests__/website-template-items.spec.ts apps/cli/src/commands/zero/generate/__tests__/website.test.ts apps/cli/src/commands/zero/resource/__tests__/index.test.ts apps/api/src/signals/routes/__tests__/registry-resources-download.test.ts apps/api/src/signals/routes/__tests__/generation-template-prompt.test.ts