When working with Hutte, pull request reviews are conducted on your Git host, such as GitHub. Git hosts provide some of the most robust and mature interfaces for managing reviews, independent of the software stack. These platforms support features like line-by-line comments, granular approval workflows, and automated triggers that execute actions before or after the review process.
Hutte integrates seamlessly with your Git host by syncing the status of pull requests. This ensures that Hutte considers the review status when accepting features (represented by pull requests) for inclusion in a release.
Git supports various merge strategies, but we strongly recommend squash merges when working with Hutte. Squash merges offer several advantages, particularly in the context of Salesforce development and collaborative workflows:
Simplified Commit History
Squash merges condense all commits from a feature branch into a single commit on the main branch. This creates a clean and concise history that is easier to read and maintain.
Feature Tracking
With a single commit per pull request, it becomes straightforward to map features from your issue tracking system or Hutte directly to specific commits on the main branch. This clarity is invaluable for understanding what changes are associated with each feature.
Improved Rollbacks
Since a squash merge creates a single commit, rolling back a feature is as simple as reverting one commit. This reduces complexity when resolving issues or reverting problematic features.
Reduced Noise
Developers often make several intermediate commits while working on a feature. Squash merges eliminate the clutter of these intermediate commits, leaving only the final, polished result on the main branch.
Consistent Workflow
Teams using squash merges enforce a consistent structure in the repository, making the history cleaner and development workflows easier to follow.
Hutte aligns seamlessly with the squash merge strategy by:
By adopting squash merges, you can streamline your development workflow, maintain cleaner repositories, and improve traceability across Hutte, your Git host, and issue tracking systems.
<aside> ℹ️
Syncing Pull Request Statuses in Hutte
Due to limitations of Git hosting providers, pull request statuses cannot be reflected in real-time within Hutte. However, we automatically sync statuses every 30 minutes.
If you need to update the status of a pull request immediately, you can use the manual refresh option available on the feature page.
</aside>