deps: bump the minor-and-patch group with 3 updates#2
Merged
Conversation
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>
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.
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.
Bumps the minor-and-patch group with 3 updates: clap, tokio and rayon.
Updates
clapfrom 4.6.0 to 4.6.1Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
1420275chore: Released2c817ddocs: Update changelogf88c94eMerge pull request #6341 from epage/sepacbb822fix(complete): Reduce risk of conflict with actual subcommandsa49fadbrefactor(complete): Pull out subcommand separatorddc008bMerge pull request #6332 from epage/update497dc50chore: Update compatible dependenciesdca2326Merge pull request #6331 from clap-rs/renovate/j178-prek-action-2.x54bdaa3chore(deps): Update j178/prek-action action to v2f0d30d9chore: ReleaseUpdates
tokiofrom 1.51.1 to 1.52.0Release notes
Sourced from tokio's releases.
Commits
5f7be0achore: perpare 1.52.0 (#8045)36d12d2taskdump: allow impl FnMut() in taskdumps instead of just fn() (#8040)f943312fs: support io-uring inAsyncReadforFile(#7907)5db10f5net: add 'try_io' function to 'unix::pipe' sender and receiver types (#8030)bbdba71taskdump: addtrace_withfor customized task dumps (#8025)7cfce54ci: update FreeBSD image to 14.4 (#8038)81370e6net: add docs onConnectionRefusederrors with udp sockets (#7870)203af02runtime: overflow second half of tasks when local queue is filled instead of ...de23092net: temporarily disabletcp_streamtry_read_buftest on WASI (#8036)432ec3fsync: hide#[tokio::main]attribute in the docs ofsync::watch(#8035)Updates
rayonfrom 1.11.0 to 1.12.0Changelog
Sourced from rayon's changelog.
Commits
7449d7dMerge #1093b3d9e3fRelease rayon 1.8.0 and rayon-core 1.12.03fe51e5Fix clippy::let_and_return082f215Merge #1087ea0c06dcore: registry: Factor out "wait till out of work" part of the main loop.75524e2Merge #106301d2800Ignore the multi-threaded test on emscripten/wasm40b59c0core: Make use_current_thread error rather than panic when already in the pool.f4db4d7core: tests: Add some basic tests for ThreadPoolBuilder::use_current_thread.87274adcore: registry: Add some more documentation for ThreadPoolBuilder::use_curren...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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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