Skip to content

Brought the Option 7 (external streams) Core suite back to green. - #40

Open
moetemp wants to merge 3 commits into
moe/AI-198-s1-core-2-importfrom
moe/AI-198-s1-core-3-suite-health
Open

moetemp wants to merge 3 commits into
moe/AI-198-s1-core-2-importfrom
moe/AI-198-s1-core-3-suite-health

Conversation

@moetemp

@moetemp moetemp commented Oct 6, 2026

Copy link
Copy Markdown
Owner

This PR brings the Core suite back to green on top of Max's import.

What changed?

ExternalStreamMachine is registered with the transition coverage reporter, after NexusOperationMachine. The flush-window record in an external stream test becomes a type alias, so cargo test-lint passes.

managed_run.rs gets four comment lines under Max's marker ordering rule. Upstream's completion pagination landed after his branch forked. It spreads the same command list across pages in order, the server buffers only the intermediate pages, and the final page merges them, so History still sees one commit with the marker where Max put it.

The old suite-health PR had more chores, but they came out empty here. Upstream main already carries the Nexus request-timeout fix and the integ fixes, #37 has the per-runner timeout, and the vendored WIT files already match upstream.

Part of AI-198 (epic AI-37).

Why?

Every PR above this one needs a green suite to stand on. These changes land here, not inside the import, so #39 stays a pure replay of Max's commits. The pagination note belongs with them: it says why his rule still holds on a main he never built against.

The earlier version of this PR also brought two channel machine test files and a channel retry case. The notification channel is paused per the 2026-10-05 design review, so those tests come back with it in phase 2.

How did you test it?

Link to a test plan if any -

  • Unit Tests
  • Staging
  • End to End Tests

cargo fmt --check, cargo lint, cargo test-lint, the workspace lib suite, the Core lib suite with --include-ignored (so the coverage reporter runs) and the CI cargo doc check all pass. The integ suites weren't run, since they need a server.

The reporter panics on any machine name it has no visualizer for, so
every state machine has to be listed there.
`clippy::type_complexity` rejects the inline nested type, and the lint
is denied through `-D warnings` in `cargo test-lint`.
Pages carry the same command list in order, only the intermediate ones
are buffered, and the final page merges them, so the completion still
reaches History as one commit.
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