Skip to content

Update stale comments and downgrade a warn!#18101

Merged
konstin merged 1 commit intomainfrom
konsti/stale-claude
Feb 20, 2026
Merged

Update stale comments and downgrade a warn!#18101
konstin merged 1 commit intomainfrom
konsti/stale-claude

Conversation

@konstin
Copy link
Member

@konstin konstin commented Feb 19, 2026

This came out of an experience on whether claude code can find missing updates in from changes in PRs:

#18096 — Propagate project-level conflicts to package extras (zanieb)
Stale docstring on filter_by_group: In crates/uv-resolver/src/resolver/environment.rs, the docstring still says "Include rules have no effect in included_by_group". After this PR, include rules DO affect included_by_group when a project-level exclusion exists for a package — an explicit inclusion for a specific extra overrides the exclusion.

#18081 — Filter pylock.toml wheels by tags and requires-python (konstin)
Inverted docstring on is_wheel_unreachable: At crates/uv-resolver/src/lock/mod.rs:6088, the docstring says "Returns false if the wheel is definitely unreachable" but the function actually returns true when unreachable. The true/false are swapped.

#18075 — make missing files warning debug (dead10ck)
Analogous warn! not changed in flat_index.rs: crates/uv-client/src/flat_index.rs:215 has a similar warn!("Skipping file in {}: {err}", &url) that exhibits the same noisy pattern. Arguable whether flat indexes warrant the same change since they're user-configured and less likely to trigger mass warnings.

This came out of an experience on whether claude code can find missing updates in from changes in PRs.

#### #18096 — Propagate project-level conflicts to package extras (zanieb)
**Stale docstring on `filter_by_group`**: In `crates/uv-resolver/src/resolver/environment.rs`, the docstring still says "Include rules have no effect in `included_by_group`". After this PR, include rules DO affect `included_by_group` when a project-level exclusion exists for a package — an explicit inclusion for a specific extra overrides the exclusion.

#### #18081 — Filter `pylock.toml` wheels by tags and `requires-python` (konstin)
**Inverted docstring on `is_wheel_unreachable`**: At `crates/uv-resolver/src/lock/mod.rs:6088`, the docstring says "Returns `false` if the wheel is definitely unreachable" but the function actually returns `true` when unreachable. The `true`/`false` are swapped.

#### #18075 — make missing files warning debug (dead10ck)
**analogous `warn!` not changed in flat_index.rs**: `crates/uv-client/src/flat_index.rs:215` has a similar `warn!("Skipping file in {}: {err}", &url)` that exhibits the same noisy pattern. Arguable whether flat indexes warrant the same change since they're user-configured and less likely to trigger mass warnings.
@konstin konstin requested a review from zanieb February 19, 2026 15:40
@konstin konstin added the internal A refactor or improvement that is not user-facing label Feb 19, 2026
@konstin konstin merged commit 3223b1c into main Feb 20, 2026
53 checks passed
@konstin konstin deleted the konsti/stale-claude branch February 20, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants