Skip to content
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

ruby-3.4/3.4.0 package update #38241

Closed
wants to merge 1 commit into from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Dec 23, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Dec 23, 2024
Copy link
Contributor Author

octo-sts bot commented Dec 23, 2024

Gen AI suggestions to solve the build error:

• Detected Error:

Expected commit 20587e45c1466a7376928935eb666c8a7cc82ba4 for v3_4_0_preview2, found 32c733f57bb91e22972319ee63eac9521d954ebc

• Error Category: Version/Configuration

• Failure Point: Git checkout step in the pipeline

• Root Cause Analysis: The melange build is failing because there's a mismatch between the expected git commit hash specified in the configuration (20587e45) and the actual commit hash (32c733f5) for the v3_4_0_preview2 tag.

• Suggested Fix:
Update the expected-commit hash in the pipeline configuration to match the actual commit hash:

  - uses: git-checkout
    with:
      repository: https://github.com/ruby/ruby
      tag: v${{vars.underscore-package-version}}_preview2
      expected-commit: 32c733f57bb91e22972319ee63eac9521d954ebc

• Explanation: Git tags can be updated to point to different commits, which appears to have happened here. The expected-commit hash in the configuration needs to match the actual commit that the tag points to. The fix updates this value to match the current state of the repository.

• Additional Notes:

  • This type of error commonly occurs when tags are moved or updated in the upstream repository
  • You can verify the correct commit hash for a tag using: git rev-parse v3_4_0_preview2
  • Consider implementing automated commit hash updates in your update pipeline

• References:

@octo-sts octo-sts bot closed this Dec 25, 2024
Copy link
Contributor Author

octo-sts bot commented Dec 25, 2024

superseded by #38335

@octo-sts octo-sts bot deleted the wolfictl-fb050868-484f-45d0-a33e-b70fd80b00b1 branch December 26, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated pr request-version-update request for a newer version of a package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant