Skip to content

[repo-assist] Tests: add coverage for AsyncSeq.bufferByCount and Seq.ofAsyncSeq - #346

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/test-bufferbycount-seq-ofasyncseq-20260908-14bc623b200a0851
Draft

[repo-assist] Tests: add coverage for AsyncSeq.bufferByCount and Seq.ofAsyncSeq#346
github-actions[bot] wants to merge 1 commit into
mainfrom
repo-assist/test-bufferbycount-seq-ofasyncseq-20260908-14bc623b200a0851

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds direct test coverage for two public API functions that previously had no dedicated tests:

  • AsyncSeq.bufferByCount (obsolete alias for chunkBySize) - was used only internally as an alias, never exercised directly by a test.
  • Seq.ofAsyncSeq - converts an AsyncSeq<T> to a blocking synchronous seq<T>; had no tests.

Test-only PR, no functional/source changes.

Changes

  • 3 tests for AsyncSeq.bufferByCount: basic chunking, empty sequence, and behavioral equivalence with chunkBySize.
  • 3 tests for Seq.ofAsyncSeq: basic conversion, empty sequence, and lazy consumption (Seq.take).
  • Added #nowarn "44" at the top of the test module to suppress the expected Obsolete warning when calling AsyncSeq.bufferByCount intentionally.

Test Status

Build succeeded, 0 errors. 492/492 tests passed (486 pre-existing + 6 new).


This PR was created by Repo Assist, an automated AI assistant, as part of scheduled testing-improvement maintenance (Task 9). A human maintainer should review before merging.

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@ae8d551f07c7ed7619f8c58c7bb4c3ac89395d38

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants