Skip to content

test(opencode-v2): cover 10 untested full-read and sweep coverage cases (#55) - #57

Open
iceteaSA wants to merge 1 commit into
cortexkit:masterfrom
iceteaSA:test/opencode-v2-full-gaps-2
Open

iceteaSA wants to merge 1 commit into
cortexkit:masterfrom
iceteaSA:test/opencode-v2-full-gaps-2

Conversation

@iceteaSA

@iceteaSA iceteaSA commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Which issue gave this a go?

#55, the go of 2026-12-06 00:38Z for the 7 tests. The go of 2026-12-06 10:51Z added the 3 more tests to the same pull request.

Closes #55

What changed

This PR adds 10 tests in crates/astrocyte-module/src/opencode_v2_source_tests.rs. That file is included only in the tests module of opencode_v2_source.rs. It changes only test code: 240 added lines and no removed lines.

What proves it

AI helped write this draft.


Summary by cubic

Adds 10 tests for untested full-read and sweep coverage cases in the OpenCode 2 source, closing #55.

The tests were derived from mutation testing: each passes on the current code and fails with its corresponding mutant. Coverage includes sweep budget boundaries, rowid window advancement, deleted high-water rows, open-call coverage, and unfinished sweep state.

  • Test-only change to crates/astrocyte-module/src/opencode_v2_source_tests.rs (240 added lines, no production code changed).

Written for commit ed86927. Summary will update on new commits.

View guided diff

…es (cortexkit#55)

Two more mutation runs on the OpenCode 2 full-pass read found 10 changes that no test detected. Each new test passes on the current code and fails with its mutant.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

View guided diff | Re-trigger cubic

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.

OpenCode 2 full read, second run: 7 more code changes that no test finds (tests ready)

1 participant