Skip to content

fix: resolve 2 bugs in PrepPilot - #1042

Merged
KaranUnique merged 1 commit into
Canopus-Labs:mainfrom
saurabhhhcodes:fix/PrepPilot-30080
Aug 4, 2026
Merged

fix: resolve 2 bugs in PrepPilot#1042
KaranUnique merged 1 commit into
Canopus-Labs:mainfrom
saurabhhhcodes:fix/PrepPilot-30080

Conversation

@saurabhhhcodes

Copy link
Copy Markdown
Contributor

Description

This PR fixes real bugs found in the codebase:

  • Prevented interval leak: repeated mounts now clear the previous interval before scheduling a new one.
  • Added Number.EPSILON to Math.round: prevents floating-point drift (e.g. 1.005 * 100 rounding to 100 instead of 101).

Type of Change

  • Bug fix (non-breaking change fixing an issue)

How Has This Been Tested?

  • Local manual testing

Checklist

  • My code follows the style guidelines
  • I have performed a self-review

Related Issue

Ref: #1041

@KaranUnique KaranUnique closed this Aug 3, 2026
@KaranUnique KaranUnique reopened this Aug 4, 2026
@KaranUnique
KaranUnique merged commit 119e023 into Canopus-Labs:main Aug 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants