Skip to content

test: organize suites and CI by subsystem - #133

Merged
abruption merged 1 commit into
mainfrom
chore/113-organize-tests-ci
Sep 22, 2026
Merged

abruption merged 1 commit into
mainfrom
chore/113-organize-tests-ci

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

  • reorganize tests into owned subsystem suites: core, adapters, Codex, relay, control integration, MCP integration, distribution, and docs
  • split the 1,228-line core module into SSH, message-contract, CLI-runtime, and update suites
  • split the 962-line Codex module into dispatch, writer-evidence, and home-selection suites with shared fixture IDs
  • route CI jobs through discovery roots instead of hand-maintained module lists
  • replace package sentinel assertions with exact wheel/sdist content contracts and explicit private-state exclusions
  • document stable suite commands and preserve offline, no-provider default discovery
  • update all translated documentation references and the i18n manifest

Inventory

Before this change:

  • default discovery: 365 tests, 10 skipped, all passing
  • AST inventory: 439 test methods

After this change:

  • default discovery: 368 tests, 13 skipped, all passing
  • AST inventory: 442 test methods
  • removed pre-existing methods: 0
  • added methods: 3 distribution-content contract tests

The three additional skips in dependency-free default discovery are those artifact tests; CI enables them after building wheel and sdist.

Validation

  • python3 -m compileall -q cc_peer.py session_peer.py tests
  • python3 -m unittest discover -s tests -v — 368 passed/skipped as expected
  • core suite — 209 tests
  • adapter suite — 32 tests
  • Codex suite — 95 tests
  • relay suite with .[relay,mcp] — 75 tests
  • MCP suite with .[relay,mcp] — 14 tests
  • control Node suite — 78 tests
  • Node/Python control integration — 8 tests
  • documentation suite — 5 tests
  • freshly built distribution suite — 4 tests
  • exact wheel/sdist archive contract passed
  • wheel and sdist installed independently and reported 1.0.0b1
  • git diff --check
  • CI workflow YAML parsed successfully

No provider OAuth login, model call, public relay, or production mutation was used.

Closes #113

@abruption
abruption merged commit ed5d3c0 into main Sep 22, 2026
22 checks passed
@abruption
abruption deleted the chore/113-organize-tests-ci branch September 23, 2026 02:38
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.

chore: organize tests and CI by subsystem

1 participant