Skip to content

Conversation

@joaomariolago
Copy link
Collaborator

@joaomariolago joaomariolago commented Jan 22, 2026

Summary by Sourcery

Migrate the helper service into the secondary Python virtual environment and align its dependency set with updated library versions.

Enhancements:

  • Update helper service dependencies to newer versions of FastAPI, Pydantic, and related libraries.
  • Adjust workspace and virtual environment configuration so helper is managed by the secondary venv instead of the primary core environment.

Build:

  • Regenerate uv lockfiles and startup wiring to reflect the helper service running under the python-venv2 environment.

* Update all libraries to latest
* Move helper to venv2
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 22, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Migrates the helper service into the secondary Python virtual environment and refreshes its dependency stack, including aligning FastAPI/Pydantic and related packages with newer versions, while updating workspace membership and lockfiles accordingly.

Flow diagram for updated helper service dependency stack

graph LR
  helper_service[helper_service] --> beautifulsoup4_4_14_3[beautifulsoup4_4_14_3]
  helper_service --> commonwealth_0_1_0[commonwealth_0_1_0]
  helper_service --> fastapi_0_125_0[fastapi_0_125_0]
  helper_service --> fastapi_versioning_0_10_0[fastapi_versioning_0_10_0]
  helper_service --> loguru_0_7_3[loguru_0_7_3]
  helper_service --> psutil_7_1_3[psutil_7_1_3]
  helper_service --> pydantic_2_12_5[pydantic_2_12_5]
  helper_service --> speedtest_cli_2_1_3[speedtest_cli_2_1_3]
  helper_service --> requests_2_32_5[requests_2_32_5]
  helper_service --> uvicorn_0_38_0[uvicorn_0_38_0]

  subgraph helper_env
    helper_service
  end
Loading

File-Level Changes

Change Details Files
Upgrade the helper service's direct Python dependencies to more recent versions, including FastAPI and Pydantic.
  • Bump beautifulsoup4, fastapi, fastapi-versioning, loguru, psutil, pydantic, requests, and uvicorn to newer pinned versions in the helper service configuration
  • Retain existing non-updated dependencies and basic project metadata in the helper's pyproject configuration
core/services/helper/pyproject.toml
Move the helper service from the primary core workspace/venv into the secondary python-venv2 workspace.
  • Remove helper from the main core project dependency list and workspace members
  • Exclude helper from the primary core uv workspace configuration
  • Add helper as a dependency and workspace member in python-venv2's pyproject configuration, including the workspace members list
  • Ensure helper participates in python-venv2 via workspace dependency mapping
core/pyproject.toml
core/python-venv2/pyproject.toml
Regenerate lockfiles and startup wiring to reflect the new environment layout and dependency graph.
  • Update python-venv2 uv.lock to capture new helper-related and upgraded package resolutions
  • Refresh the root core uv.lock to reflect helper's removal from the primary environment and the updated dependency tree
  • Adjust start-blueos-core script as needed to work with the new helper placement in python-venv2
core/python-venv2/uv.lock
core/uv.lock
core/start-blueos-core

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

* Allow ServiceInfo model to receive optional metadata field to avoid
  validation error
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