potiuk opened a new pull request, #73305: URL: https://github.com/apache/airflow/pull/73305
`breeze ... --force-lowest-dependencies` runs `uv sync --resolution lowest-direct` inside the container, against the mounted worktree. `uv sync` rewrites `uv.lock` in place, and because `local.yml` bind-mounted it, that re-resolved lowest-direct graph was written straight back over the contributor's lock — a ~6400-line rewrite, with no warning, and plausible enough to be mistaken for their own change. The `uv.lock` bind moves out of `VOLUMES_FOR_SELECTED_MOUNTS` / `local.yml` into its own `mount-uv-lock.yml`, which `ShellParams` appends only when `force_lowest_dependencies` is false. Without the mount the container falls back to the `uv.lock` baked into the CI image and writes there instead. `--mount-sources all` still writes through: the whole worktree is bound, so `uv.lock` cannot be left out of the mount. That combination now prints a warning rather than silently rewriting the lock. ### Verification `breeze testing core-tests --test-type Always --force-lowest-dependencies --backend sqlite`: - the container resolved a real lowest-direct graph — `Resolved 1010 packages in 57.27s` - `788 passed, 1233 skipped, 1 xfailed` - the host `uv.lock` hash was identical before and after, and `git status` stayed clean --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
