Skip to content

Conversation

@TheOneRing
Copy link
Contributor

No description provided.

@TheOneRing TheOneRing requested a review from Copilot November 5, 2025 09:37
@TheOneRing TheOneRing linked an issue Nov 5, 2025 that may be closed by this pull request
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 refactors the slotEnableCurrentFolder function to improve code clarity and fix a logic bug. The changes make the variable currentlyPaused const, improve comment grammar, and reorder operations to ensure proper state management.

Key Changes:

  • Made currentlyPaused variable const and moved initialization to declaration
  • Reordered operations to set folder state before attempting to terminate sync
  • Fixed grammar in comment from "its" to "it's" and corrected "where" to "were"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

That ensures that a folder is not rescheduled

Fixes: #632
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

} else {
// set paused to prevent reschedule
folder->setSyncPaused(true);
// terminate the run if we previously where syncing
Copy link

Copilot AI Nov 5, 2025

Choose a reason for hiding this comment

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

Corrected spelling of 'where' to 'were'.

Suggested change
// terminate the run if we previously where syncing
// terminate the run if we previously were syncing

Copilot uses AI. Check for mistakes.
@TheOneRing TheOneRing merged commit 3ab87fc into main Nov 5, 2025
18 of 19 checks passed
@TheOneRing TheOneRing deleted the work/sched2 branch November 5, 2025 10:49
@openclouders openclouders mentioned this pull request Nov 5, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload continues while sync is paused

2 participants