Skip to content

Conversation

@AndreuCodina
Copy link
Owner

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request introduces the UV_NO_SYNC environment variable to the CI workflow and updates multiple dependency versions. However, the PR contains critical issues that need to be addressed.

Changes:

  • Added UV_NO_SYNC=1 environment variable to prevent dependency sync during CI runs
  • Removed --frozen flags from uv run commands in the test execution steps
  • Updated four direct dependencies in pyproject.toml to newer versions (azure-monitor-opentelemetry, greenlet, ruff, ty)

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/pull_request.yaml Adds UV_NO_SYNC environment variable and removes --frozen flags from test commands
pyproject.toml Updates minimum versions for azure-monitor-opentelemetry, greenlet, ruff, and ty dependencies
uv.lock Regenerates lockfile with updated versions for multiple transitive and direct dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


- name: Unit tests
run: uv run --frozen -- pytest --cov=python_template --cov-branch tests/unit
run: uv run -- pytest --cov=python_template --cov-branch tests/unit
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the --frozen flag from uv run commands is inconsistent with the purpose of UV_NO_SYNC. The --frozen flag ensures that uv runs with the exact dependencies specified in the lockfile without attempting to update them, which is critical for reproducible CI builds. Without this flag, uv may attempt to resolve dependencies differently than what's in the lockfile, potentially causing build inconsistencies. The --frozen flag should be retained to ensure deterministic builds.

Copilot uses AI. Check for mistakes.
@AndreuCodina AndreuCodina merged commit 27460d3 into main Jan 24, 2026
9 of 10 checks passed
@AndreuCodina AndreuCodina deleted the feature/use-uv-no-sync branch January 24, 2026 13:07
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.

2 participants