-
Notifications
You must be signed in to change notification settings - Fork 416
grafana-12.0/12.0.2.01 package update #59616
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
grafana-12.0/12.0.2.01 package update #59616
Conversation
octo-sts
bot
commented
Jul 17, 2025
Signed-off-by: wolfi-bot <[email protected]>
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The Git tag v12.0.2+security-01 points to commit 76ea754dbb0bfb3e157981ec73ba4ef1efae4207, which does not match the expected commit hash 5bda17e7c1cb313eb96266f2fdda73a6b35c3977 specified in the build configuration. 🔍 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: grafana-12.0.yaml
Replacement: Click to expand fix analysisAnalysisLooking at the similar fixed build failures, I can see a common pattern: in all cases, there was a mismatch between the expected commit hash specified in the melange YAML file and the actual commit hash that the Git tag points to. The fixes consistently involved updating the expected-commit value in the git-checkout section to match the actual commit hash at the specified tag. This is exactly the same issue we're seeing with the current build failure for grafana-12.0, where the expected commit (5bda17e7c1cb313eb96266f2fdda73a6b35c3977) doesn't match the actual commit (76ea754dbb0bfb3e157981ec73ba4ef1efae4207) at the tag v12.0.2+security-01. Click to expand fix explanationExplanationThe build is failing because there's a mismatch between the expected Git commit hash specified in the Melange YAML file and the actual commit hash that the Git tag v12.0.2+security-01 points to. The build system is expecting the tag to point to commit 5bda17e7c1cb313eb96266f2fdda73a6b35c3977, but it actually points to commit 76ea754dbb0bfb3e157981ec73ba4ef1efae4207. This is a safety feature in the build system that ensures the exact expected code is being built. When the expected commit doesn't match the actual commit, the build fails to prevent potentially building unexpected or unverified code. By updating the expected-commit value to match the actual commit that the tag points to (76ea754dbb0bfb3e157981ec73ba4ef1efae4207), we tell the build system that we're aware of and approve building from this specific commit. This is the standard approach seen in all the similar fixed build failures, where the expected-commit value was updated to match the actual commit hash at the specified tag. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: Amber Arcadia <[email protected]>
Signed-off-by: Amber Arcadia <[email protected]>