Hacker News new | ask | show | jobs
by zabil 618 days ago
We do this. We deploy on commit to main and use the commit SHA for versioning. So squash merges makes it easier to know which commit caused a bug or bisect. This work well for our PR based workflows. If required the PR can be used as reference for un-squashed commits.
1 comments

If you deploy on merge (squash or regular) to main then having the commits squashed makes no difference with regards to finding out what was deployed.