Skip to content

Update test_filter_removed_access_documents for JS#307

Merged
pasin merged 2 commits intomainfrom
fix/CBL-7626
Nov 10, 2025
Merged

Update test_filter_removed_access_documents for JS#307
pasin merged 2 commits intomainfrom
fix/CBL-7626

Conversation

@pasin
Copy link
Contributor

@pasin pasin commented Nov 10, 2025

Not checking for the filtered access removed doc notification for JS. Based on the discussion, we will not implement document ended notification for the docs rejected by the pull filter in JS. We may implement it based on demand.

From Jens, this feature doesn’t make sense as the rejection from the user’s replication filters shouldn’t be treat as an error. Also it happens on the platform as a side effect due to an error thrown by LiteCore. I have created CBL-7645 for changing the behavior on the other platforms in the future release.

Not checking for the filtered access removed doc notification for JS. Based on the discussion, we will not implement document ended notification for the docs rejected by the pull filter in JS. We may implement it based on demand.

From Jens, this feature doesn’t make sense as the rejection from the user’s replication filters shouldn’t be treat as an error. Also it happens on the platform as a side effect due to an error thrown by LiteCore. I have created CBL-7645 for changing the behavior on the other platforms in the future release.
@pasin pasin requested a review from borrrden November 10, 2025 22:42
Copy link
Member

@borrrden borrrden left a comment

Choose a reason for hiding this comment

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

If this is not important, though, why not just remove it for all platforms?

@pasin
Copy link
Contributor Author

pasin commented Nov 10, 2025

I made changes by removing it for all platforms. The test spec was updated as well.

@pasin pasin merged commit 34524ac into main Nov 10, 2025
4 checks passed
@pasin pasin deleted the fix/CBL-7626 branch November 10, 2025 23:08
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.

2 participants