Skip to content

Sync release workflow with rhiza branch copilot/extend-release-to-aws-codeartifact#87

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/verify-publishing-mechanism
Draft

Sync release workflow with rhiza branch copilot/extend-release-to-aws-codeartifact#87
Copilot wants to merge 2 commits intomainfrom
copilot/verify-publishing-mechanism

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

Points dummyrepo at the rhiza branch that extends the release pipeline with AWS CodeArtifact support, to validate the publishing mechanism — specifically that Private :: Do Not Upload correctly gates PyPI publication.

Changes

  • .rhiza/template.yml: ref v0.8.16copilot/extend-release-to-aws-codeartifact
  • .github/workflows/rhiza_release.yml: Synced with upstream branch
    • Private package check now respects custom feeds: Private :: Do Not Upload only blocks when PYPI_REPOSITORY_URL is unset
    • New CodeArtifact token exchange step: auto-detects *.codeartifact.* URLs, parses domain/region/owner, fetches temp auth token via AWS CLI
    • Publish step uses dynamic user/password from CodeArtifact or falls back to __token__/PYPI_TOKEN

Publishing behavior

PYPI_REPOSITORY_URL Private :: Do Not Upload Publishes?
(empty) No ✅ PyPI
(empty) Yes ❌ Blocked
CodeArtifact URL Yes ✅ Custom feed
Custom URL No ✅ Custom feed
Original prompt

This section details on the original issue you should resolve

<issue_title>Test functionality on rhiza branch</issue_title>
<issue_description>can you point dummyrepo at this to test publishing mechanism still works. E..g PRIVATE is not publishing?

https://github.com/Jebel-Quant/rhiza/tree/copilot/extend-release-to-aws-codeartifact

@HarryCampion </issue_description>

<agent_instructions>please verify </agent_instructions>

Comments on the Issue (you are @copilot in this section)


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

…ifact to test publishing

Updates template.yml ref and syncs rhiza_release.yml with the branch's
workflow changes that add AWS CodeArtifact support and improve private
package handling (Private :: Do Not Upload only blocks PyPI when no
custom PYPI_REPOSITORY_URL is set).

Co-authored-by: markrichardson <5681211+markrichardson@users.noreply.github.com>
Agent-Logs-Url: https://github.com/markrichardson/dummyrepo/sessions/c2f8188a-3161-48af-bda1-1996b6f54fc6
Copilot AI changed the title [WIP] Test functionality on rhiza branch Sync release workflow with rhiza branch copilot/extend-release-to-aws-codeartifact Mar 23, 2026
Copilot AI requested a review from markrichardson March 23, 2026 21:12
@markrichardson
Copy link
Copy Markdown
Owner

@HarryCampion ... does this verify what you were looking for?

@HarryCampion
Copy link
Copy Markdown
Collaborator

@markrichardson I think if PRIVATE:: Do Not Upload is in the pyproject.toml then it shouldn't upload at all.

@HarryCampion
Copy link
Copy Markdown
Collaborator

@markrichardson maybe this is a non-issue with the change that @tschm put in for private hatch builds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test functionality on rhiza branch

3 participants