Skip to content

Conversation

@chrmarti
Copy link
Collaborator

Copilot AI review requested due to automatic review settings January 19, 2026 09:17
@chrmarti chrmarti enabled auto-merge January 19, 2026 09:17
@chrmarti chrmarti self-assigned this Jan 19, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 19, 2026
lszomoru
lszomoru previously approved these changes Jan 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR modernizes timer handling in retry logic tests by replacing vi.advanceTimersByTimeAsync() with vi.runAllTimersAsync(). This change makes the tests more robust and maintainable by eliminating hardcoded delay values.

Changes:

  • Replaced all instances of vi.advanceTimersByTimeAsync() with vi.runAllTimersAsync() for timer advancement in test cases
  • Updated associated comments to reflect the new approach without referencing specific millisecond values

@chrmarti chrmarti disabled auto-merge January 19, 2026 09:25
@chrmarti chrmarti force-pushed the chrmarti/professional-catshark branch from 631e081 to 0b1ec48 Compare January 19, 2026 09:34
@chrmarti chrmarti changed the title Use vi.runAllTimersAsync() Use sinon fake timers Jan 19, 2026
lszomoru
lszomoru previously approved these changes Jan 19, 2026
@chrmarti chrmarti marked this pull request as draft January 19, 2026 09:51
@chrmarti chrmarti force-pushed the chrmarti/professional-catshark branch from 8d1828e to c18d10e Compare January 19, 2026 10:54
@chrmarti chrmarti changed the title Use sinon fake timers Set delays to 0 Jan 19, 2026
@chrmarti chrmarti marked this pull request as ready for review January 19, 2026 10:55
@chrmarti chrmarti enabled auto-merge January 19, 2026 10:55
@chrmarti chrmarti added this pull request to the merge queue Jan 19, 2026
Merged via the queue into main with commit b5934e0 Jan 19, 2026
26 checks passed
@chrmarti chrmarti deleted the chrmarti/professional-catshark branch January 19, 2026 11:23
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.

4 participants