-
Notifications
You must be signed in to change notification settings - Fork 416
drupal-11/11.2.0 package update #57350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
octo-sts
bot
commented
Jun 23, 2025
Signed-off-by: wolfi-bot <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The git checkout step expected a specific commit hash (fd3b0413407205068f7d571e5a70bdd84d377d4f) for tag 11.2.0, but found a different commit hash (338d58439d5b59d92ac9519ad81ffd916b673841). This mismatch between the expected and actual commit hash for the tag caused the build to fail. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixes
Suggested ChangesFile: drupal-11.yaml
Replacement: Content: Click to expand fix analysisAnalysisAfter analyzing the similar fixed build failures, a clear pattern emerges: all of these failures involve a mismatch between the expected commit hash and the actual commit hash found when checking out a specific tag. In each case, the fix was to update the expected-commit parameter in the git-checkout step to match the actual commit hash that the tag points to. The current build failure shows the same pattern - the expected commit hash (fd3b0413407205068f7d571e5a70bdd84d377d4f) doesn't match the actual commit hash (338d58439d5b59d92ac9519ad81ffd916b673841) for the Drupal 11.2.0 tag. This occurs because git tags can be changed or updated by the repository maintainers, causing the commit they point to to change. Click to expand fix explanationExplanationThe build is failing because the git-checkout step in the Melange YAML file is expecting the Drupal 11.2.0 tag to point to commit fd3b0413407205068f7d571e5a70bdd84d377d4f, but in reality, it points to commit 338d58439d5b59d92ac9519ad81ffd916b673841. This mismatch can happen for several reasons:
The fix is straightforward - update the expected-commit value to match the current commit hash that the tag points to. This approach matches what was done in all three similar fixed build failures, where in each case the expected-commit hash was updated to match the actual commit hash of the tag. After making this change, the git-checkout step should succeed because the expected commit hash will now match the actual commit hash for the Drupal 11.2.0 tag. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Debasish Biswas <[email protected]>
Signed-off-by: Debasish Biswas <[email protected]>
Signed-off-by: Debasish Biswas <[email protected]>
|
superseded by #57516 |