Skip to content

Test: settle allocation count before the hub check - #106

Merged
qiyinxi merged 1 commit into
devfrom
claude/flaky-alloc-test
Oct 28, 2026
Merged

qiyinxi merged 1 commit into
devfrom
claude/flaky-alloc-test

Conversation

@qiyinxi

@qiyinxi qiyinxi commented Oct 28, 2026

Copy link
Copy Markdown
Owner

MixerCaptureBusTests.Warm_capture_cycles_allocate_no_packet_objects_and_repeated_stop_releases_every_root counted 6008 bytes in the v1.3.0-beta.5 tag build, although the same commit passed four other runs. It reads the thread's allocation count without the gen0 GC that Signals.Allocated does first, so a background GC could add bytes nothing allocated. The test now does the same. Test-only change.

Warm_capture_cycles_allocate_no_packet_objects counted 6008 bytes in the v1.3.0-beta.5 tag build and passed four other runs of the same commit. Like Signals.Allocated, a gen0 GC before reading the count keeps a background GC from adding bytes that nothing allocated.
@qiyinxi
qiyinxi merged commit 6718f3c into dev Oct 28, 2026
15 checks passed
@qiyinxi
qiyinxi deleted the claude/flaky-alloc-test branch October 28, 2026 12:30
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