Skip to content

Conversation

apricote
Copy link
Owner

The whole check to avoid pushes when they were only rebases was broken and compared the wrong things. Unfortunately this worked for nearly all unit tests, except for one were I used the wrong assertion.

This fixed the check by comparing the right things and inverting the assertion in the unit test to make sure things do not break again in the future.

Bug was introduced in #114.

Bug was introduced since the last release, so this fix does not need to show up on the changelog.

The whole check to avoid pushes when they were only rebases was broken
and compared the wrong things. Unfortunately this worked for nearly all
unit tests, except for one were I used the wrong assertion.

This fixed the check by comparing the right things and inverting the
assertion in the unit test to make sure things do not break again in the
future.

Bug was introduced in #114.
@apricote apricote self-assigned this Jun 14, 2025
@apricote apricote added the bug Something isn't working label Jun 14, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.41%. Comparing base (983162d) to head (6993e27).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #193   +/-   ##
=======================================
  Coverage   25.41%   25.41%           
=======================================
  Files          22       22           
  Lines        1739     1739           
=======================================
  Hits          442      442           
  Misses       1269     1269           
  Partials       28       28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@apricote apricote merged commit 50b2762 into main Jun 14, 2025
4 checks passed
@apricote apricote deleted the fix-remote-change-check branch June 14, 2025 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants