CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

Fix build errors blocking all CI workflows #4697

Draft⚡ AI-generatedMccantynz wants to mergecopilot/clean-and-run-workflowsmain↑3 ↓9opened Feb 21, 20264/7 tasksLive: 0 editing
ccantynzcommented Feb 21, 2026

Originally written by @Copilot on GitHub.
Imported from https://github.com/ccantynz-alt/Dominat8.com/pull/5


Multiple syntax/type errors and a broken workflow YAML were causing every CI run to fail. This cleans up all blocking issues so the PR Quality Gates and Deploy workflows can pass.

What changed?

  • Small fix
  • Feature
  • Refactor
  • Infra / CI

Workflow

  • d8-deploy.ymlcontinue-on-error: true was misindented (sibling of name:, not a step key), breaking YAML parse

ESLint / parse errors (blocked next build lint phase)

  • D8TV.tsx — stray tone?: string; lead?: string; eyebrow?: string; lines inside function body (leftover from type def copy-paste)
  • __probe__/route.tstry: any {try {
  • kv.ts — removed eslint-disable @typescript-eslint/no-var-requires referencing a rule not present in next/core-web-vitals config

TypeScript type errors (blocked next build type-check phase)

  • tsconfig.json + .eslintignore — excluded _archive/** (old backups were being compiled/linted, causing missing-module errors)
  • (marketing)/_d8/D8Bits.tsxD8Card props were children-only; pricing page was passing title/body/kicker
  • admin/marketing-queue/page.tsxuseMemo headers typed as { "x-admin-token"?: undefined } | ...; added explicit Record<string, string> generic + empty-object cast
  • page.tsx — removed intentionally-broken AutoRepairDemoWidget import (demo stub, never rendered)
  • d8kv.ts — added missing projectVideoKey(projectId) export (used by /projects/[id]/video/page.tsx)
  • VideoStudioClient.tsx — canvas ctx not narrowed inside tick() closure; captured as safeCtx: CanvasRenderingContext2D

Quality gates (must be green)

  • CI build is green
  • No unexpected UI/design changes on Dominat8.com
  • If protected paths changed: override label OR ALLOW_PROTECTED_PATHS file added with reason

Notes / risks

All changes are minimal/surgical — no logic altered, only syntax fixes, missing exports, and type corrections. The _archive exclusion is the broadest change; those files were never meant to be compiled.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

ccantynzcommented Feb 21, 2026

Originally written by @vercel[bot] on GitHub.


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

Project Deployment Actions Updated (UTC)
dominat8-engine Ready Ready Preview, Comment Feb 21, 2026 4:02am
dominat8com Ready Ready Preview, Comment Feb 21, 2026 4:02am

Request Review

Files changed

Side-by-side diff for copilot/clean-and-run-workflows → main.

View diff →

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
Risk score: LOW (2/10)e3224cc
Touches 2 file(s) with 3 added and 1 removed across 0 owner(s). Includes a new dependency. No tests were added for the new code.
See full signal breakdown
  • files changed: 2
  • lines added/removed: 3 / 1
  • distinct owners touched: 0
  • schema migration touched: no
  • locked / sensitive path touched: no
  • adds new dependency: yes
  • bumps major dependency: no
  • tests added for new code: no
  • diff-minus-test ratio: 1.00
How is this calculated? The score is a transparent sum of weighted signals — see src/lib/pr-risk.ts computePrRiskScore.

Gate checks

1 of 6 failing
GateTestDisabled in settingsSkipped
Secret scanNo secrets detectedPassed
Security scanStatic rules ran (8 checks, no AI required) — no static findings. AI review unavailable: The platform's AI balance is exhausted, so AI generation is temporarily unavailable. Nothing was lost. You can queue this as a repair for the internal agent from the repository's Health page, or try again once the balance is restored.Skipped
Merge checkMerge conflicts detected — AI auto-resolution will be attempted on mergeFailing
CINo CI workflows are configured for this repositorySkipped
AI ReviewAIAI review approvedPassed

Resolve conflicts manually

GlueCron AI will attempt auto-resolution when you press Merge. If it cannot, or you would rather not wait on it, the manual path below always works.
11 conflicting files between copilot/clean-and-run-workflows and main:
  • .eslintignore
  • .gitignore
  • src/app/(marketing)/_d8/D8Bits.tsx
  • src/app/_client/D8TV.tsx
  • src/app/admin/marketing-queue/page.tsx
  • src/app/api/__probe__/route.ts
  • src/app/page.tsx
  • src/app/video/_client/VideoStudioClient.tsx
  • src/lib/d8kv.ts
  • src/lib/kv.ts
  • tsconfig.json
git fetch origin
git checkout copilot/clean-and-run-workflows
git merge origin/main      # fix the files listed above, then:
git add -A && git commit
git push origin copilot/clean-and-run-workflows
After you push, the merge check re-runs automatically on the next page load and the Merge button unblocks once it passes.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts