Skip to content

ci: run the tests on the locked dependencies #291

Closed

Description

@uniqueg

Problem

The image installs the locked, hash-checked dependencies from uv.lock (#125), but the lint, test, chart and docs jobs of .github/workflows/ci.yml run pip install -e ".[dev]", which resolves the newest versions in range. Only the smoke job runs on the lock, and it covers only reads and 401 responses. Dependabot's uv PRs change only the lock, which the tests on those PRs don't install, so a broken locked version isn't caught before release.

Found in the pre-release review for v1.0.0rc1 (low; a local uv sync --frozen --extra dev run passed with 100% coverage, so the current lock is fine).

Proposed fix

Install from the lock in CI, at least for the MongoDB test entry, e.g. with a pinned astral-sh/setup-uv and uv sync --frozen --extra dev, or uv export --frozen --extra dev | pip install --require-hashes. Update docs/development.md to match.

Acceptance criteria

  • The test job (at least one matrix entry) runs on the versions of uv.lock.
  • Dependabot uv PRs run the tests on the updated lock.
  • docs/development.md describes the same install.

Activity

  1. added
    priority: low
    status: triage
    type: ci / cd
    type: testing
    workload: hours
    on Oct 29, 2026
  2. added this to the v1.0.0-rc1 milestone on Nov 1, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 1, 2026
  4. removed
    status: in progress
    on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowtype: ci / cdtype: testingworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions