Skip to content

chore: fix test local env isolation and cleanup tooling#1694

Merged
IceyLiu merged 2 commits intomainfrom
zynx/chore/test-cleanup-and-tooling
Mar 25, 2026
Merged

chore: fix test local env isolation and cleanup tooling#1694
IceyLiu merged 2 commits intomainfrom
zynx/chore/test-cleanup-and-tooling

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 25, 2026

Summary

  • Mock ProcessConfig in acpSessionCapabilities tests to prevent reading real local MCP config — fixes local-only test failures that passed on CI
  • Remove BetterSqlite3Driver unit test: pure thin wrapper with no logic to test, and its native module creates an unavoidable NMV conflict between Electron (NMV 136) and Node 22 test runner (NMV 127)
  • Revert oss-pr command to simpler self-contained version
  • Remove commit skill (redundant with updated oss-pr flow)

Test plan

  • bun run test passes locally without npm rebuild better-sqlite3
  • bun run start (Electron) still works after bun install
  • CI unit tests pass

zynx added 2 commits March 25, 2026 10:58
…unit test

- Mock ProcessConfig in acpSessionCapabilities tests to prevent reading
  real local MCP config, ensuring consistent results across environments
- Remove BetterSqlite3Driver unit test: the driver is a pure thin wrapper
  with no logic to test, and loading the native module creates an
  unavoidable NMV conflict between Electron (NMV 136) and Node 22 (NMV 127)
@IceyLiu IceyLiu merged commit 3f5dff9 into main Mar 25, 2026
14 of 17 checks passed
@piorpua piorpua deleted the zynx/chore/test-cleanup-and-tooling branch March 25, 2026 03:05
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.

2 participants