feat(docs): generate and publish registry assets - #281
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
ca05ecf to
6b6b4d2
Compare
There was a problem hiding this comment.
Important
The generated assets and routing look sound locally, but the hosted HTTP contract still needs preview verification before publication.
Reviewed changes in the current PR head:
- Public assets: Generates the official v1 catalog and Draft 2020-12
StackConfigJSON Schema from local definitions during docs development and builds. - Compatibility checks: Adds optional
$schemametadata and tests for existing catalog IDs and schema validation. - Delivery configuration: Adds Vercel JSON, cache, CORS, preflight, 404, and SPA routing rules, plus deployment and rollback instructions.
⚠️ Hosted registry behavior is still unverified
The preview deployment reports ready, but an unauthenticated request for its catalog asset currently returns a 302 to Vercel SSO, not a JSON response. That is consistent with preview protection, but local builds and CI cannot establish the promised hosted 200/304, CORS/preflight, and missing-path 404 behavior; the production catalog URL still returns 404 before publication.
Technical details
# Qualify the deployed endpoints before publication
## Affected sites
- apps/docs/REGISTRY-DEPLOYMENT.md:7 — describes the preview and production HTTP checks, but no successful deployed checks are recorded.
- apps/docs/vercel.json:51 — custom preflight, filesystem, and missing-path routing has only local/CI build evidence.
## Required outcome
- Use an authenticated preview request or an approved deployment-protection bypass to verify both JSON endpoints, their content types, conditional GET/304, cross-origin GET and OPTIONS, and a missing registry path returning 404; check a docs deep link too.
- After promotion, repeat against the public production URLs before treating issue #272's publication criteria as complete.GPT Sol | 𝕏
6b6b4d2 to
54f128d
Compare
54f128d to
50c0916
Compare
50c0916 to
e8fca4e
Compare
e8fca4e to
e1ad0bf
Compare

Goals/Scope
Generate the two public JSON assets for #272 in one docs build. Review the Vercel headers, route rules, and published-ID check.
Description
The docs build exports the catalog and the Draft 2020-12 schema from local definitions. New
stack.effect.jsonfiles can include the hosted$schemalink; old files still decode. The build rejects removed published IDs and unsupported capabilities.Comments
Its deployed HTTP checks remain open: the production URLs return 404, and PR previews require Vercel SSO. Follow
apps/docs/REGISTRY-DEPLOYMENT.mdafter deployment; do not close #272 from local build evidence.