-
Notifications
You must be signed in to change notification settings - Fork 419
drupal-11/11.2.7 package update #71257
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
Nov 6, 2025
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍The git checkout operation failed because the actual commit hash (dca14eef34aeaf6bc969b1f2893e5da3af1445fd) for tag 11.2.7 in the drupal/recommended-project repository does not match the expected commit hash (ac4c930466bf508d12e26527ff67649a43de4e4c). This indicates a mismatch between the expected and actual repository state, likely due to different commit histories between the main drupal/drupal repository and the drupal/recommended-project repository for the same tag version. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: drupal-11.yaml
Replacement: Content: Click to expand fix analysisAnalysisLooking at the three similar fixes, there's a clear pattern: when git checkout fails due to commit hash mismatches, the solution is to update the expected-commit values in the YAML file to match the actual commit hashes found in the repositories. In all cases, the fixes involved updating both the package version and the corresponding expected-commit hashes for the specific repositories. The pattern shows that different repositories (drupal/drupal vs drupal/recommended-project) can have different commit hashes for the same tag, which is expected since they are separate repositories with different histories. Click to expand fix explanationExplanationThe build failure occurs because the YAML file specifies the same expected-commit hash (ac4c930466bf508d12e26527ff67649a43de4e4c) for both the drupal/drupal repository and the drupal/recommended-project repository. However, these are separate repositories with different commit histories, so they will have different commit hashes for the same tag version. The error message indicates that for tag 11.2.7 in the drupal/recommended-project repository, the actual commit hash is dca14eef34aeaf6bc969b1f2893e5da3af1445fd, not the expected ac4c930466bf508d12e26527ff67649a43de4e4c. By updating the expected-commit value for the drupal/recommended-project checkout to match the actual commit hash, the build should proceed successfully. This follows the exact same pattern seen in all three similar fixes where the expected-commit values were updated to match the actual repository state. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
68db50e to
00025d9
Compare
|
Closing in favour of #71625 |