Repository navigation
dns: better precision for Resolver timeout - #65343
nodejs-github-bot merged 4 commits into
Conversation
Refs: nodejs#65340 Signed-off-by: Peng-Yu Chen <pengyu@libstarrify.so>
Otherwise the event loop time may be late by a considerable amount (e.g. 10~30 ms) and the timer callback would fire earlier by that amount. Timeout processing in c-ares would then fail to recognize a timeout until the next firing of this timer. Fixes: nodejs#65340 Signed-off-by: Peng-Yu Chen <pengyu@libstarrify.so>
|
Review requested:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #65343 +/- ##
==========================================
+ Coverage 90.11% 90.53% +0.42%
==========================================
Files 752 805 +53
Lines 251569 285915 +34346
Branches 47268 55212 +7944
==========================================
+ Hits 226701 258860 +32159
- Misses 16233 17161 +928
- Partials 8635 9894 +1259
🚀 New features to boost your workflow:
|
e75ce7d to
2000c78
Compare
This is because ChannelWrap::StartTimer happens before ares_calc_query_timeout usually by a few tens of microseconds but could be longer. An additional allowance of 1 ms helps reduce the chance of missing a timeout. Fixes: nodejs#65340 Signed-off-by: Peng-Yu Chen <pengyu@libstarrify.so>
2000c78 to
d26572d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
by loosening the threshold from 10 ms to 100 ms
|
Hi, thanks! That is reckoned as a flaky test case due to my choice of the threshold being 10 ms (expecting 1000+/-10 ms, observed 1017 ms). That may be considered understandable due to various reasons. (timer precision / system load / etc.) Besides, a previous CI run at ed5f5fc went all green (later the branch was force-pushed only to fix a typo in comments). I have added 3fe2c67 to reduce the flakyness (by increasing the threshold from 10 ms to 100 ms). Could you help trigger the CI again? |
On 2026-12-02, approving nodejs/node#65343 and adding commit-queue put its entry on hold for green CI, though its dossier showed CI=SUCCESS at the head. Two causes, both in sync's landing gates: - The CI gate read only cache/ci.json, which covers cq candidates. A fresh or re-review entry never has a row there, so its CI always counted as not green. It now falls back to the dossier's ci.txt, through the same parser the tick uses. - An approval on a PR that already has commit-queue was held for the landing wait and CI. The commit queue lands it, so the entry is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Landed in 434ede8 |
Commit Queue failed
The pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
On 2026-12-02, approving nodejs/node#65343 and adding commit-queue put its entry on hold for green CI, though its dossier showed CI=SUCCESS at the head. Two causes, both in sync's landing gates: - The CI gate read only cache/ci.json, which covers cq candidates. A fresh or re-review entry never has a row there, so its CI always counted as not green. It now falls back to the dossier's ci.txt, through the same parser the tick uses. - An approval on a PR that already has commit-queue was held for the landing wait and CI. The commit queue lands it, so the entry is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On 2026-12-02, approving nodejs/node#65343 and adding commit-queue put its entry on hold for green CI, though its dossier showed CI=SUCCESS at the head. Two causes, both in sync's landing gates: - The CI gate read only cache/ci.json, which covers cq candidates. A fresh or re-review entry never has a row there, so its CI always counted as not green. It now falls back to the dossier's ci.txt, through the same parser the tick uses. - An approval on a PR that already has commit-queue was held for the landing wait and CI. The commit queue lands it, so the entry is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On 2026-12-02, approving nodejs/node#65343 and adding commit-queue put its entry on hold for green CI, though its dossier showed CI=SUCCESS at the head. Two causes, both in sync's landing gates: - The CI gate read only cache/ci.json, which covers cq candidates. A fresh or re-review entry never has a row there, so its CI always counted as not green. It now falls back to the dossier's ci.txt, through the same parser the tick uses. - An approval on a PR that already has commit-queue was held for the landing wait and CI. The commit queue lands it, so the entry is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…46) * nodejs-review-bank: add bank.ts sweep and retire nodejs-review-queue The cleanup sweep was the last thing only the queue skill had. bank.ts sweep lists open networking PRs one label at a time, takes the oldest batch not swept yet, and splits those whose authors went quiet for 6 months into stalled targets (external authors) and collaborator-parked PRs. It measures the author's own last commit or comment, never updatedAt. sweep mark records what the user did in <bank>/sweep.json, so a PR stays out until its author pushes and then comes back as REVIVED. The judgment steps move into SKILL.md's Cleanup sweep. With that, nodejs-review-queue goes. The bank's description takes over its triggers. README, agents/claude/README.md, and nodejs-contribute point at the bank instead. The installer's prune_broken removes the dangling ~/.claude/skills/nodejs-review-queue link on the next sync. Closes #38. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * nodejs-review-bank: don't hold an approval the commit queue will land On 2026-12-02, approving nodejs/node#65343 and adding commit-queue put its entry on hold for green CI, though its dossier showed CI=SUCCESS at the head. Two causes, both in sync's landing gates: - The CI gate read only cache/ci.json, which covers cq candidates. A fresh or re-review entry never has a row there, so its CI always counted as not green. It now falls back to the dossier's ci.txt, through the same parser the tick uses. - An approval on a PR that already has commit-queue was held for the landing wait and CI. The commit queue lands it, so the entry is done. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * nodejs-review-bank: give sessions a scratch folder outside .claude In the slot run for nodejs/node#67851, the session couldn't write its probe to the slot's .claude/tmp/, though its allow rule covers the whole checkout. In dontAsk mode, Claude Code refuses writes under any .claude/ directory. A headless run confirmed it: the same write to a folder beside it worked. slot acquire now creates .review-tmp/ in the slot and adds it to the clone's info/exclude, which its worktrees share, so the folder never makes a slot dirty. The run recipes and the session rules use it. The copied-test recipe's require rewrite changes to ../test/ to match the new depth. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * nodejs-review-bank: show PRs whose stalled label the automation removed On 2026-12-02 the first sweep target was nodejs/node#52176, which I'd labeled stalled in July. github-actions removed the label about 10 hours later, so the PR stayed open, and the sweep, knowing only its own empty ledger, listed it as new. Of the 19 PRs from that pass, 4 lost the label: 2 because their authors came back, and #52176 and #56287 with no author activity at all. sweep now reads each PR's stalled label events. A PR the user labeled whose label was removed since, with the author still silent, is listed first as "re-label or close", with when and by whom. To find those anywhere in the set, it fetches details for every due PR (three GraphQL calls for 88 PRs), and --batch now limits only how many quiet PRs it shows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * nodejs-review-bank: let the sweep record a close On 2026-12-02 I closed nodejs/node#52176 from the sweep instead of labeling it stalled, and sweep mark had no way to record that. Closing is often the right call: collaborators may close PRs that aren't moving, and it's quicker for a PR whose stalled label the automation already removed once, or for spam. sweep mark <pr> closed records it. The sweep lists only open PRs, so a closed one drops out, and comes back as REOPENED if it's reopened. SKILL.md says closing is a valid outcome, and that in a review a close needs no command, since sync reads it from GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Changes:
Fixes: #65340
Edit: Branch force-updated to fix a typo.