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

confluent-kafka/8.0.0.186 package update #35117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

octo-sts[bot]
Copy link
Contributor

@octo-sts octo-sts bot commented Nov 25, 2024

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

octo-sts bot commented Nov 25, 2024

Gen AI suggestions to solve the build error:

Based on the error output, I'll analyze and provide a solution:

• Detected Error:

[git checkout] execute: git clone --quiet --origin=origin --config=user.name=Melange Build [email protected] --config=advice.detachedHead=false --branch=v8.0.0-186-ccs --depth=1 https://github.com/confluentinc/kafka /tmp/tmp.njRd0d

(The command fails silently, indicating a tag/branch issue)

• Error Category: Version/Git Reference

• Failure Point: git-checkout step in the pipeline

• Root Cause Analysis:
The git checkout is failing because the tag format in the repository doesn't match what we're trying to check out. Confluent uses a different tag format than what we're constructing.

• Suggested Fix:
Modify the var-transforms section to match Confluent's actual tag format:

var-transforms:
  - from: ${{package.version}}
    match: ^(.+)\.(\d+)$
    replace: $1-$2
    to: mangled-package-version

And update the git-checkout section:

  - uses: git-checkout
    with:
      expected-commit: 0d3773719fdca212344ad9f59249aa43ed8c1b49
      repository: https://github.com/confluentinc/kafka
      tag: ${{vars.mangled-package-version}}

• Explanation:
Confluent's repository uses tags in the format 8.0.0-186 without the -ccs suffix. The current transform is adding -ccs to the tag name, which doesn't exist in the repository. Removing the -ccs suffix from the tag transformation will allow the git checkout to find the correct reference.

• Additional Notes:

  • The -ccs suffix appears to be from the package naming convention but isn't part of the actual git tags
  • You can verify the available tags in the Confluent repository using: git ls-remote --tags https://github.com/confluentinc/kafka
  • The version handling might need to be adjusted in the update section as well to maintain consistency

• References:

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