Skip to content

fix(manager): skip local cargo deps and mise http/s3 tools - #84

Merged
sweepies merged 3 commits into
mainfrom
fix/local-and-unlisted-skips
Oct 30, 2026
Merged

sweepies merged 3 commits into
mainfrom
fix/local-and-unlisted-skips

Conversation

@sweepies

@sweepies sweepies commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Two false lookup failures found by dry-running the Count on his own repository.

  • SWE-235: a Cargo path or git dependency that also names a version was looked up on crates.io and 404'd. It is now skipped with a reason ("a path dependency" / "a git dependency"), including when inherited through workspace = true. Path or git dependencies without a version stay silent. Alternate-registry dependencies are skipped with the registry named instead of being dropped silently. Cargo.lock handling is unchanged: it already only resolves packages with a crates.io source.
  • SWE-236: http: and s3: mise tools list versions only from version_list_url (or version_prefix for s3), which the Count does not pass to mise ls-remote, so they always came back empty and counted as not-found. They are now skipped with that reason and never looked up. No tool options are passed through. Other backends that list nothing are still lookup failures.

Dry run on this repository: 19 lookup failures (18 patchula-* crates plus http:deepsource) before, 0 after, with the same 19 now listed under Skipped. The 38 updates, 21 vulnerabilities and branch list are unchanged.

The corpus snapshot moves uv's 87 workspace path crates from dependencies to skipped.

Refs SWE-235
Refs SWE-236

View guided diff Turn on auto-fix

A dependency with both a `path` or `git` and a `version` fell through
the local-source guard and was looked up on crates.io, where it 404s.
It now goes to the skipped list with the reason; path and git
dependencies without a version stay silent. Alternate-registry
dependencies are skipped with the registry's name instead of vanishing.

Refs SWE-235
The Count runs `mise ls-remote` without tool options, so an `http:` or
`s3:` tool, which lists versions only from version_list_url or
version_prefix, always came back empty and was reported as a lookup
failure. These tools now go to the skipped list with that reason and are
never looked up. Other backends that list nothing are still failures.

Refs SWE-236
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
count-patchula b203df1 Commit Preview URL

Branch Preview URL
Oct 30 2026, 10:47 PM

@deepsource-io

deepsource-io Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in ac2e952...68c45cf on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Rust Oct 30, 2026 10:53p.m. Review ↗
JavaScript Oct 30, 2026 10:53p.m. Review ↗
Shell Oct 30, 2026 10:53p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 6 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread crates/manager/src/cargo.rs Resolved
@context7

context7 Bot commented Oct 30, 2026

Copy link
Copy Markdown

Docs7 for sweepies/count-patchula

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit 68c45cf

@sweepies
sweepies merged commit d8adcfe into main Oct 30, 2026
16 checks passed
@sweepies
sweepies deleted the fix/local-and-unlisted-skips branch October 30, 2026 23:09
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