Repository navigation
feat: [DEV-16400] move CI and PyPI publishing from Harness to GitHub Actions with OIDC trusted publishing - #462
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit fdbc13d. Configure here.
| version: "0.13.9" | ||
| require-checksums: true | ||
| python-version: ${{ matrix.python-version }} | ||
| - run: uvx --with tox-uv tox -e ${{ matrix.tox-env }} |
There was a problem hiding this comment.
CI forces old tox on 3.9
Medium Severity
setup-uv sets UV_PYTHON to the matrix interpreter, and uvx --with tox-uv tox runs against that interpreter. Current tox-uv (and recent tox) require Python 3.11+, so the py39 and py310 jobs can fail to resolve or pull arbitrarily old tool versions. That is not the same as the local tox py39–py313 run described in the PR, and those matrix legs were not proven on GitHub runners.
Reviewed by Cursor Bugbot for commit fdbc13d. Configure here.


Summary
Jira
Changelog Summary
Contract Changes
Backward Compatibility / Breaking Changes
Tests and Verification Added
Net New Behaviors Requiring Integration Tests
Validation
Note
Medium Risk
Release and publish paths change (tag-driven OIDC publish, approval gate); first tag release may fail until org Actions policy allows
pypa/gh-action-pypi-publishand PyPI trusted publisher setup is complete.Overview
Replaces Harness with GitHub Actions for linting, multi-version tests, and PyPI releases. New
.github/workflows/ci.ymlruns ruff format checks and tox on Python 3.9–3.13 for PRs,masterpushes, and as a reusable workflow..github/workflows/release.ymlruns on version tags: CI →uv build→ verifies the wheel version matches the tag → publishes via OIDC trusted publishing to the protectedpypienvironment (deployment approval required).The Harness pipeline YAML under
.harness/is removed, along withscripts/deploy.shandscripts/test.sh. Publishing no longer uses thedeployextra (twine); lockfile entries for those deps are dropped.scripts/release.shtags and pushes releases with validation (version shape, duplicate tags, post-release rules, etc.), and README documents the new release and approval flow.Formatting toolchain: pre-commit switches from black to ruff format (aligned with CI).
tox.inisets a dummyINDICO_API_TOKENso unit tests don’t rely on the deleted Harness test script. One integration test assertion is reformatted for ruff.Reviewed by Cursor Bugbot for commit 2f26796. Bugbot is set up for automated code reviews on this repo. Configure here.
Open blocker for the release workflow
astral-sh/setup-uv; it passes with the org forkIndicoDataSolutions/setup-uvat the same commit.release.ymlstill usespypa/gh-action-pypi-publish, which has no org fork. An org admin needs to fork it into IndicoDataSolutions or allow it in the Actions policy before a tag release can start. CI on pull requests is not affected.