-
Notifications
You must be signed in to change notification settings - Fork 416
Adding VersionStream for influxd-3.5 #69555
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
🔄 Build Failed: Git Checkout Error
Build Details
Root Cause Analysis 🔍Git tag v3.5.0 points to a different commit hash than expected. The build configuration expects commit 384c457ef5f0d5ca4981b22855e411d8cac2688e but the actual tag points to commit a359575c82d87d72f22718df4ab9f092f4b5ba38. This indicates either the upstream repository has been updated with a different commit for the same tag, or the expected commit hash in the build configuration is incorrect. 🔍 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: influxd-3.5.yaml
Replacement: Content: Click to expand fix analysisAnalysisLooking at the three similar fixes, I observe a clear pattern: when a git checkout fails due to an expected-commit hash mismatch, the solution is to update the expected-commit value in the YAML configuration to match the actual commit hash that the tag points to. In all three cases (cockroach-25.3, gitaly-18.3, and sealed-secrets-fips), the fix involved updating the expected-commit field to use the "found" commit hash instead of the original "expected" one. This indicates that upstream repositories had updated their tags to point to different commits, which is a common occurrence in software development when tags are moved or recreated. Click to expand fix explanationExplanationThis fix should work because the error message clearly indicates that the git tag v3.5.0 currently points to commit a359575c82d87d72f22718df4ab9f092f4b5ba38, but the build configuration expects commit 384c457ef5f0d5ca4981b22855e411d8cac2688e. By updating the expected-commit field to match the actual commit hash, the git-checkout step will succeed since the verification will pass. This is exactly the same pattern observed in all three similar fixes - they all updated the expected-commit to match the actual commit that the tag was pointing to. The underlying cause is that upstream repositories sometimes move or recreate tags, which is a normal part of software development, especially when fixing issues or making last-minute changes to releases. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
The tag was updated so points at a different commit than it originally did Signed-off-by: Ben Tasker <[email protected]>
Because there are no github releases but there are git tags. Signed-off-by: Arturo Borrero Gonzalez <[email protected]>
Cleanup. Signed-off-by: Arturo Borrero Gonzalez <[email protected]>
No description provided.