Skip to content

Restore main to the approved landing branch - #123

Merged
BunsDev merged 1 commit into
mainfrom
codex/restore-landing-main
Nov 14, 2026
Merged

BunsDev merged 1 commit into
mainfrom
codex/restore-landing-main

Conversation

@BunsDev

@BunsDev BunsDev commented Nov 14, 2026

Copy link
Copy Markdown
Member

Restore main to the exact tracked tree of landing at ca47fbcf871c3801a9ad737a02626691434657ad (approved PR #121), as explicitly requested by the repository owner. This replaces the vNext implementation and the #122 hero integration rather than combining the two designs. No new primary issue; this is the requested branch restoration.

The resulting tree is 1da10f5a4473108b4c053a3a0e6916a20d56333f, identical to landing. All 135 changed paths are intentional snapshot restoration, including the earlier homepage, route composition, downloads, legal pages, analytics implementation, Worker and verification workflows. Canonical context consulted: the current main repository instructions and public truth contracts; the selected restored implementation is the previously approved landing snapshot. This is an explicit whole-tree rollback, not a new claim or legal/authority audit. It restores landing's prior public copy, privacy/security behavior and accessibility implementation, and removes main-only routes and gates.

Validation: frozen pnpm 10 install under Node 22, CI=true pnpm build, and pnpm check passed. All 34 browser tests and all 10 download Worker tests passed. Browser verification used a temporary untracked Playwright config with port 4184 to avoid interfering with another local server; test definitions are unchanged. Existing whitespace in the landing snapshot was retained to preserve exact tree identity. Local logs: /tmp/coven-restore-landing-checks.log and /tmp/coven-restore-landing-browser.log; generated dist and test reports are excluded from the commit.

History remains intact; no force push is needed. The former main tip abb799b42283ce2b46996acb4ccd2b0575f26dd9 is also preserved at backup/main-before-landing-20261113. Rollback is a revert of this restoration or restoration from that backup. No migration is required. vercel.json is unchanged; production branch/domain routing and separate Worker deployment are not reconfigured by this PR. Hosted CI and preview checks must pass before merge; production acceptance remains separate. The experimental ribbon preview and the user's dirty local navigation branch are excluded.

@vercel

vercel Bot commented Nov 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coven Ready Ready Preview Nov 14, 2026 4:41am UTC
coven-landing Ready Ready Preview Nov 14, 2026 4:41am UTC

Request Review

Comment on lines +26 to +37
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 22

- name: Unit tests
run: node --test "workers/download-proxy/test/*.test.mjs"

deploy:
Comment on lines +38 to +62
needs: test
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
# Deploying is opt-in: without the Cloudflare secrets configured the
# steps below skip (green, not failed) and the site keeps using the
# same-origin /stream fallback. See README "Download pipeline".
# (The secrets context is not available in job-level `if`, so the
# gate lives in job env + step conditions.)
env:
HAS_CLOUDFLARE_SECRETS: ${{ secrets.CLOUDFLARE_API_TOKEN != '' && secrets.CLOUDFLARE_ACCOUNT_ID != '' }}
steps:
- uses: actions/checkout@v4
if: env.HAS_CLOUDFLARE_SECRETS == 'true'

- name: Deploy to Cloudflare
if: env.HAS_CLOUDFLARE_SECRETS == 'true'
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: workers/download-proxy

- name: Skipped (secrets not configured)
if: env.HAS_CLOUDFLARE_SECRETS != 'true'
run: echo "CLOUDFLARE_API_TOKEN / CLOUDFLARE_ACCOUNT_ID not set — worker deploy skipped; /stream fallback remains active."
)
for f in ('session_recording_opt_in', 'heatmaps_opt_in', 'autocapture_web_vitals_opt_in', 'app_urls'):
check(f in body, f'project PATCH missing {f}')
check('https://opencoven-redesign-preview.vercel.app' in body.get('app_urls', []), 'siteUrl not in app_urls')
for f in ('session_recording_opt_in', 'heatmaps_opt_in', 'autocapture_web_vitals_opt_in', 'app_urls'):
check(f in body, f'project PATCH missing {f}')
check('https://opencoven-redesign-preview.vercel.app' in body.get('app_urls', []), 'siteUrl not in app_urls')
check('https://existing.example' in body.get('app_urls', []), 'existing app_urls clobbered')
Comment thread scripts/verify-static.mjs
throw new Error(`${pathName} is missing canonical URL ${expected}`);
async function getInitialJavascriptBudget(htmlContent) {
const modulePaths = [];
const scriptTags = htmlContent.match(/<script\b[^>]*>/g) ?? [];
@BunsDev

BunsDev commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Pre-merge verification: hosted build-and-check, Worker test, all three CodeQL language analyses, and both Vercel previews passed. Local build/static checks, 34 browser tests, 10 Worker tests, and the additional analytics provisioning mock suite passed.

Documented CodeQL aggregate exception for this exact-tree restoration: the two high findings at analytics/test-provision.py:58-59 mistake Python list membership for URL substring sanitization. body["app_urls"] is the mock project's URL list, and in checks complete list elements; these assertions are test validation, not an authorization or redirect boundary. The two medium warnings in .github/workflows/deploy-download-worker.yml concern omitted explicit token permissions. The live repository settings return default_workflow_permissions: read and can_approve_pull_request_reviews: false; the workflow inherits those permissions, uses normal pull_request, and skips deployment on pull requests. All language analyses completed successfully; the aggregate remains red because of these annotations. No security settings or alerts were disabled or dismissed to merge.

The selected tree remains exactly landing (1da10f5a4473108b4c053a3a0e6916a20d56333f), with no extra edits. Merge is authorized by the owner's explicit request to replace main with landing. The previous main remains available at backup/main-before-landing-20261113.

@BunsDev
BunsDev merged commit 894b60a into main Nov 14, 2026
8 of 9 checks passed

This branch was successfully deployed

2 active deployments
Preview – coven-landing — 11b66a2f Deployed Nov 14, 2026 by vercel[bot]
Preview – coven — 11b66a2f Deployed Nov 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants