Skip to content

Close Python 3.15 CI and runtime execution coverage gaps #164

Done

Description

Problem

The shared runtime accepts Python >=3.10, but current main (cfa5d4ae6378218275229ba6d7dced23e6ccc814) tests only Python 3.10-3.14. Python 3.15 can therefore be selected by consumers without corresponding shared-runtime CI evidence.

A read-only audit identified four concrete gaps:

  1. Both .github/workflows/pr-check.yml and push-check.yml omit 3.15 from their Ubuntu/Windows matrices.
  2. Worker process/JSON-RPC tests largely mock subprocesses and responses. The real LSP stdio fixture never invokes a tool, so extending the matrix alone does not establish that actual worker execution works.
  3. CI resolves fresh dependencies, unlike consumers' pinned bundles. Minimum dependency combinations and consumer-provided optional debugpy support are not established by those runs.
  4. CI uses editable installs rather than exercising the documented noneditable --target --no-deps consumption path.

Proposed focused change

  • Add stable Python 3.15 on Ubuntu and Windows to both existing Python test matrices, retaining coverage of the currently supported versions.
  • Add a small deterministic regression that starts the actual worker and completes a real tool/RPC roundtrip without mocking the process or transport. Cover failure propagation or cleanup where necessary.
  • Add a clean noneditable/bundled-install smoke that validates import and basic execution from the installed target, not the source tree.
  • Record the dependency combinations actually exercised and any remaining consumer-lock/minimum-version/optional-debugger gaps. Do not mask an old-alpha-only test-runner problem by globally pinning pytest.
  • Preserve existing behavior and source-only Git-submodule consumption; no package release or unrelated refactor is needed.

Validation and boundaries

  • Existing relevant Python tests, lint, formatting, and the added regressions should pass.
  • Hosted CI must provide stable-3.15 evidence; local results on an older alpha must be identified as such.
  • The previous audit ran 293 selected tests successfully on installed Python 3.15.0a5 with pytest 9.1.1. Fresh pytest 9.2.0 failed before collection on that older alpha. Neither result proves stable-3.15 compatibility.
  • Downstream Pylint has existing Python 3.15.2 failures: pre-refresh run and refreshed runtime-pin run fail the identical 42 cases on Windows and Ubuntu. Their originating cause is not yet established. Keep consumer changes out of this PR unless a shared-runtime defect is demonstrated; do not claim these failures are fixed merely by extending the matrix.
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

    debttriage-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions