Skip to content

fix(ci): stabilize Windows tests, prod audit, and secret scan - #8

Merged
luoxuanzao merged 5 commits into
mainfrom
fix/ci-stabilization
Aug 5, 2026
Merged

fix(ci): stabilize Windows tests, prod audit, and secret scan#8
luoxuanzao merged 5 commits into
mainfrom
fix/ci-stabilization

Conversation

@luoxuanzao

Copy link
Copy Markdown
Member
  • Make path-dependent test assertions cross-platform: guard POSIX-only semantics with isWindows and build expectations with path.join so they match the source on Windows hosts
  • Override transitive deps hono@4.13.0 and ip-address@10.4.0 so npm audit --omit=dev reports 0 vulnerabilities
  • Replace the license-gated gitleaks GitHub Action with the open-source Gitleaks CLI (v8.30.1) run directly
  • Raise npm loglevel from silent to warn so CI failures stay visible

Summary

  • What changed?
  • Why is it needed?

Verification

  • npm run typecheck
  • npm run lint
  • npm run test
  • npm run build
  • npm run release:check
  • npm run audit:prod
  • Tested affected qodercli behavior against a real CLI when applicable

Safety

  • No credentials, private vault content, internal URLs, or personal paths are included
  • User-visible changes are documented in CHANGELOG.md

liuxuezhuo added 5 commits August 6, 2026 00:48
- Make path-dependent test assertions cross-platform: guard
  POSIX-only semantics with isWindows and build expectations with
  path.join so they match the source on Windows hosts
- Override transitive deps hono@4.13.0 and ip-address@10.4.0 so
  npm audit --omit=dev reports 0 vulnerabilities
- Replace the license-gated gitleaks GitHub Action with the
  open-source Gitleaks CLI (v8.30.1) run directly
- Raise npm loglevel from silent to warn so CI failures stay visible
- derive expected SDK session paths via path.join + encodeVaultPathForSDK
  since path.resolve prepends the current drive letter on Windows hosts
- allow a drive-letter prefix in encodeVaultPathForSDK expectations
- use multi-letter segments in parsePathEntries/findConflictingPath
  fixtures because /a is a legitimate MSYS drive reference on Windows
- expect host separators for non-existent env var normalization
The action fails without the repository Dependency graph, which requires
org admin access to enable. New-dependency vulnerabilities remain gated
by npm audit --omit=dev in ci.yml; the job definition is kept as a
comment for easy restoration.
The action cannot pass until the repository Dependency graph is enabled,
which needs org admin access. Keep the review running but non-blocking
(continue-on-error); introduced vulnerabilities stay gated by
npm audit --omit=dev in ci.yml. Remove continue-on-error to re-gate
once the Dependency graph is enabled.
On Windows hosts the requested sidecar path uses backslashes, so the
mock's forward-slash branch check missed it and returned the main
session transcript, breaking the subagent hydration assertion.
@luoxuanzao
luoxuanzao merged commit ec90b9c into main Aug 5, 2026
10 checks 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