Skip to content

ci: PR-3 - typecheck, unit, live three-storefront matrix, audit, build - #3

Merged
Eth-Interchained merged 1 commit into
mainfrom
hyperagent/2026-07-07-phase0-pr3-ci
Jul 7, 2026
Merged

ci: PR-3 - typecheck, unit, live three-storefront matrix, audit, build#3
Eth-Interchained merged 1 commit into
mainfrom
hyperagent/2026-07-07-phase0-pr3-ci

Conversation

@Eth-Interchained

Copy link
Copy Markdown
Owner

Summary

PR-3 of Phase 0: CI. Every PR now proves — on a real engine — that all three storefronts still stand.

Why this matters

The three-campaign live matrix runs on every change from here forward: typecheck, unit suites, the live suite against a pip-booted real nedbd (no mocks, house rule), portal audit as a blocking contract gate, and the production build. A regression in any storefront reds the PR that caused it.

What's inside

  • .github/workflows/ci.yml — single job: npm ci → typecheck → unit (campaigns · config · render) → boot nedbd via pip + health poll → live matrix (NEDB_TEST_URL) → portal auditportal build, engine log on failure. Adapted from the proven nedb-links recipe.

Tests run

This PR's own CI run is the test — the workflow proves itself before merge (verified green before this PR was merged, per house rule: no claiming green off in-progress runs).
Local pre-flight: portal audit exits 0 today (2 SEO warnings on the shell page, 0 failures — the warnings are Phase 1's content job, listed as follow-ups).

Follow-up work

  • PR-4: deploy artifacts (env files, systemd units, nginx blocks, DEPLOY.md)
  • Phase 1: resolve the two audit warnings with real content (meta description + primary keyword on the home surface); tighten audit posture as content lands

Spec: §12 (testing strategy), §15 (roadmap PR-3).

…t, build

GitHub Actions on every PR and main push — the Links CI recipe adapted:

- npm ci → tsc --noEmit → unit suites (campaigns, config, render)
- pip-installs nedb-engine, boots a REAL nedbd (health-polled), then runs
  the live suite: the same build booted once per campaign in-process,
  asserting identity, health, robots.txt, sitemap.xml per storefront
- portal audit as a blocking contract gate (currently green: 2 warnings,
  0 failures — warnings tighten to failures as Phase 1 content lands)
- portal build proves the production pipeline
- engine log dumped on failure

Single-quoted expressions only in workflow expressions (the double-quote
startup_failure gotcha is documented ecosystem-wide).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Eth-Interchained
Eth-Interchained merged commit e8ee5de into main Jul 7, 2026
1 check passed
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