Skip to content

ci(site): promote docs-site build to a hard gate#62

Merged
macanderson merged 1 commit into
mainfrom
worktree-seo-and-ci-gate-fixes
Jul 24, 2026
Merged

ci(site): promote docs-site build to a hard gate#62
macanderson merged 1 commit into
mainfrom
worktree-seo-and-ci-gate-fixes

Conversation

@macanderson

Copy link
Copy Markdown
Owner

What

Removes continue-on-error: true from the site job in .github/workflows/ci.yml, promoting the docs-site build from advisory to a required check. A broken marketing surface can no longer merge silently.

The prior advisory comment said to flip to a hard gate "once the site build has been stable for a release cycle." That has held, so this makes it real.

Verification

Ran the exact CI steps locally against this branch's site/:

  • pnpm install --frozen-lockfile → exit 0
  • pnpm build (Next 16, Turbopack) → ✓ Compiled successfully, 16/16 static pages
  • node --test tests/*.test.mjs → 5/5 pass

So the gate is green on flip.

Heads-up (not in this PR)

The site build fetches Google Fonts via next/font/google at build time — the exact flake class the old advisory comment guarded against. This PR proves it builds once; if font fetches start intermittently failing in CI, that will now block merges (which is the point, but worth knowing).

Context

Part of acting on an external code/site review. The review's higher-priority item — the canonical/OG/og:image URLs on the live site pointing at context-graph-protocol.vercel.app instead of contextgraphprotocol.org — is not fixable in this repo: the live apex is served by a separate repo (macanderson/cgp-website), where lib/site.ts hardcodes the vercel.app origin. That fix is being handled separately.

The site job carried continue-on-error: true, so a broken marketing surface
could ship silently. The advisory comment said to flip it to a hard gate once
the build had been stable for a release cycle; that has held, so remove
continue-on-error and make the docs-site build a required check.

Verified locally: pnpm install --frozen-lockfile + next build both pass
(Next 16, 16/16 static pages), so the gate is green on flip.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @macanderson, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@macanderson
macanderson marked this pull request as ready for review July 24, 2026 07:13
@macanderson
macanderson enabled auto-merge (squash) July 24, 2026 07:13
@macanderson
macanderson disabled auto-merge July 24, 2026 07:13
@macanderson
macanderson merged commit 1ee9b1c into main Jul 24, 2026
11 checks passed
@macanderson
macanderson deleted the worktree-seo-and-ci-gate-fixes branch July 24, 2026 07:13
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