Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sunerpy/codegraph-rust
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.53.0
Choose a base ref
...
head repository: sunerpy/codegraph-rust
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.53.1
Choose a head ref
  • 3 commits
  • 21 files changed
  • 3 contributors

Commits on Oct 3, 2026

  1. docs(upstream): record the v0.53.0 release (#306)

    The release record for #298, #300 and #303: the release PR merge and its tag
    SHA, the workflow run, the published digest, and the black-box acceptance
    against v0.52.2. Current alignment now lists v0.53.0 and marks the viewer as
    shipped.
    
    Co-authored-by: CodeGraph Test <[email protected]>
    sunerpy and CodeGraph Test authored Oct 3, 2026
    Configuration menu
    Copy the full SHA
    6cc9507 View commit details
    Browse the repository at this point in the history
  2. fix(resolve): keep Rust method calls that lost their receiver off fun…

    …ctions and std names (#307)
    
    * fix(resolve): keep Rust method calls that lost their receiver off functions and std names
    
    The extractor keeps a Rust receiver only for an identifier, `self`, one
    `self.<field>` hop and a `path::call()` receiver. Any other receiver (a plain
    call, a deeper field chain, `vec![…]`, `?`, `.await`, a chain broken across
    lines) leaves the bare method name, so `root().join(name)` resolved like a bare
    call and bound the project's only `join` method at 0.9. In this repository,
    964 calls from 169 files landed on `LineIndex::join`.
    
    Resolution now reads such a call's shape from its source line, where the ref's
    column is the call expression's start. These KEEP-RUST rules are stricter than
    upstream:
    
    - R1: a call with neither receiver nor path never binds a method;
    - R2: a call whose receiver was dropped binds only a method, never through a
      `use` binding and never by a fuzzy guess;
    - R3: such a call binds nothing when its name is one of 307 std methods;
    - R4: a bare `Ok`/`Err`/`Some`/`None` binds a project variant only when a `use`
      naming it, or a glob, is in its own block and module.
    
    `rust_code_mask` moves from the Tauri resolver into a shared `rust_lexical`
    module, which also records where each `use` item is visible.
    
    Extraction version 21. On this repository the four rules remove 3,284 edges
    (R3 2,743, R1 296, R4 193, R2 52). Every sampled one is false, and no golden
    moves.
    
    * fix(resolve): count only the names a use tree introduces as R4 evidence
    
    `RustUseScopes` recorded every identifier of a `use` item, so
    `use crate::outcome::Outcome::Err as Failure;` counted as importing `Err`, and a
    later bare `Err(..)`, which is the prelude's, kept its false binding to the
    project variant. A use tree now contributes:
    
    - each leaf's alias (`as _` contributes nothing);
    - otherwise the leaf's last path segment;
    - for a `self` leaf, the segment before its group.
    
    The tier-2 fixture gains the aliased case, and a unit test covers aliases,
    braced groups, `self` leaves and `as _`.
    
    ---------
    
    Co-authored-by: CodeGraph Test <[email protected]>
    sunerpy and CodeGraph Test authored Oct 3, 2026
    Configuration menu
    Copy the full SHA
    f9f96c3 View commit details
    Browse the repository at this point in the history
  3. chore: release 0.53.1 (#308)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Oct 3, 2026
    Configuration menu
    Copy the full SHA
    4a6c21b View commit details
    Browse the repository at this point in the history
Loading