Skip to content

test: stabilize uninitialized replay allocation parity - #194

Merged
shinaoka merged 1 commit into
mainfrom
codex/issue-187-coverage-parity
Jul 30, 2026
Merged

test: stabilize uninitialized replay allocation parity#194
shinaoka merged 1 commit into
mainfrom
codex/issue-187-coverage-parity

Conversation

@shinaoka

Copy link
Copy Markdown
Member

Summary

  • warm typed and erased zip/map paths symmetrically before allocation-count windows
  • keep the allocation assertion, measured loops, and threshold unchanged

Root cause

The coverage job could count one-time TLS/coverage runtime initialization in only one side of the typed-versus-erased comparison. The production allocation behavior was unchanged; this makes the test setup symmetric so the comparison measures the intended paths.

Verification

  • cargo fmt --all -- --check
  • cargo test -p strided-kernel --test copy_plan_alloc
  • cargo llvm-cov -p strided-kernel --test copy_plan_alloc --no-report
  • git diff --check

This is a follow-up to merged strided-rs #187 / PR #193, whose coverage job exposed the test-harness issue.

@shinaoka
shinaoka marked this pull request as ready for review July 30, 2026 23:00
@shinaoka
shinaoka merged commit fb6794e into main Jul 30, 2026
5 checks passed
@shinaoka
shinaoka deleted the codex/issue-187-coverage-parity branch July 30, 2026 23:00
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