hyperswitch-funcdiff / prs /pr_10105.json
SirajRLX's picture
Add files using upload-large-folder tool
cd3e498 verified
{
"number": 10105,
"title": "fix(workflow): pin cocogitto version to 6.3.0 in release-stable-version workflow",
"description": "## Type of Change\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [x] Bugfix\r\n- [ ] New feature\r\n- [ ] Enhancement\r\n- [ ] Refactoring\r\n- [ ] Dependency updates\r\n- [ ] Documentation\r\n- [ ] CI/CD\r\n\r\n## Description\r\n<!-- Describe your changes in detail -->\r\n\r\nThis pull request makes a small update to the GitHub Actions workflow by specifying the exact version of the `cocogitto` tool to be installed. This change helps ensure consistent and reproducible builds.\r\n\r\n- Workflow tooling:\r\n * Updated the installation step for `cocogitto` in `.github/workflows/release-stable-version.yml` to use version `6.3.0`, ensuring version consistency in CI runs.\r\n\r\n\r\n### Additional Changes\r\n\r\n- [ ] This PR modifies the API contract\r\n- [ ] This PR modifies the database schema\r\n- [ ] This PR modifies application configuration/environment variables\r\n\r\n<!--\r\nProvide links to the files with corresponding changes.\r\n\r\nFollowing are the paths where you can find config files:\r\n1. `config`\r\n2. `crates/router/src/configs`\r\n3. `loadtest/config`\r\n-->\r\n\r\n\r\n## Motivation and Context\r\n<!--\r\nWhy is this change required? What problem does it solve?\r\nIf it fixes an open issue, please link to the issue here.\r\n\r\nIf you don't have an issue, we'd recommend starting with one first so the PR\r\ncan focus on the implementation (unless it is an obvious bug or documentation fix\r\nthat will have little conversation).\r\n-->\r\n\r\nThe release-stable-version workflow was failing with \"Reference already exists\" errors when attempting to create SemVer tags. \r\n\r\n### Root Cause\r\nNewer versions of cocogitto (>6.3.0) are incorrectly detecting the previous stable version:\r\n- **Expected behavior (cocogitto@6.3.0)**: Returns the correct last stable version (e.g., 1.118.1)\r\n- **Actual behavior (newer versions)**: Returns incorrect version (1.108.0), causing tag conflicts\r\n\r\n### Evidence\r\n```bash\r\n# With cocogitto >6.3.0\r\ngit checkout hotfix-2025.10.15.0\r\ncog --verbose get-version # Returns: 1.108.0\r\n\r\ngit checkout main\r\ncog --verbose get-version # Returns: 1.108.0 (incorrect)\r\n```\r\n\r\n## How did you test it?\r\n<!--\r\nDid you write an integration/unit/API test to verify the code changes?\r\nOr did you test this change manually (provide relevant screenshots)?\r\n-->\r\n\r\n\r\n## Checklist\r\n<!-- Put an `x` in the boxes that apply -->\r\n\r\n- [ ] I formatted the code `cargo +nightly fmt --all`\r\n- [ ] I addressed lints thrown by `cargo clippy`\r\n- [ ] I reviewed the submitted code\r\n- [ ] I added unit tests for my changes where possible\r\n ",
"author": "itsharshvb",
"created_at": "2025-11-03T10:43:55+00:00",
"merged_at": "2025-11-04T07:41:48+00:00",
"base_branch": "main",
"labels": [
"C-bug"
],
"url": "https://github.com/juspay/hyperswitch/pull/10105",
"commits": [
{
"sha": "dbb56ed209bd1667e5cff100d7cbde648f3f04a2",
"message": "fix(workflow): pin cocogitto version to 6.3.0 in release-stable-version workflow",
"author": "Harshvardhan Bahukhandi",
"date": "2025-11-03T10:25:44+00:00",
"url": "https://github.com/juspay/hyperswitch/commit/dbb56ed209bd1667e5cff100d7cbde648f3f04a2"
}
]
}