Pin prebuild::each work distribution and lock poison recovery with unit tests #590
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#590
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AnastasisKon on GitHub · 2026-11-28 10:19 UTC · original
The pipeline pre-build's work splitter in
apps/victory/src/prebuild.rshas no tests.each(jobs, threads, f)spawnsthreads.min(jobs.len())scoped threads pulling from a sharedAtomicUsizecursor: pin that every job runs exactly once for thread counts 1, mid, and greater-than-len, and that an empty job list is a no-op.lock(m)recovers a poisoned mutex viainto_inner: pin that a panic while holding the lock does not block laterlockcalls.No behaviour change; tests only.
@AnastasisKon on GitHub · 2026-11-28 10:19 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-28 10:19 UTC · original
Claimed by @AnastasisKon. Open a draft pull request with
Refs #586in its description within 24 hours, or the claim expires.@AnastasisKon on GitHub · 2026-11-28 10:21 UTC · original
Closing: is -gated, so tests there would compile under the Windows clippy gate but never execute on the macOS host test run. Retargeting to a posix-host module instead.