Skip to content

bisync: add to integration tests - fixes #7665 - #7693

Merged
nielash merged 1 commit into
rclone:masterfrom
nielash:bisync-integration-tests
Mar 27, 2024
Merged

nielash merged 1 commit into
rclone:masterfrom
nielash:bisync-integration-tests

Conversation

@nielash

@nielash nielash commented Mar 26, 2024

Copy link
Copy Markdown
Contributor

What is the purpose of this change?

This change officially adds bisync to the nightly integration tests for all backends.

This will be part of giving us the confidence to take bisync out of beta.

A number of fixes have been added to account for features which can differ on different backends -- for example, hash types / modtime support, empty directories, unicode normalization, and unimportant differences in log output. We will likely find that more of these are needed once we start running these with the full set of remotes.

Additionally, bisync's extremely sensitive tests revealed a few bugs in other backends that weren't previously covered by other tests. Fixes for those issues have been submitted on the following separate PRs (and bisync test failures will be expected until they are merged):

Relatedly, workarounds have been put in place for the following backend limitations that are unsolvable for the time being:

Was the change discussed in an issue or in the forum before?

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

@nielash nielash added this to the v1.67 milestone Mar 26, 2024
@nielash nielash linked an issue Mar 26, 2024 that may be closed by this pull request
@nielash
nielash marked this pull request as ready for review March 26, 2024 02:21

@ncw ncw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks great - thank you :-)

Let's merge this now and see what explodes in the integration tests.

I suspect fixing up all the errors is going to take some time!

The PR's you linked are all in progress so get merged soon.

This is a great step forward to making bisync production ready - well done :-)

Please merge when ready.

This change officially adds bisync to the nightly integration tests for all
backends.

This will be part of giving us the confidence to take bisync out of beta.

A number of fixes have been added to account for features which can differ on
different backends -- for example, hash types / modtime support, empty
directories, unicode normalization, and unimportant differences in log output.
We will likely find that more of these are needed once we start running these
with the full set of remotes.

Additionally, bisync's extremely sensitive tests revealed a few bugs in other
backends that weren't previously covered by other tests. Fixes for those issues
have been submitted on the following separate PRs (and bisync test failures will
be expected until they are merged):

- rclone#7670 memory: fix deadlock in operations.Purge
- rclone#7688 memory: fix incorrect list entries when rooted at subdirectory
- rclone#7690 memory: fix dst mutating src after server-side copy
- rclone#7692 dropbox: fix chunked uploads when size <= chunkSize

Relatedly, workarounds have been put in place for the following backend
limitations that are unsolvable for the time being:

- rclone#3262 drive is sometimes aware of trashed files/folders when it shouldn't be
- rclone#6199 dropbox can't handle emojis and certain other characters
- rclone#4590 onedrive API has longstanding bug for conflictBehavior=replace in
	server-side copy/move
@nielash
nielash force-pushed the bisync-integration-tests branch from 3cda8d8 to 1fb9126 Compare March 27, 2024 08:49
@nielash

nielash commented Mar 27, 2024

Copy link
Copy Markdown
Contributor Author

I added a fix for the bug described here.

I also added a condition to skip the volatile test on non-local, anticipating that your answer to this question will be "yes".

@ncw

ncw commented Mar 27, 2024

Copy link
Copy Markdown
Member

I added a fix for the bug described here.

Great

I also added a condition to skip the volatile test on non-local, anticipating that your answer to this question will be "yes".

And yes!

I suggest you merge this now - we don't have to merge all the fixes first.

@nielash

nielash commented Mar 27, 2024

Copy link
Copy Markdown
Contributor Author

I suggest you merge this now - we don't have to merge all the fixes first.

Ok great -- will do now!

Are the 2 memory bug fixes good to go as well? I think I made all the changes.

@nielash
nielash merged commit 2bebbfa into rclone:master Mar 27, 2024
@ncw

ncw commented Mar 27, 2024

Copy link
Copy Markdown
Member

Are the 2 memory bug fixes good to go as well? I think I made all the changes.

Yes they look good now - please merge :-)

@nielash nielash mentioned this pull request Aug 21, 2025
5 tasks done
ncw pushed a commit that referenced this pull request Aug 22, 2025
As of v1.71, bisync is officially out of beta.

Some history:

- bisync was born in 2018 as https://github.com/cjnaz/rclonesync-V2
by @cjnaz, written in python.
- In 2021, @ivandeex ported it to go with @cjnaz's support.
#5164
- It was introduced as an "experimental" feature in v1.58.
6210e22
- In 2023, bisync needed a new maintainer, and @nielash volunteered.
https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636
- Later in 2023, bisync received a major overhaul and was relabeled "beta"
(from "experimental"). #7410
- In 2024, integration tests were introduced for bisync (which previously had
only unit tests). #7693
- As of August 2025, bisync is stable and integration tests are passing on all
of the "flagship" backends.

Development doesn't stop here, of course. But bisync has come a long way since
its "experimental" days, and the "beta" tag is no longer needed.
BenjiThatFoxGuy pushed a commit to BenjiThatFoxGuy/bclone that referenced this pull request Oct 12, 2025
As of v1.71, bisync is officially out of beta.

Some history:

- bisync was born in 2018 as https://github.com/cjnaz/rclonesync-V2
by @cjnaz, written in python.
- In 2021, @ivandeex ported it to go with @cjnaz's support.
rclone/rclone#5164
- It was introduced as an "experimental" feature in v1.58.
rclone/rclone@6210e22
- In 2023, bisync needed a new maintainer, and @nielash volunteered.
https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636
- Later in 2023, bisync received a major overhaul and was relabeled "beta"
(from "experimental"). rclone/rclone#7410
- In 2024, integration tests were introduced for bisync (which previously had
only unit tests). rclone/rclone#7693
- As of August 2025, bisync is stable and integration tests are passing on all
of the "flagship" backends.

Development doesn't stop here, of course. But bisync has come a long way since
its "experimental" days, and the "beta" tag is no longer needed.
lafkpages pushed a commit to lafkpages/rclone that referenced this pull request Jul 20, 2026
As of v1.71, bisync is officially out of beta.

Some history:

- bisync was born in 2018 as https://github.com/cjnaz/rclonesync-V2
by @cjnaz, written in python.
- In 2021, @ivandeex ported it to go with @cjnaz's support.
rclone#5164
- It was introduced as an "experimental" feature in v1.58.
rclone@d1c22d8
- In 2023, bisync needed a new maintainer, and @nielash volunteered.
https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636
- Later in 2023, bisync received a major overhaul and was relabeled "beta"
(from "experimental"). rclone#7410
- In 2024, integration tests were introduced for bisync (which previously had
only unit tests). rclone#7693
- As of August 2025, bisync is stable and integration tests are passing on all
of the "flagship" backends.

Development doesn't stop here, of course. But bisync has come a long way since
its "experimental" days, and the "beta" tag is no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

bisync: add to integration tests

2 participants