Skip to content

fix: CI workflow fails on docs-only PRs#6

Merged
adel-saoud merged 2 commits into
mainfrom
fix/ci-workflow
May 23, 2026
Merged

fix: CI workflow fails on docs-only PRs#6
adel-saoud merged 2 commits into
mainfrom
fix/ci-workflow

Conversation

@adel-saoud

Copy link
Copy Markdown
Owner

Problem

The CI workflow was committed in feat/docs, which contains no pyproject.toml or uv.lock. When GitHub Actions ran on that PR it tried to execute uv sync --all-extras against an empty merge commit and failed immediately.

Additionally, setup-uv with enable-cache: true but no explicit cache-dependency-glob scanned for uv.lock and emitted a "No matches found" warning.

Fix

  • Moves ci.yml to this dedicated branch so it reaches main independently and cleanly
  • Pins cache-dependency-glob: uv.lock to silence the glob warning

Merge order

This should be merged before feat/docs (#4). Once this is on main, all subsequent PR merge commits will include both the workflow and the Python source (from feat/core-gateway #1), so CI will pass end-to-end.

Recommended merge sequence: #1#6 (this) → #2#3#4#5

adel-saoud and others added 2 commits May 23, 2026 21:48
The workflow was on feat/docs which has no pyproject.toml or uv.lock,
causing uv sync to fail on that PR. CI belongs with the code it tests.

Also pins cache-dependency-glob to uv.lock explicitly so setup-uv does
not emit a warning when scanning for lockfiles.
@adel-saoud
adel-saoud merged commit 097ceb5 into main May 23, 2026
1 check passed
@adel-saoud adel-saoud self-assigned this May 23, 2026
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.

1 participant