Skip to content

Feat/bitbucket rebase detection - #4

Merged
tomasvanrijsse merged 3 commits into
mainfrom
feat/bitbucket-rebase-detection
Aug 19, 2026
Merged

Feat/bitbucket rebase detection#4
tomasvanrijsse merged 3 commits into
mainfrom
feat/bitbucket-rebase-detection

Conversation

@tomasvanrijsse

Copy link
Copy Markdown
Contributor

No description provided.

Bitbucket's commit.date in push webhooks is the committer date, which
git rebase rewrites. isKnownCommit() matched on title+date, so rebased
commits were missed as new instead of recognized as replays.

Use changes[].forced to distinguish: on forced pushes, match known
commits by user+source+commit_pushed+title only (date is unreliable);
on normal pushes, keep the existing title+date match so legitimate
recurring titles (e.g. "composer update") still create new events.
@tomasvanrijsse
tomasvanrijsse merged commit 45d4d03 into main Aug 19, 2026
3 checks passed
@tomasvanrijsse
tomasvanrijsse deleted the feat/bitbucket-rebase-detection branch August 19, 2026 15:35
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