add CI for auto releasing internal packages#6357
Conversation
Greptile SummaryThis PR adds CI infrastructure for automatically releasing two internal packages (
Confidence Score: 4/5Safe to merge after fixing the publish path bug; all other changes are infrastructure scaffolding. One confirmed P1 bug: uv publish dist/* will fail for every sub-package publish because the dist output lives in the subdirectory, not the workspace root. The rest of the workflow logic (version bumping, concurrency group, ref checkout fix) looks correct. publish.yml line 66 — incorrect glob path for sub-package artifacts. Important Files Changed
Sequence DiagramsequenceDiagram
participant Push as Push to main
participant Detect as detect job
participant Release as release job (matrix)
participant GH as GitHub Releases API
participant Publish as publish.yml workflow
participant PyPI as PyPI
Push->>Detect: trigger (paths filter)
Detect->>Detect: git diff HEAD~1 HEAD → changed packages
Detect-->>Release: packages=[...] matrix
Release->>Release: git tag -l → compute next patch version
Release->>GH: gh release create pkg-vN --target SHA
Release->>Publish: gh workflow run publish.yml -f tag=pkg-vN
Publish->>Publish: checkout ref=tag
Publish->>Publish: uv build --directory packages/pkg
Publish->>Publish: uv publish dist/* ⚠️ wrong path for sub-packages
Publish->>PyPI: publish wheel
|
|
@greptile |
|
@greptile |
No description provided.