Skip to content

fix: repair main build after cross-PR merge skew#1020

Merged
wpfleger96 merged 1 commit into
mainfrom
worktree-wpfleger+fix-main-ci-merge-skew
Jun 12, 2026
Merged

fix: repair main build after cross-PR merge skew#1020
wpfleger96 merged 1 commit into
mainfrom
worktree-wpfleger+fix-main-ci-merge-skew

Conversation

@wpfleger96

Copy link
Copy Markdown
Collaborator

Two independent clippy/compile errors broke main (87e45c6) and the local pre-push hook, blocking just release for v0.3.19.

Both are cross-PR merge skew: CI for each contributing PR ran before its partner merged, so neither caught the conflict. The error_outcome_emission_tests::test_config() initializer was added by #1010 before #1017 introduced turn_liveness_secs: u64 on Config; #1017 updated the two sibling test configs but missed this one. The manual_is_multiple_of clippy lint in legacy_storage.rs came from #1016 but wasn't exercised by GitHub CI for that PR — only by the local pre-push hook.

  • Add missing turn_liveness_secs: 10 to error_outcome_emission_tests::test_config() in crates/buzz-acp/src/lib.rs (matches field order and the value used by the two sibling test configs)
  • Replace bytes.len() % 2 == 0 with bytes.len().is_multiple_of(2) in desktop/src-tauri/src/commands/legacy_storage.rs:83

error_outcome_emission_tests::test_config() (added by #1010) was missing
the turn_liveness_secs field that #1017 added to Config — #1017's CI ran
before #1010 merged so this third initializer was overlooked.

Also fix desktop-tauri clippy manual_is_multiple_of in legacy_storage.rs
(from #1016), which the pre-push hook enforces locally but GitHub CI did
not exercise for that PR.
@wpfleger96 wpfleger96 merged commit b8c0556 into main Jun 12, 2026
20 checks passed
@wpfleger96 wpfleger96 deleted the worktree-wpfleger+fix-main-ci-merge-skew branch June 12, 2026 22:20
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.

1 participant