-
Notifications
You must be signed in to change notification settings - Fork 416
drupal-11/11.2.2 package update #58971
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
Jul 11, 2025
Signed-off-by: wolfi-bot <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The expected commit hash for tag '11.2.2' doesn't match the actual commit hash found in the repository. The build script expected commit '4a1db0db3b144a42daa0887e904f942a55fe5b6b' but found '965123445745f50c7fc001c72a96650518c267d2'. This likely means either the tag was updated in the repository since the package recipe was written, or there's a mismatch in the package definition. 🔍 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: Click to expand fix analysisAnalysisAfter analyzing the similar fixed build failures, I can see that all three examples involve the same core issue: a mismatch between the expected Git commit hash in the Melange YAML file and the actual commit hash found when checking out a specific tag. The pattern in these fixes is consistent:
This suggests that Git tags can be updated to point to different commits after a package recipe is written, causing builds to fail until the expected commit hash is updated to match reality. Click to expand fix explanationExplanationThe build is failing because the expected commit hash for the tag '11.2.2' in the drupal/drupal repository doesn't match the actual commit hash that the tag currently points to in the repository. The error message clearly states: This indicates that the tag '11.2.2' now points to commit '965123445745f50c7fc001c72a96650518c267d2' instead of the expected '4a1db0db3b144a42daa0887e904f942a55fe5b6b'. The solution is straightforward: update the This kind of mismatch can happen when:
The fix doesn't require changing the version or any other aspects of the configuration - just updating the expected commit hash to match reality. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
|
@AmberArcadia There is no change just te epoch bump. Is it a case where the github api is getting a wrong commit SHA? |
debasishbsws
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe need to close this
|
Dang, yep, you're right, thanks. |