Skip to content

release.yml: asset upload fails (422), v4.1.0 has no release assets, PyPI stuck at 4.0.2 #433

Description

@irfanuddinahmad

`release.yml` (added in #425, the pip→uv/python-semantic-release migration) ran for the first time on merge and got partway through before failing.

What happened (run: https://github.com/openedx/event-tracking/actions/runs/32368097699):

  1. The "Python Semantic Release" step (using `OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN`) bumped the version, built the dists, tagged `v4.1.0`, and created the GitHub release. Succeeded.
  2. The "Publish | Upload to GitHub Release Assets" step (`publish-action`, using the default `GITHUB_TOKEN`) then failed to attach either dist file to that release — `422 Unprocessable Entity` on both.
  3. Because that step failed, `publish_to_pypi` never ran.

Current state: release `v4.1.0` exists with zero assets; PyPI's `event-tracking` is still at 4.0.2.

This won't self-heal — every later run just sees tag `v4.1.0` already exists and no-ops, so nothing will retry the upload/publish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions