chore(deps): commit uv.lock and lock CI to uv sync#1292
Merged
VaibhavUpreti merged 11 commits intoTracer-Cloud:mainfrom May 5, 2026
Merged
chore(deps): commit uv.lock and lock CI to uv sync#1292VaibhavUpreti merged 11 commits intoTracer-Cloud:mainfrom
VaibhavUpreti merged 11 commits intoTracer-Cloud:mainfrom
Conversation
- Add uv.lock; stop gitignoring it; Dependabot uses uv ecosystem weekly. - CI, Windows label CI, and synthetic workflow use uv sync --frozen --extra dev. - Makefile install uses uv sync --frozen and uv run for analytics. - Add deps-latest weekly canary with uv pip --python $(which python) -e .[dev].
Contributor
Greptile Summary
Confidence Score: 5/5Safe to merge; no P0 or P1 issues found — only minor P2 style suggestions. All workflow changes are consistent and correctly use uv sync --frozen; the canary workflow correctly includes --system; the two P2 comments are about defensive hygiene, not correctness. No regressions introduced. No files require special attention; .github/workflows/deps-latest.yml and ci.yml are the most impactful files and both look correct. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[PR / Push to main] -->|paths include uv.lock| B[ci.yml triggered]
B --> C[uv sync --frozen --extra dev]
C --> D{Jobs}
D --> E[quality: ruff lint + format]
D --> F[typecheck: mypy]
D --> G[test: pytest via uv run]
D --> H[test-kubernetes]
G --> I[test-thorough: uv run matrix.command]
J[Weekly cron / workflow_dispatch] --> K[deps-latest.yml]
K --> L[uv pip install --system latest from pyproject]
L --> M[python -m pytest canary tests]
M -->|failure + schedule| N[Create/dedup GitHub issue]
O[Dependabot uv weekly] -->|uv.lock update PR| B
Reviews (3): Last reviewed commit: "ci: restore deps-latest as standalone wo..." | Re-trigger Greptile |
- Add --system to uv pip install with explicit python interpreter. - Add scheduled-failure issue notification step (dedupes open issue by title). - Grant issues:write permission for canary workflow notifications.
Collaborator
Author
|
@greptileai review |
Use jq fallback to empty string so scheduled failure creates an issue when none exists.
Resolve ci.yml conflict: keep unified Run tests (fork + non-fork parity).
- Remove .github/workflows/deps-latest.yml per maintainer feedback (workflow sprawl) - Document uv install for macOS/Linux/Windows in SETUP.md; use uv run in manual fallback - Note uv + uv.lock in README Development; align CONTRIBUTING quick start
- Add schedule + workflow_dispatch triggers; gate quality/typecheck/test to push/PR so weekly/manual runs only execute dependency-resolution-latest - Reuse uv pip install --system + focused pytest + issue on scheduled failure (same as removed deps-latest workflow)
This reverts commit 8bbea22.
Revert folding the canary into ci.yml; keep scheduled/latest-resolve check isolated
Collaborator
Author
|
@greptileai review |
- Add dependency-resolution-latest job (unpinned uv pip + guardrail tests + issue on schedule failure) - Align test-synthetic with uv sync --frozen and uv run (remove pip) - Drop deps-latest.yml; single Monday 9 UTC trigger for both jobs
Filename matches scheduled synthetic suite + latest-deps canary jobs
Clearer filename for weekly synthetic suite + latest-deps canary jobs
|
|
||
| # uv | ||
| uv.lock | ||
| # uv (uv.lock is committed) |
| schedule: | ||
| interval: "daily" | ||
| interval: "weekly" | ||
| open-pull-requests-limit: 10 |
Contributor
|
🧠 @muddlebee opened a PR. Maintainers feared them. CI genuflected. It merged. 🚨 👋 Join us on Discord - OpenSRE : hang out, contribute, or hunt for features and issues. Everyone's welcome. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Reproducible dependency installs: commit
uv.lock, install withuv sync --frozenin CI, weekly Dependabot on theuvecosystem, and adeps-latestcanary using latest PyPI resolves.Why this is good long term
Today, installs that only read
pyproject.tomlresolve whatever newest versions satisfy>=constraints on the day CI runs. That is convenient but brittle: a green main on Tuesday can turn red on Wednesday without any code change, because a transitive upgrade (for example an SDK tightening validation at import or client construction) landed on PyPI overnight. Teams then burn time bisecting “what changed?” when the answer is resolver noise, not a regression in your diff.Committing a lockfile and installing with
uv sync --frozenmakes dependency state explicit and reviewable. Upgrades become intentional PRs (human or Dependabot) where you see the diff, run CI once, and decide whether to take the change. That shifts the project from “floating on the ecosystem” to “pinned by default, upgraded on purpose,” which is the usual standard for applications and CLIs shipped as a single product.The
deps-latestworkflow keeps a separate signal: a scheduled / manual job that re-resolves frompyproject.tomlso you still learn about upstream breakage before it forces an emergency fire drill—without every pull request inheriting unbounded drift.Together, this setup improves predictability for contributors, stability for releases, and auditability when you need to answer what shipped in a given build.
Changes
uv.lock; remove it from.gitignore.uv sync --frozen --extra dev, run tools viauv run python -m ….install:uv sync --frozen --extra dev+uv runfor analytics.uv(weekly) for repo root..github/workflows/deps-latest.yml: canary install withuv pip install --python "$(which python)" -e ".[dev]"then focused pytest.