Skip to content

ci(test): Run Workspace and MCP in native cells - #189

Merged
tony merged 3 commits into
mainfrom
native-package-tests
Dec 6, 2026
Merged

tony merged 3 commits into
mainfrom
native-package-tests

Conversation

@tony

@tony tony commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #175.

What changed, and why

The core, Workspace and MCP are separate Mix projects. A passing core job left both package suites unchecked for the tmux release under test. Each native Linux cell now uses its selected executable and the two source dependencies from the PR.

Checks run

The workflow contract asserts both working directories and dependency selections. The two package suites ran separately on pristine tmux 3.3 and upstream 3.8.

  • Workspace on tmux 3.3 passed in 2.54 s.
  • Workspace on tmux 3.8 passed in 2.98 s.
  • MCP STDIO on tmux 3.3 passed in 7.52 s.
  • MCP STDIO on tmux 3.8 passed in 7.89 s.
  • Native workflow contract passed in 1.14 s.
  • Workflow lint passed in 0.01 s.

On the merged head fac557ffe, each of the three GitHub Actions jobs ran both the Workspace suite and the MCP STDIO suite. All six package steps passed. tmux 3.3 / reference · tmux 3.8 / reference · tmux 3.8 / tracking

Review evidence

The native job in .github/workflows/scaffold.yml owns the tmux executable and checkout dependencies for the core, Workspace and MCP runs. Each package selects its source paths in its own Mix project.

With the topic tests and the workflow from 4168905e4, the focused check failed. The native job lacked the Workspace and MCP suite steps. The focused test failed in 0.96 s and passed on fac557ffe in 1.05 s.

The focused case is the workflows follow the plan in scripts/ci_plan/tests/ci_workflow_test.exs.

The earlier workflow test accepted missing or changed source selectors, skipped suites and ignored failures. Replacing the package’s tmux with /usr/bin/tmux or appending a second binary export also passed. The updated contract rejects these mutations. All 42 workflow tests passed. The full maintainer suite passed 166 tests in 71.77 s on Linux.

An independent reviewer recorded NO FINDINGS on fac557ffe.

Tool use

Codex extracted this change from #169 and ran the checks above on the topic branch. A separate Codex reviewer checked the component boundaries and the two corrected test fixtures.

tony added 2 commits December 5, 2026 16:12
why: Core tests could pass while a Workspace command or the MCP
adapter failed. Each package has its own Mix project and test suite.

what:
- Exercise both packages against the selected Linux tmux binary.
- Bind their dependencies to the source under test.
- Check that the native workflow calls both suites.
@tony
tony force-pushed the native-package-tests branch from ceeaf4c to 1a79917 Compare December 5, 2026 22:12
why: The first package check accepted narrowed suites and wrong checkout
paths. A step could also override the tmux selected for its matrix cell.

what:
- Exercise the package steps, dependency paths and tmux export in the
  workflow mutation suite.
@tony
tony merged commit d64ebc0 into main Dec 6, 2026
6 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.

The required Linux matrix omits Workspace and MCP tests

1 participant