Decision: does the two-commit test-then-fix shape survive squash-merge into next? #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#21 is deliberately two commits —
3dbe695adds tests that fail against the pre-existing code,430bd76fixes it, with no assertion changes between them. Its body says: "Do not squash-merge; squashing destroys that shape."The current workflow says the manager squash-merges every issue PR into
next. Those two rules cannot both hold here.Options:
nextstays universal. The proof-of-failure commit is lost from history, though it is still recorded in the PR.My read is 2, narrowly: the test-then-fix pair is the only case where the commit boundary carries evidence that the squashed commit cannot. But this is a workflow rule, so it is yours.
Assigning to you for the ruling; nothing is blocked meanwhile — the PR needs a rebase regardless.