Adding VersionStream for clickhouse-26.1#78611
Conversation
⚙️ Build Failed: Configuration
Build Details
Root Cause Analysis 🔍The version string '26.1.2.11-stable' in the clickhouse-26.1.yaml configuration file does not conform to the expected semantic versioning format that melange can parse. The '-stable' suffix is likely causing the parsing failure as it's not a valid semantic version identifier. 🔍 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: clickhouse-26.1.yaml
Replacement: Content: Click to expand fix analysisAnalysisAll three similar build failures show the exact same issue: melange cannot parse version strings that contain the '-stable' suffix. In every case, the fix was to remove the '-stable' suffix from the package version field while keeping the git tag references intact. The pattern is consistent: change version from "X.Y.Z.W-stable" to "X.Y.Z.W" and ensure the update section has strip-suffix: -stable to handle future automated updates properly. Click to expand fix explanationExplanationThis fix will resolve the build failure because melange's version parser expects semantic versioning format (X.Y.Z or X.Y.Z.W) and cannot handle the '-stable' suffix. The '-stable' is not a valid pre-release identifier in semantic versioning. By removing it from the package version while keeping it in the git tag reference (v${{package.version}}-stable), the build will be able to parse the version correctly while still checking out the correct git tag. The update section already has 'strip-suffix: -stable' which ensures automated updates will work correctly by stripping this suffix when parsing new tags from upstream. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
No description provided.