Skip to content

[Refactor] Roll out stream helpers to Friendli, Opencode Go, and MiMo specs - #1102

Merged
edelauna merged 1 commit into
mainfrom
refactor/friendli-opencode-mimo-stream-utils-06q4nypl2c73c
Aug 2, 2026
Merged

[Refactor] Roll out stream helpers to Friendli, Opencode Go, and MiMo specs#1102
edelauna merged 1 commit into
mainfrom
refactor/friendli-opencode-mimo-stream-utils-06q4nypl2c73c

Conversation

@zoomote

@zoomote zoomote Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Created by Roomote. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Migrated friendli.spec.ts, opencode-go.spec.ts, and mimo.spec.ts to the shared stream helpers.
  • Replaced inline async-iterator and next-chain stream mocks with asyncStreamFrom, including empty done-true mocks.
  • Replaced pure collect/drain loops with collectStream, keeping single-chunk .next() assertions inline where they test first-chunk behavior.
  • Reduced ESLint suppressions for mimo.spec.ts and opencode-go.spec.ts after removing obsolete explicit-any declarations.

Why this change was made

This continues the approved test-utils rollout with a three-file mid-count batch, broadening the shared stream-helper idiom while preserving request-shape and first-chunk assertions.

Impact

No user-facing behavior change. One hundred eighteen targeted provider tests passed, src lint/typecheck passed, and the full Zoo-Code test suite passed after rerunning an unrelated temp-dir cleanup flake.

Related PRs

@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@edelauna
edelauna marked this pull request as ready for review August 2, 2026 16:56
@edelauna
edelauna enabled auto-merge August 2, 2026 16:56
@edelauna
edelauna added this pull request to the merge queue Aug 2, 2026
Merged via the queue into main with commit f62918e Aug 2, 2026
24 checks passed
@edelauna
edelauna deleted the refactor/friendli-opencode-mimo-stream-utils-06q4nypl2c73c branch August 2, 2026 17:11
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