Skip to content

Fix production downloads, dynamic platform versions, and Hexi avatar - #117

Closed
lmvdz wants to merge 2 commits into
OpenCoven:landingfrom
lmvdz:fix/production-stats-avatar
Closed

lmvdz wants to merge 2 commits into
OpenCoven:landingfrom
lmvdz:fix/production-stats-avatar

Conversation

@lmvdz

@lmvdz lmvdz commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #116. The production landing branch references a missing Hexi SVG and caches GitHub lookup failures as zero downloads. Its download menu and Windows fallback also pin old release versions.

This restores the canonical SVG, prevents incomplete stats from entering the CDN cache, and resolves macOS Apple silicon/Intel, Windows, and Linux installers from published stable GitHub releases. A partial latest release falls back through release history for each platform. The menu starts with version-free resolver links; versions, filenames, sizes, digests, and signature links appear only from release evidence. Primary downloads use normal browser navigation, including without JavaScript.

Scope and ownership

  • Primary issue: Fix production download evidence, version pins, and missing Hexi avatar #116. Acceptance: avatar loads, stats recover, platform versions are dynamic, and metadata failures/no-JavaScript retain usable download links.
  • Brand bytes: OpenCoven/brand@4127be6, web/assets/mark.svg; blob c4817c35d0ea05194396d00e86b4525868f3ad1f, matching the pin on main.
  • Installer/release truth: OpenCoven/coven-cave GitHub Releases. No installer artifacts or release infrastructure changed.
  • Intentionally changed: shared release selection; download/stats/stream endpoints; optional Worker resolver; DownloadCta and its enhancement script; the missing SVG; API/browser regression tests; package test script and CI.
  • Non-goals: migrate to the separate vNext homepage on main, change product positioning, analytics, legal policy, or deploy the optional Worker.

Failure, privacy, and accessibility behavior

  • Missing/failed GitHub stats remain null; partial totals are never published and incomplete responses use no-store.
  • Release lookup searches up to five pages of 100 releases, excluding draft/prerelease installers. Exhaustion/unavailability falls back to the human-readable GitHub Releases page without caching the failure.
  • Each artifact carries its own release tag. No hardcoded platform release tags, filenames, sizes, checksums, or stale notarization badges remain in the download component.
  • No new tracking, secrets, or third-party browser requests. Installer bytes are no longer buffered by page JavaScript. Existing keyboard/menu behavior is retained; all four desktop choices are exposed without JavaScript.

Verification

  • pnpm install --frozen-lockfile: pass.
  • CI=true pnpm build: pass (pre-existing relative mark-line.svg resolution warning).
  • pnpm check: pass, including static and media checks.
  • pnpm test:unit: 22 passed; Node tests live in test/api/ outside deployed API routes.
  • Current production browser suites: 18 passed in the combined run; the remaining test had an incorrect inline-flex expectation (computed flex inside a flex container). After correcting it, CI=true pnpm exec playwright test tests/download-evidence.spec.ts passed all 3 tests. All 19 current-production tests have passing results.
  • Live GitHub read through the patched local stats handler: 2,729 installer downloads, 155 stars, and all four desktop artifacts resolved to v0.5.14 without version constants.
  • git diff --check: pass. SVG git blob matches canonical pin exactly.
  • Local toolchain: Node 25.8.2 / pnpm 11.15.1; CI retains required Node 22 / pnpm 10.

The initial broad browser run reached failures in the retained Reforged suite: it expects the retired “Summon once. Remember forever.” homepage and threshold theater absent from the unchanged production branch. That run was stopped. No historical tests were removed or weakened. CI now also runs on landing and selects the current redesign, quickstart, and download-evidence suites there; main retains the full existing command.

Generated reports/traces remain uncommitted in playwright-report/ and test-results/; built output remains in dist/.

Deployment and rollback

Target is landing, the branch confirmed by GitHub production deployment c784b0e. No schema or configuration migration. Revert this PR to roll back. The optional Worker source shares release selection but requires a separate operator deployment if used; the page uses /download routes directly.

Vercel checks report "Authorization required to deploy" for this fork. GitHub CI is running on the final commit. Production verification remains gated on maintainer deployment authorization and merge: the connected account has pull=true and push=false on OpenCoven/coven-landing. After deployment, verify /assets/opencoven-mark.svg returns 200, /api/site-stats returns live counts and per-artifact tags, and /download/{mac,mac-intel,windows,linux} redirects to current GitHub assets. Actual OS installation remains outside this web fix.

@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

@lmvdz is attempting to deploy a commit to the 0xBuns Team on Vercel.

A member of the Team first needs to authorize it.

@lmvdz
lmvdz marked this pull request as ready for review October 20, 2026 15:39
@vercel

vercel Bot commented Oct 20, 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 Oct 20, 2026 4:48pm UTC
coven-landing Ready Ready Preview Oct 20, 2026 4:48pm UTC

Request Review

This branch was successfully deployed

2 active deployments
Preview – coven — 2e5a35c3 Deployed Oct 20, 2026 by vercel[bot]
Preview – coven-landing — 2e5a35c3 Deployed Oct 20, 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.

1 participant