Deterministic Commit Message Builder for Dependency Updater
Description
This update addresses an issue in the dependency updater where commit titles and descriptions were generated in a nondeterministic order due to iterating over a Go map.
The changes ensure that dependency updates are alphabetically sorted before composing commit metadata, resulting in stable, predictable commit messages.
Unit tests have been added to verify deterministic formatting and to ensure the original dependency slice is not mutated.
Summary
- Ensure the dependency updater builds commit titles and descriptions from a stable, alphabetically sorted dependency list.
- Add unit tests that exercise deterministic formatting behavior and guard against slice mutation.
Testing
- ✅
go test ./...
Notes
These improvements guarantee consistent commit messages across runs, improving traceability, CI reliability, and reducing random diffs in automated dependency updates.
🟡 Heimdall Review Status
| Requirement | Status | More Info | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Reviews |
🟡
0/1
|
Denominator calculation
|
Review Error for danyalprout @ 2025-10-09 04:10:38 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This pull request was closed because it has been inactive for 5 days since being marked as stale.