Repository navigation
Comparing changes
Open a pull request
base repository: sunerpy/codegraph-rust
base: v0.56.0
head repository: sunerpy/codegraph-rust
compare: v0.56.1
- 12 commits
- 38 files changed
- 3 contributors
Commits on Nov 27, 2026
-
docs(upstream): record the v0.56.0 release (#346)
## Summary Records the v0.56.0 release in the upstream-sync ledger, as plan section 5.7 of the v0.56 follow-up program asks, and fixes one stale code comment the program's final review noted. - `docs/upstream-sync/UPSTREAM.md`: a `v0.56.0` RELEASED entry at the top of the Sync log, in the format of the `v0.55.2` entry. It covers: - release PR #344, merged as `73c8dd3` with its head's tree; tag `v0.56.0` at that commit; - #338, merged as `69afdf5` with its reviewed head's tree; - release run 45864204121, which passed all twelve jobs on its second attempt. The first attempt timed out in `Verify CI Passed` while the release commit's main CI was still running its Windows tests; - the publication time, the linux musl digest, and the 31 black-box checks of the downloaded release, all passing. - The `UPSTREAM.md` Current alignment block, the only mutable part, now says #338 shipped in `v0.56.0`. - Both dated audits, `V1_6_2_AUDIT_2026-10-10.md` and `POST_V1_6_2_MAIN_2026-10-22.md`, gain a "Release closeout (2026-11-26)" section that marks their "merged, release pending" rows as shipped. No older line changes. - `crates/codegraph-resolve/src/synthesis/mod.rs`: the module docs said a sync that changes the index recomputes the synthesis stage whole. Since v0.56.0's per-pass reuse, a sync reruns only the passes whose recorded inputs changed. The change is a doc comment only. ## Verification - `python3 scripts/docs-check.py`: OK on 68 markdown files. - `make fmt-oxfmt-check` (oxfmt 0.64.0), `rustfmt --edition 2024 --check` on the edited file, `bash scripts/guardrail.sh` and `git diff --check` all pass. - The pre-push hook's `make pre-ci` passed ("All checks passed.").
Configuration menu - View commit details
-
Copy full SHA for 8166929 - Browse repository at this point
Copy the full SHA 8166929View commit details -
docs(upstream): record the deferred Nix option-path lookup (OD-B47) (#…
…347) Add a KNOWN_DIFFS.md section for OD-B47: colby's findAllSymbols reads a dotted lower-case token as a Nix option path for its callers, callees and impact tools and explore's exact targets; the port reads that convention only for codegraph_explore's named symbols. The behavior was checked on the v0.56.0 binary with the first fixture of upstream 7f325134.
Configuration menu - View commit details
-
Copy full SHA for c00aa17 - Browse repository at this point
Copy the full SHA c00aa17View commit details -
fix(deps): take rustix 1.1.6 for RUSTSEC-2026-0486 and replace the ya…
…nked chacha20 0.10.1 (#348) Clear the two Security Audit warnings that have compatible fixes: rustix 1.1.5 -> 1.1.6 (RUSTSEC-2026-0486, unsound xattr functions with a zero-length buffer) and the yanked chacha20 0.10.1 -> 0.10.2. Only these two Cargo.lock entries change; cargo update also re-picked windows-sys for unrelated crates, so the lockfile was edited to the two entries and checked with cargo metadata --locked. Security Audit now reports only chrono (RUSTSEC-2026-0543, no compatible fix).
Configuration menu - View commit details
-
Copy full SHA for cdcee53 - Browse repository at this point
Copy the full SHA cdcee53View commit details -
ci(release): wait for CI Success as long as CI's slowest required cha…
…in (#350) Verify CI Passed now waits for the release commit's CI Success for up to CI_WAIT_MINUTES (90): finding the push run and waiting for CI Success share one budget of CI_WAIT_MINUTES * 4 polls instead of two fixed 120-poll loops. verify-ci's job limit goes from 35 to 110 minutes and the release verify job's from 30 to 45 (ci.yml's Linux job, which runs the same make check). scripts/check-ci-gate.sh gains a release-wait rule: CI_WAIT_MINUTES must cover CI's slowest required chain (workspace-version 10 + windows-test 60 + ci-success 5 = 75 today), verify-ci must allow CI_WAIT_MINUTES + 15, and the verify job must match the make check job. v0.56.0's first Release attempt failed this gate while its CI took 42.5 minutes.
Configuration menu - View commit details
-
Copy full SHA for 9b89c2f - Browse repository at this point
Copy the full SHA 9b89c2fView commit details -
fix(resolve): keep the Cargo manifests resolution reads inside the pr…
…oject root (#349) rust_manifest_inputs, which names the Cargo.toml files load_rust_crates reads and the watcher's Rust control row digests, now normalizes each .rs path with pathutil::lexical_relative like go_module_inputs, so a drive-absolute, drive-relative, rooted, UNC or above-the-root path is never probed (X08, OD-B15, hard invariant 5); load_rust_crates also joins through pathutil::lexical_path_within_root. The extraction version stays: indexed paths are scan-produced project-relative paths, Windows file names cannot hold ':', and on Unix only a directory literally named '<letter>:...' stops having its Cargo.toml read, an intentional over-rejection that matches Go. All 32 golden corpora identical.
Configuration menu - View commit details
-
Copy full SHA for 1c579c0 - Browse repository at this point
Copy the full SHA 1c579c0View commit details -
fix(mcp): ask the user before initializing a project that has no index (
#351) When a tool finds no indexed project, the MCP error text and the server instructions now tell the agent to tell the user the project has no CodeGraph index yet, offer to run codegraph init . in the project directory, and not run it without the user's consent (#269, commitment 1). The rest of each message (projectPath, --path, sub-project candidates, scan truncation) is unchanged. reference/golden/mcp/initialize.json, docs/mcp.md, skills/codegraph/SKILL.md and the v0.56.1 regeneration log in docs/equivalence.md change with it; the 32 extraction golden corpora stay identical.
Configuration menu - View commit details
-
Copy full SHA for 47f3e82 - Browse repository at this point
Copy the full SHA 47f3e82View commit details -
fix(daemon): shut sessions down through live streams and drop the dep…
…recated split halves (#354) Fix the control_shutdown flake (BrokenPipe on the control frame, or EOF on the reply): the session registry recorded each session's raw socket fd and the drain and the dead-client sweep called shutdown(SHUT_RDWR) on that number, sometimes after it named another connection's socket. The registry now keeps a Weak handle to the session's stream and shuts the socket down through the upgraded live handle, so a reused number is never touched. interprocess's deprecated Stream::split/RecvHalf/SendHalf are replaced by one Arc-shared stream per connection, both unsafe borrow_raw calls are gone, and the locked interprocess moves from 2.4.6 to 2.4.10. Natural failure rate before the fix about 1.5e-4 (4 in 25,838 runs); after it 0 in 19,379. No public API, wire protocol or graph change. macOS: the red tests reproduce there and the daemon crate's failing set is identical at the base and this head.
Configuration menu - View commit details
-
Copy full SHA for 9ff6295 - Browse repository at this point
Copy the full SHA 9ff6295View commit details -
ci(deps): keep grammar crates in their own Dependabot group (#355)
Split Dependabot's single cargo group: a tree-sitter group takes tree-sitter* and comes first, and the general cargo group excludes tree-sitter*, so a grammar crate, which needs an extraction-version decision, never rides along with ordinary bumps (#345's tree-sitter-dart 0.3.0 changed extraction). tree-sitter-swift and tree-sitter-scala, pinned exactly, are ignored and move by hand.
Configuration menu - View commit details
-
Copy full SHA for de8e4da - Browse repository at this point
Copy the full SHA de8e4daView commit details -
build(deps): bump the github-actions group across 1 directory with 3 …
…updates (#342) Swatinem/rust-cache v2.9.2 -> v2.9.3, taiki-e/install-action v2.87.29 -> v2.90.8, pnpm/action-setup v6.1.0 -> v6.1.1, each pinned by the SHA its tag names (checked against the tags).
Configuration menu - View commit details
-
Copy full SHA for 521ab58 - Browse repository at this point
Copy the full SHA 521ab58View commit details -
build(deps): bump the compatible non-grammar dependencies (#357)
anyhow 1.0.105, clap/clap_derive 4.6.9, clap_complete 4.6.12, self_update 1.3.3, regex 1.13.2 (regex-automata 0.4.19, regex-syntax 0.8.12), rstest 0.29, tokio 1.54.1, rusqlite 0.43 with libsqlite3-sys 0.40 (bundled SQLite stays 3.54.1), and miniz_oxide 0.9.1 for codegraph-resolve. No grammar, scanner or watcher crate moves; windows-sys edges that cargo update re-picked for unrelated crates were put back. All 32 goldens identical; two independent regex checks replayed the extraction and resolution patterns under 1.13.1 and 1.13.2 with identical results; A2's harness on tokio 1.54.1 showed no failure.
Configuration menu - View commit details
-
Copy full SHA for 4489c30 - Browse repository at this point
Copy the full SHA 4489c30View commit details -
fix(resolve): a paths wildcard whose prefix and suffix overlap an imp…
…ort no longer panics (#358) A tsconfig/jsconfig `paths` key with text on both sides of its `*`, like `@x/*/index`, splits into the prefix `@x/` and the suffix `/index`. apply_aliases checked starts_with and ends_with separately, then sliced import_path[prefix.len()..len - suffix.len()]. An import of `@x/index` starts with the one and ends with the other only by counting its one `/` twice, so the slice ended before it began and panicked ("byte range starts at 3 but ends at 2"). `codegraph init` exited 101 and left the index in phase=building, unreadable. In an indexed project, the sync that picked up such an import panicked the same way, and so did every sync after it. A wildcard pattern now matches only an import at least as long as its prefix and suffix together, TypeScript's own isPatternMatch rule. A shorter import skips the pattern, and a less specific pattern may still match it. An empty capture at exactly the prefix plus the suffix (`@x//index`) still matches, as tsc allows. This ports upstream 77ee3484 (#2969); upstream's string slice did not throw there, and instead linked the import to the file the empty capture named. No extraction version move: a repository with this shape cannot finish an index today, and every other graph is unchanged. All 32 golden corpora check identical. Evidence: the upstream audit reproduced the panic on the official v0.56.0 binary, for both init and sync. The new applyAliases unit tests mirror upstream's cases: the overlap, the fall-through to a less specific pattern (in tsc's declaration order, and through the loader with a shorter prefix), and the exact-length capture. The first three panic on the unchanged code; the exact-length case passes on both. The new sync convergence cases typescript_tsconfig_overlapping_wildcard_import_appears and _disappears fail on the unchanged code (sync and init exit 101); with the fix, each sync equals a fresh index.
Configuration menu - View commit details
-
Copy full SHA for 17af313 - Browse repository at this point
Copy the full SHA 17af313View commit details -
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2f76986 - Browse repository at this point
Copy the full SHA 2f76986View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.56.0...v0.56.1