Skip to content

revert: remove scheduler overhead tolerance#153

Merged
jerome-benoit merged 1 commit into
masterfrom
revert-hermes-pww152
Jul 4, 2026
Merged

revert: remove scheduler overhead tolerance#153
jerome-benoit merged 1 commit into
masterfrom
revert-hermes-pww152

Conversation

@jerome-benoit

Copy link
Copy Markdown
Contributor

Reverts the Hermes-introduced test timing tolerance from PR #152, restoring the previous assertion exactly.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 641321156a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

1000 * tasksFinished +
1000 +
schedulerOverheadMargin,
tasksFinishedTimeout + 1000 * tasksFinished + 1000,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid an exact timer ceiling

This test now fails whenever the two timeout-based waits in destroyWorkerNode() overshoot by even a few milliseconds: waitWorkerNodeEvents(..., tasksFinishedTimeout, false) and the subsequent kill-message timeout both use setTimeout, and the CI workflow runs deno task test:coverage across Windows, macOS, Ubuntu, and multiple Deno versions. On a busy runner, an elapsed time like 2001ms is expected scheduler delay rather than a destroy() regression, so removing the small margin reintroduces a flaky CI failure.

Useful? React with 👍 / 👎.

@jerome-benoit jerome-benoit merged commit 6413211 into master Jul 4, 2026
12 of 14 checks passed
@jerome-benoit jerome-benoit deleted the revert-hermes-pww152 branch July 4, 2026 16:47
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