Skip to content

deps: bump the minor-and-patch group with 3 updates#2

Merged
iliaal merged 1 commit into
masterfrom
dependabot/cargo/minor-and-patch-1e226c749f
Apr 15, 2026
Merged

deps: bump the minor-and-patch group with 3 updates#2
iliaal merged 1 commit into
masterfrom
dependabot/cargo/minor-and-patch-1e226c749f

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 15, 2026

Copy link
Copy Markdown
Contributor

Bumps the minor-and-patch group with 3 updates: clap, tokio and rayon.

Updates clap from 4.6.0 to 4.6.1

Release notes

Sourced from clap's releases.

v4.6.1

[4.6.1] - 2026-04-15

Fixes

  • (derive) Ensure rebuilds happen when an read env variable is changed
Changelog

Sourced from clap's changelog.

[4.6.1] - 2026-04-15

Fixes

  • (derive) Ensure rebuilds happen when an read env variable is changed
Commits
  • 1420275 chore: Release
  • d2c817d docs: Update changelog
  • f88c94e Merge pull request #6341 from epage/sep
  • acbb822 fix(complete): Reduce risk of conflict with actual subcommands
  • a49fadb refactor(complete): Pull out subcommand separator
  • ddc008b Merge pull request #6332 from epage/update
  • 497dc50 chore: Update compatible dependencies
  • dca2326 Merge pull request #6331 from clap-rs/renovate/j178-prek-action-2.x
  • 54bdaa3 chore(deps): Update j178/prek-action action to v2
  • f0d30d9 chore: Release
  • Additional commits viewable in compare view

Updates tokio from 1.51.1 to 1.52.0

Release notes

Sourced from tokio's releases.

Tokio v1.52.0

1.52.0 (April 14th, 2026)

Added

  • io: AioSource::register_borrowed for I/O safety support (#7992)
  • net: add try_io function to unix::pipe sender and receiver types (#8030)

Added (unstable)

  • runtime: Builder::enable_eager_driver_handoff setting enable eager hand off of the I/O and time drivers before polling tasks (#8010)
  • taskdump: add trace_with() for customized task dumps (#8025)
  • taskdump: allow impl FnMut() in trace_with instead of just fn() (#8040)
  • fs: support io_uring in AsyncRead for File (#7907)

Changed

  • runtime: improve spawn_blocking scalability with sharded queue (#7757)
  • runtime: use compare_exchange_weak() in worker queue (#8028)

Fixed

  • runtime: overflow second half of tasks when local queue is filled instead of first half (#8029)

Documented

  • docs: fix typo in oneshot::Sender::send docs (#8026)
  • docs: hide #[tokio::main] attribute in the docs of sync::watch (#8035)
  • net: add docs on ConnectionRefused errors with UDP sockets (#7870)

#7757: tokio-rs/tokio#7757 #7870: tokio-rs/tokio#7870 #7907: tokio-rs/tokio#7907 #7992: tokio-rs/tokio#7992 #8010: tokio-rs/tokio#8010 #8025: tokio-rs/tokio#8025 #8026: tokio-rs/tokio#8026 #8028: tokio-rs/tokio#8028 #8029: tokio-rs/tokio#8029 #8030: tokio-rs/tokio#8030 #8035: tokio-rs/tokio#8035 #8040: tokio-rs/tokio#8040

Commits
  • 5f7be0a chore: perpare 1.52.0 (#8045)
  • 36d12d2 taskdump: allow impl FnMut() in taskdumps instead of just fn() (#8040)
  • f943312 fs: support io-uring in AsyncRead for File (#7907)
  • 5db10f5 net: add 'try_io' function to 'unix::pipe' sender and receiver types (#8030)
  • bbdba71 taskdump: add trace_with for customized task dumps (#8025)
  • 7cfce54 ci: update FreeBSD image to 14.4 (#8038)
  • 81370e6 net: add docs on ConnectionRefused errors with udp sockets (#7870)
  • 203af02 runtime: overflow second half of tasks when local queue is filled instead of ...
  • de23092 net: temporarily disable tcp_stream try_read_buf test on WASI (#8036)
  • 432ec3f sync: hide #[tokio::main] attribute in the docs of sync::watch (#8035)
  • Additional commits viewable in compare view

Updates rayon from 1.11.0 to 1.12.0

Changelog

Sourced from rayon's changelog.

Release rayon 1.12.0 (2026-04-13)

  • Fixed a bug in parallel Range<char> when the end is 0xE000, just past the surrogate boundary, which was unsafely producing invalid char values.
  • The new method ParallelSlice::par_array_windows works like par_windows but with a constant length, producing &[T; N] items.
Commits
  • 7449d7d Merge #1093
  • b3d9e3f Release rayon 1.8.0 and rayon-core 1.12.0
  • 3fe51e5 Fix clippy::let_and_return
  • 082f215 Merge #1087
  • ea0c06d core: registry: Factor out "wait till out of work" part of the main loop.
  • 75524e2 Merge #1063
  • 01d2800 Ignore the multi-threaded test on emscripten/wasm
  • 40b59c0 core: Make use_current_thread error rather than panic when already in the pool.
  • f4db4d7 core: tests: Add some basic tests for ThreadPoolBuilder::use_current_thread.
  • 87274ad core: registry: Add some more documentation for ThreadPoolBuilder::use_curren...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the minor-and-patch group with 3 updates: [clap](https://github.com/clap-rs/clap), [tokio](https://github.com/tokio-rs/tokio) and [rayon](https://github.com/rayon-rs/rayon).


Updates `clap` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.6.0...clap_complete-v4.6.1)

Updates `tokio` from 1.51.1 to 1.52.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.51.1...tokio-1.52.0)

Updates `rayon` from 1.11.0 to 1.12.0
- [Changelog](https://github.com/rayon-rs/rayon/blob/main/RELEASES.md)
- [Commits](rayon-rs/rayon@rayon-core-v1.11.0...rayon-core-v1.12.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: tokio
  dependency-version: 1.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: rayon
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 15, 2026
@iliaal
iliaal merged commit 8e71f71 into master Apr 15, 2026
6 of 7 checks passed
@iliaal
iliaal deleted the dependabot/cargo/minor-and-patch-1e226c749f branch April 15, 2026 19:57
iliaal added a commit that referenced this pull request Apr 24, 2026
…n note

Retrospective session analysis (bench/analyze-codesage-quality.py on the
last 7 days) found that 59% of find_coupling MCP calls returned an empty
array. Empty responses have three distinct causes, and the bare
Vec<CoChangeEntry> shape gave the agent no way to tell them apart:

1. File has no row in git_files — not tracked, no commits yet, or the
   caller passed a path the index doesn't recognize.
2. File has commits but no co-change pair above the min-count=3
   threshold — "this file historically changes in isolation."
3. Same as #2 but file has fewer than 3 commits total, so the threshold
   mechanics explain the emptiness more directly.

Replaces the return type with:

  pub struct CouplingReport {
      pub coupled: Vec<CoChangeEntry>,
      pub file_indexed: bool,
      pub file_commits: u32,
      pub note: Option<String>,  // only populated when coupled is empty
  }

`note` is populated only when coupled is empty and quotes the specific
cause. `file_indexed` and `file_commits` are always present so a thin
result (fewer than `limit` entries) is still interpretable. MCP tool
description updated to tell the agent to index into `.coupled`, not
treat the response as an array. CLI `codesage coupling` prints the
explanatory hint when there are no results.

Breaking change for callers that treated the response as a bare array:
the CLI's `--json` output, MCP clients, and any external script. Since
the tool is not widely embedded outside this repo and v0.5 hasn't
shipped yet, the clean break is preferred over a dual-shape bridge.

4 new tests cover the three empty-reason cases plus the populated-with-
state case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant