Skip to content

fix: Windows ac run output, faster CI seeds and a slow CI audit - #2

Merged
me-cedric merged 2 commits into
mainfrom
feature/agent-compass-ci-improvements-e8bd03
Nov 5, 2026
Merged

me-cedric merged 2 commits into
mainfrom
feature/agent-compass-ci-improvements-e8bd03

Conversation

@me-cedric

Copy link
Copy Markdown
Owner

Summary

  • Fix the red Windows CI job. ac run started the child detached. A detached cmd.exe has no console, so the output of a .cmd command went to a new, hidden console. The test ac run starts a .cmd file on PATH on Windows got exit 0 and an empty log. On Windows the child is no longer detached. taskkill /T still stops the tree.
  • CI seeds (GitHub and GitLab):
    • Cache the dependencies on the lockfile.
    • Cancel a superseded run.
    • Use a blob-filtered clone for the migrations history.
    • Fail the migrations check when MIGRATIONS_DIR holds no .sql file.
  • ci-triage has a slow CI audit (wait, setup and run time per job). references/speed.md lists the free levers: Oxlint before ESLint, TypeScript 7 for the CLI typecheck next to 6.0, Vitest isolate: false with a reset rule. bun check and tsrs are not adopted.
  • New opt-in pack git-hooks: the seed .githooks/pre-push runs format, lint and typecheck.
  • The compass CI cancels a superseded pull request run and clones with filter: blob:none.

Checks

  • npm run check on macOS: passed (460 tests, 459 passed, 1 skipped on non-Windows).
  • npm test in a blob:none clone: passed.
  • actionlint on the GitHub workflows and seeds: passed. shellcheck on the hook: passed.
  • Measured on 16,000 lines of compass JS: ESLint 1.3 s, Oxlint 0.35 s. tsc with checkJs: 2.0 s on 6.0, 0.6 s on 7.0.

Not verified

  • The Windows fix: this pull request runs the first Windows job with it.
  • No seed ran in a real pipeline. glab ci lint did not run.

The child was detached. A detached cmd.exe has no console, so the program that it starts wrote to a new, hidden console. The command exited 0 with an empty log. On Windows the child is no longer detached; taskkill /T still stops the tree.
Seeds cache the dependencies on the lockfile, cancel a superseded run and use a blob-filtered clone for the migrations history. The migrations check fails when MIGRATIONS_DIR holds no .sql file. ci-triage audits wait, setup and run time; references/speed.md lists the free levers with measured numbers. New opt-in pack git-hooks seeds .githooks/pre-push.
@me-cedric
me-cedric merged commit d2acdc4 into main Nov 5, 2026
3 checks passed
@me-cedric
me-cedric deleted the feature/agent-compass-ci-improvements-e8bd03 branch November 5, 2026 10:11
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