Skip to content

fix(ci): collect Full CI checks from the Vite+ task graph - #650

Merged
lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/full-ci-task-coverage
Nov 8, 2026
Merged

lastobelus merged 4 commits into
lastcode/mainfrom
lastcode/full-ci-task-coverage

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

🐛 Problem

Full CI built its step list from package.json scripts only. The upstream Vite+ upgrade moved the desktop, web, and marketing typechecks into Vite config. Full CI therefore stopped running those three typechecks without any error.

🔧 Fix

  • Discovery: the collector now runs bare, noninteractive vp run. Vite+ 1.4.0 source confirms this lists the whole task graph, including both manifest scripts and run.tasks.
  • Parsing: the output is parsed strictly, and the tasks found in package manifests are cross-checked against it.
  • Coverage guard: every discovered typecheck or test task must have a collected step. A task with no step now fails the run instead of being skipped.

✅ Evidence

  • Tests: 77 passing across scripts/lastcode-local-ci.test.ts, scripts/lastcode-local-ci.integration.test.ts, and scripts/lastcode-ci-collection.integration.test.ts.
    • A fixture with the installed runner defines both tasks only in Vite config.
    • Missing-stage assertions exercise the coverage guard.
    • An existing Full CI subprocess fixture was updated to include the task listing.
  • check:changed: formatting, lint, affected scripts typecheck, both knip passes, and focused tests.
  • Full CI dry-run: explicitly contains the desktop, web, and marketing typechecks.
  • Quick CI: passed at exact head bd74032283ebf00a799ab2d47b136b8ab3dfeffd against 935bfb2aac74cf85f8d106a14a9c6cfa96673d06.

⚠️ Remaining risk

  • GitHub CI: not yet confirmed on this PR. It already runs recursive Vite+ typechecking, so it is not affected by the gap fixed here.
  • Known gap, out of scope: the changed-package test selector still checks package scripts only. It runs before dependencies are installed, in a sparse checkout, so closing the gap needs a different mechanism. No current workspace has a test task that exists only in config, so nothing is missed today.

Implemented with GPT-6.1 Sol through the Codex harness in T3 Code.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T21:10:29.710667Z 9f23999 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: bd74032283

ℹ️ 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".

Include workspace tasks defined in Vite config and reject incomplete task coverage before Full CI runs.

Carry-Group: build-ci
Accept multiline task commands, reject missing release-critical checks and unsupported root checks, and name listing failures clearly. Teach checkpoint fixture runners to list their workspace tasks.

Carry-Group: build-ci
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@lastobelus
lastobelus force-pushed the lastcode/full-ci-task-coverage branch from bd74032 to 1ac35a2 Compare November 8, 2026 20:54
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 1ac35a218d

ℹ️ 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".

The root-wrapper allow-list compared only a task's first listed line and
skipped unindented continuation lines, so a root test task that runs the
wrapper followed by another command passed the guard, and Full CI never ran
the extra command. Continuation lines now attach to their task row.

Carry-Group: build-ci
Co-Authored-By: Claude <[email protected]>
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 9f2399945d

ℹ️ 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".

@lastobelus
lastobelus merged commit c7fd2dd into lastcode/main Nov 8, 2026
20 checks passed
@lastobelus
lastobelus deleted the lastcode/full-ci-task-coverage branch November 8, 2026 21:24
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