ci: install locked dependency universe in all workflows (uv sync --locked)
Root cause of the simultaneous lane-shas failures on PRs #46 and #47: workflows installed with unlocked 'uv pip install -e .' against floor-only specs (numpy>=1.26, ...) while the repo maintains uv.lock — so a PyPI release landing between runs shifts the runner's resolved set, and the byte-exact lane SHA pins move with it. Timeline: main lane run green at 23:40Z, both PR runs (diffs no lane executes) red after 00:02Z; the identical trees verify 9/9 locally against the locked venv, and 'uv lock --check' is clean. All six workflows now 'uv sync --locked' (--extra dev where [dev] was installed) — CI tests the locked universe, so lane pins can only move when code moves. Locked-sync also fails loudly on a stale lock instead of silently resolving fresh. Self-validating: this PR's own lane-shas run uses this branch's workflow. [Verification]: smoke suite passed locally (175 passed); lane repro on the failing PRs' tree: 9/9 pinned SHAs; uv lock --check clean.
This commit is contained in:
parent
8f67590d2a
commit
576c2e13e3
6 changed files with 6 additions and 6 deletions
2
.github/workflows/contemplation.yml
vendored
2
.github/workflows/contemplation.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
enable-cache: true
|
||||
|
||||
- name: install dependencies
|
||||
run: uv pip install -e ".[dev]" pyyaml
|
||||
run: uv sync --locked --extra dev
|
||||
|
||||
- name: run contemplation cycle
|
||||
id: run
|
||||
|
|
|
|||
2
.github/workflows/full-pytest.yml
vendored
2
.github/workflows/full-pytest.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
|
||||
- name: install dependencies
|
||||
run: |
|
||||
uv pip install -e ".[dev]" pyyaml
|
||||
uv sync --locked --extra dev
|
||||
|
||||
- name: pytest (parallel, quarantine and slow excluded)
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/lane-shas.yml
vendored
2
.github/workflows/lane-shas.yml
vendored
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
- name: install dependencies
|
||||
if: steps.paths.outputs.run == 'true'
|
||||
run: |
|
||||
uv pip install -e . pyyaml pytest
|
||||
uv sync --locked
|
||||
|
||||
- name: verify lane SHAs
|
||||
if: steps.paths.outputs.run == 'true'
|
||||
|
|
|
|||
2
.github/workflows/nightly-full-pytest.yml
vendored
2
.github/workflows/nightly-full-pytest.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
|
||||
- name: install dependencies
|
||||
run: |
|
||||
uv pip install -e ".[dev]" pyyaml
|
||||
uv sync --locked --extra dev
|
||||
|
||||
- name: pytest (parallel, full suite, quarantine excluded)
|
||||
env:
|
||||
|
|
|
|||
2
.github/workflows/ratify-proposal.yml
vendored
2
.github/workflows/ratify-proposal.yml
vendored
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
enable-cache: true
|
||||
|
||||
- name: install dependencies
|
||||
run: uv pip install -e ".[dev]"
|
||||
run: uv sync --locked --extra dev
|
||||
|
||||
- name: resolve review date
|
||||
id: date
|
||||
|
|
|
|||
2
.github/workflows/smoke.yml
vendored
2
.github/workflows/smoke.yml
vendored
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
|
||||
- name: install dependencies
|
||||
run: |
|
||||
uv pip install -e ".[dev]" pyyaml
|
||||
uv sync --locked --extra dev
|
||||
|
||||
- name: pytest smoke suite
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue