Skip to content

[S18] chore : release certification v2#128

Merged
Doogie201 merged 1 commit intomainfrom
sprint/S18-release-cert-v2
Feb 24, 2026
Merged

[S18] chore : release certification v2#128
Doogie201 merged 1 commit intomainfrom
sprint/S18-release-cert-v2

Conversation

@Doogie201
Copy link
Owner

Summary

  • Add release certification system (dashboard/src/engine/releaseCert.ts) that enforces main-only execution, exercises a deterministic 10-URL deep-link matrix against a production build, and fails if runtime error overlay markers are detected
  • 20 Vitest tests via dependency injection (no new deps, no module mocking)
  • Runtime evidence: all 10 URLs return HTTP 200 with 0 overlay markers on production build

Acceptance Tests

  • AT-S18-01 — Cert fails on non-main branch (4 unit tests: non-main, dirty tree, sprint branch, runCert early exit)
  • AT-S18-02 — Cert passes on main + clean tree (1 unit test)
  • AT-S18-03 — All URLs load with no overlay (7 overlay detection unit tests + runtime curl evidence for 10 URLs)

Gate Receipts

Gate Status Detail
npm run build PASS Next.js 16.1.6 compiled in 1.5s, TypeScript clean
npm run lint PASS eslint clean
npm test PASS 40 files, 172 tests, 0 failures

Files Changed

File Action
dashboard/src/engine/releaseCert.ts CREATE
dashboard/src/engine/__tests__/releaseCert.test.ts CREATE
docs/sprints/S18/README.md EDIT
docs/sprints/S18/evidence/AT05_cert_receipt.json CREATE
docs/backlog/README.md EDIT (S18 → in-review)
docs/sprints/README.md EDIT (S18 → in-review)

Test plan

  • npm test — 172/172 pass (20 new cert tests)
  • npm run build — TypeScript clean
  • npm run lint — eslint clean
  • Runtime cert: production server + curl all 10 matrix URLs → HTTP 200, 0 overlay markers

🤖 Generated with Claude Code

@Doogie201 Doogie201 force-pushed the sprint/S18-release-cert-v2 branch from d87f481 to 1b84168 Compare February 24, 2026 18:17
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b8416848f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Add release certification system that enforces main-only execution,
exercises a deterministic 10-URL deep-link matrix against a production
build, and fails if runtime error overlay markers are detected.

- releaseCert.ts: pure logic module with DI-testable branch check,
  overlay detection (9 markers, case-insensitive), and cert orchestrator
- releaseCert.test.ts: 20 Vitest tests covering AT-S18-01/02/03
- Runtime evidence: all 10 URLs return HTTP 200 with 0 overlay markers
- No new dependencies

Co-Authored-By: Claude <noreply@anthropic.com>
@Doogie201 Doogie201 force-pushed the sprint/S18-release-cert-v2 branch from 1b84168 to 0add0a6 Compare February 24, 2026 18:22
@Doogie201 Doogie201 merged commit 6ef500f into main Feb 24, 2026
5 checks passed
@Doogie201 Doogie201 deleted the sprint/S18-release-cert-v2 branch February 24, 2026 18:24
Doogie201 added a commit that referenced this pull request Feb 24, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
Doogie201 added a commit that referenced this pull request Feb 24, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
Doogie201 added a commit that referenced this pull request Feb 24, 2026
Co-authored-by: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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