ci: make docs previews production-ready - #2992
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE VERY HIGH account-age scrutiny; repository admin with substantive merged history, no Gittensor association; fix/docs-preview-production-readiness → release-v438. Static analysis found that the PR-specific changes preserve separation between untrusted builds and credential-bearing deployment, pin trusted controls to the workflow commit, and fail closed on stale heads and unsafe Vercel configuration. The AI-review trust-boundary files are unchanged. FindingsNo findings. ConclusionNo malicious behavior or security vulnerability was found in the PR-specific delta. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 UNKNOWN Gittensor association; very new account but repository admin with substantial merged contribution history, so the CI-boundary changes received heightened scrutiny. The implementation matches the substantive PR description. It pins trusted controls to the immutable workflow commit, validates the dedicated Vercel project, reconciles obsolete previews without path-filter gaps, preserves No runtime/spec-version implications or duplicate open PRs were identified. The reported targeted validation is proportionate to these workflow and control-script changes. FindingsNo findings. ConclusionThe production-readiness changes are coherent and fail closed at the relevant trust boundaries. No blocking domain issues were found. |
8e17bc0 to
2a95598
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
8fee0ea to
8b41602
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
7eca806 to
6037464
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
6037464 to
a6a5a39
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
a6a5a39 to
e38d4dd
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
e38d4dd to
1df0b6d
Compare
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Summary
mainbranches on the legacy production project while explicitly preservingmainproduction deploymentsTarget branch
This PR is rebased onto #2968 and targets its
release-v438branch. That branch contains the docs-preview implementation this production-readiness patch builds on.The trusted
workflow_runhalf and the Git auto-deployment cutoff are intentionally loaded from the default branch. These controls become active after this version propagates tomain.CI scope
This PR changes only the docs-preview control scripts, workflows, tests, and the website Vercel deployment policy. Failures in SDK formatting, generated documentation drift, TypeScript shard manifests, runtime upgrades, or unrelated end-to-end suites are inherited from #2968 and are outside this PR’s diff.
Validation
npm audit --audit-level=high --omit=dev: 0 vulnerabilitiesmainthen reproduced the missing root-directory failure fixed herePOST /v13/deploymentswith the audited root-directory stubDeployment prerequisite
The dedicated preview project must have automatic system environment variables disabled, OIDC token generation disabled, no protection bypasses, and no attached integrations. The workflow verifies these settings and fails before deployment if any condition is not met.