Skip to content

fix(ci): include v prefix in release_version output for Ketryx#565

Merged
olivermeyer merged 1 commit into
release/v1.3.0from
fix/ketryx-version
Apr 24, 2026
Merged

fix(ci): include v prefix in release_version output for Ketryx#565
olivermeyer merged 1 commit into
release/v1.3.0from
fix/ketryx-version

Conversation

@olivermeyer

Copy link
Copy Markdown
Collaborator

Why?
The get-release-version CI step was outputting a bare semver (e.g. 1.3.0) when extracting the version from a release/vX.Y.Z branch name. Ketryx expects version names prefixed with v (e.g. v1.3.0), so the compliance check was receiving a version string in the wrong format.

How?
Prepend v to the captured regex group when writing to $GITHUB_OUTPUT, and add a comment explaining the requirement. The regex already strips the v by capturing only the part after it, so the fix is a minimal one-character change at the output line.

Ketryx version names start with "v" (e.g. v1.3.0), but the
get-release-version step was stripping it by capturing only the
part after "v" in the regex match. This caused the version passed
to the Ketryx compliance check to be bare semver (e.g. 1.3.0).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 24, 2026 08:54
@olivermeyer olivermeyer added the skip:test:long_running Skip long-running tests (≥5min) label Apr 24, 2026
@olivermeyer olivermeyer changed the base branch from main to release/v1.3.0 April 24, 2026 08:55
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release/CI metadata used by the SDK and the CI/CD pipeline, primarily to provide Ketryx with a v-prefixed release version derived from release/vX.Y.Z branch names.

Changes:

  • Add a CI step to derive release_version from release/v* branches and pass it to the Ketryx reporting workflow.
  • Extend the Ketryx reusable workflow to accept an optional version input (in addition to commit-sha) and forward it to the Ketryx GitHub Action.
  • Bump the project version from 1.2.0 to 1.3.0 across release/version metadata files.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
VERSION Bumps the repo’s version marker to 1.3.0.
uv.lock Updates locked package version metadata to 1.3.0.
sonar-project.properties Updates Sonar project version to 1.3.0.
pyproject.toml Updates project version and bumpversion current_version to 1.3.0.
examples/notebook.py Updates example pin to aignostics==1.3.0.
docs/source/conf.py Updates Sphinx docs version to 1.3.0.
CLI_REFERENCE.md Updates rendered CLI banner to v1.3.0.
aignostics.spec Updates app bundle version to 1.3.0.
.github/workflows/ci-cd.yml Adds release_version output (with v prefix) and passes it to Ketryx; expands PR branch filters.
.github/workflows/_ketryx_report_and_check.yml Adds version input support and conditionally uses it vs commit-sha.

Comment thread .github/workflows/ci-cd.yml
@codecov

codecov Bot commented Apr 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 2 files with indirect coverage changes

@olivermeyer olivermeyer merged commit 6d7720f into release/v1.3.0 Apr 24, 2026
37 checks passed
@olivermeyer olivermeyer deleted the fix/ketryx-version branch April 24, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip:test:long_running Skip long-running tests (≥5min)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants