Skip to content

Sort file names in sync events before the events are emitted - #2833

Closed
anton-107 wants to merge 1 commit into
mainfrom
anton-107/sync-event-sort-on-produce
Closed

Sort file names in sync events before the events are emitted#2833
anton-107 wants to merge 1 commit into
mainfrom
anton-107/sync-event-sort-on-produce

Conversation

@anton-107

@anton-107anton-107 commented May 8, 2025

Copy link
Copy Markdown
Contributor

Why

In #2824 sorting was added on event read, which caused the slices to be mutated and changed the order of the sync operations.

In

Tests

Existing acceptance test run with hyperfine

hyperfine -m 100 --show-output 'go test ./acceptance -run ^TestAccept$/^bundle$/^sync$/^dryrun$ -count=1'

was consistently failing on 20-30th iteration before this change and is not failing on 100 iterations after the change.

@anton-107
anton-107temporarily deployed to test-trigger-is May 8, 2025 10:48 — with GitHub Actions Inactive
@anton-107
anton-107 marked this pull request as ready for review May 8, 2025 10:53
@anton-107
anton-107 marked this pull request as draft May 8, 2025 11:18
@pietern
pietern deleted the anton-107/sync-event-sort-on-produce branch May 8, 2025 14:29
Sign up for freeto 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.

1 participant

@anton-107