Skip to content

Reset sync state if no relevant change was detected - #590

Merged
TheOneRing merged 1 commit into
mainfrom
work/queued
Oct 16, 2025
Merged

TheOneRing merged 1 commit into
mainfrom
work/queued

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

Fixes: #578

@TheOneRing
TheOneRing requested a review from Copilot October 16, 2025 09:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 resets a folder’s sync state to “Success” when a watched-path change does not warrant a sync, addressing cases where the state remained “Queued” without action.

  • Add conditional to reset sync state from Queued to Success when no relevant change is detected
  • Adjust control flow within slotWatchedPathsChanged to handle non-sync scenarios

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/gui/folder.cpp Resolved
Comment thread src/gui/folder.cpp Resolved
@TheOneRing
TheOneRing marked this pull request as draft October 16, 2025 09:49
@TheOneRing
TheOneRing force-pushed the work/queued branch 2 times, most recently from 36b0ba3 to b3afb24 Compare October 16, 2025 10:38
@TheOneRing
TheOneRing requested a review from Copilot October 16, 2025 10:38
@TheOneRing
TheOneRing marked this pull request as ready for review October 16, 2025 10:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 3 out of 3 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/gui/scheduling/syncscheduler.h Resolved
Comment thread src/gui/scheduling/syncscheduler.cpp Resolved
@TheOneRing
TheOneRing enabled auto-merge (rebase) October 16, 2025 10:40
@TheOneRing
TheOneRing merged commit 757ca6b into main Oct 16, 2025
@TheOneRing
TheOneRing deleted the work/queued branch October 16, 2025 11:04
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.

Sync gets stuck in "Queued"

2 participants