Skip to content

fix(release): install examples dep group in release workflow#49

Merged
chris-colinsky merged 1 commit into
mainfrom
fix/release-workflow-examples-group
May 17, 2026
Merged

fix(release): install examples dep group in release workflow#49
chris-colinsky merged 1 commit into
mainfrom
fix/release-workflow-examples-group

Conversation

@chris-colinsky
Copy link
Copy Markdown
Member

Summary

The release workflow's `Sync deps` step ran `uv sync --frozen --all-extras` without `--group examples`, so `openai` was missing from the venv and the four `tests/test_examples_smoke.py` cases failed at module-load time with `ModuleNotFoundError`. `ci.yml` has been doing the right thing since #43; this brings `release.yml` in line.

The drift sat dormant because `release.yml` only runs on tag pushes — and no tag had fired between #43 landing and v0.6.0.

What's changed

`.github/workflows/release.yml`'s `Sync deps` step:

```diff

  • run: uv sync --frozen --all-extras
  • run: uv sync --frozen --all-extras --group examples
    ```

Next step

After this merges, delete + re-push the `v0.6.0` tag pointing at the new `main` HEAD so the release workflow re-runs against the fixed config. No PyPI upload happened on the failed run (build failed at the `test` step well before the `publish-pypi` environment approval), so retagging is safe.

Test plan

  • Local `uv run pytest --group examples` would now match the CI path — already verified in the PR-5 sweep.
  • Watch the v0.6.0 retag fire the workflow and progress through `test` → `build` → `publish-pypi` (waits for manual approval at the `pypi` environment).

The release workflow's ``Sync deps`` step ran
``uv sync --frozen --all-extras`` without ``--group examples``, so
``openai`` was missing from the venv and the four
``tests/test_examples_smoke.py`` cases failed at module-load time with
``ModuleNotFoundError``. ``ci.yml`` has been doing the right thing
since #43; this brings ``release.yml`` in line.

Surfaced when the v0.6.0 tag fired the workflow for the first time
since #43 landed. The drift sat dormant because release.yml only runs
on tag pushes.
Copilot AI review requested due to automatic review settings May 17, 2026 03:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the release workflow dependency sync so release-tag runs install the same example dependency group used by CI, allowing example smoke tests to import openai.

Changes:

  • Adds --group examples to the release workflow’s test dependency sync step.
  • Documents why the examples group is needed during release tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chris-colinsky chris-colinsky merged commit ecbaf15 into main May 17, 2026
9 checks passed
@chris-colinsky chris-colinsky deleted the fix/release-workflow-examples-group branch May 17, 2026 03:54
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.

2 participants