Skip to content

Verify pydash with real timer threads on Linux, Windows, and macOS - #68

Merged
ANcpLua merged 1 commit into
mainfrom
codex/pydash-real-thread-tests
Oct 11, 2026
Merged

ANcpLua merged 1 commit into
mainfrom
codex/pydash-real-thread-tests

Conversation

@ANcpLua

@ANcpLua ANcpLua commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

The deterministic README coverage run stabilizes pydash's debounce assertions but cannot validate real timer-thread races. Add a separate, mandatory suite using the pinned pydash implementation with real clocks, locks, and threading.Timer on Linux, Windows, and macOS.

Five scenarios run three times each: background delivery/last-result reuse, cancellation after a timer fires, callers blocked behind a callback, eight concurrent callers, and maximum-wait delivery during a burst. Events, barriers, and method-entry profiling coordinate the interleavings without short-sleep timing assertions. Four negative controls reject removed stale-generation protection, missing callback locking, disabled maximum wait, and uncaught background exceptions; another verifies a deadlocked subprocess is killed and reaped. All 20 checks must pass, and their JUnit report is retained.

The real-thread suite contributes no data to the independent 2,274-test coverage measurement. That measurement must still match the published 2,607/2,607 per-file counts, and DotCov's own 100% line/branch gate remains enforced. No retries, relaxed thresholds, or additional exclusions.

Validation: all 28 local clock/thread checks and the full 2,274-test measurement passed on macOS; actionlint, shellcheck, and diff checks passed. CI run 38138101892 passed on attempt 1, including all 20 real-thread checks on each platform, exact coverage comparisons, actual badge publication, both full DotCov test jobs, and its 100% line/branch gate.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 12:07

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T12:11:25.602474Z 7432b36 PR opened
🔒 Security Review ✅ Completed 2026-10-11T12:10:53.375578Z 7432b36 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ANcpLua
ANcpLua merged commit 773d9fd into main Oct 11, 2026
25 checks passed
@ANcpLua
ANcpLua deleted the codex/pydash-real-thread-tests branch October 11, 2026 12:12
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.

2 participants