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.55.1
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.55.2
Choose a head ref
  • 5 commits
  • 22 files changed
  • 3 contributors

Commits on Oct 22, 2026

  1. docs(upstream): record the v0.55.1 release (#332)

    Release-please PR #331 merged as 44fd8af and tag v0.55.1 was cut there. Release run 39754559422 passed all twelve jobs, and the downloaded release passed the black-box acceptance: an index built by v0.54.0 or v0.53.0 is upgraded by a cold session's daemon, and by a replacement daemon, with no manual sync. A second entry records #330's fix and the pre-existing sync behavior it leaves alone.
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    4a7e158 View commit details
    Browse the repository at this point in the history
  2. build(deps): bump the github-actions group across 1 directory with 5 …

    …updates (#324)
    
    Bumps the github-actions group with 5 updates in the / directory:
    
    | Package | From | To |
    | --- | --- | --- |
    | [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) | `02cb101ec7c40f2c49e1d9714d64511d8e1b74de` | `683b588c487a69d01f6c6ddf40f036ff682cc2c8` |
    | [actions/setup-node](https://github.com/actions/setup-node) | `7.0.0` | `7.1.0` |
    | [taiki-e/install-action](https://github.com/taiki-e/install-action) | `2.87.21` | `2.87.29` |
    | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` |
    | [actions/download-artifact](https://github.com/actions/download-artifact) | `8.0.1` | `8.0.2` |
    
    
    
    Updates `dtolnay/rust-toolchain` from 02cb101ec7c40f2c49e1d9714d64511d8e1b74de to 683b588c487a69d01f6c6ddf40f036ff682cc2c8
    - [Release notes](https://github.com/dtolnay/rust-toolchain/releases)
    - [Commits](dtolnay/rust-toolchain@02cb101...683b588)
    
    Updates `actions/setup-node` from 7.0.0 to 7.1.0
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@8207627...949feb2)
    
    Updates `taiki-e/install-action` from 2.87.21 to 2.87.29
    - [Release notes](https://github.com/taiki-e/install-action/releases)
    - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
    - [Commits](taiki-e/install-action@4cef141...8cca091)
    
    Updates `actions/upload-artifact` from 7.0.1 to 7.0.2
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@043fb46...cf430e0)
    
    Updates `actions/download-artifact` from 8.0.1 to 8.0.2
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](actions/download-artifact@3e5f45b...9000827)
    
    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-version: 8.0.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    - dependency-name: actions/setup-node
      dependency-version: 7.1.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: actions/upload-artifact
      dependency-version: 7.0.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    - dependency-name: dtolnay/rust-toolchain
      dependency-version: e2a55d2ffb04f378e9626c28d38b36d230d1e12f
      dependency-type: direct:production
      dependency-group: github-actions
    - dependency-name: taiki-e/install-action
      dependency-version: 2.87.27
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    cd2ed83 View commit details
    Browse the repository at this point in the history
  3. build(deps): bump the non-grammar cargo dependencies (#333)

    The non-grammar half of dependabot #328, at the same versions: serde_json
    1.0.154, thiserror 2.0.21, sha2 0.11.1, interprocess 2.4.6, rustix 1.1.5,
    rstest 0.28.0, unicode-normalization 0.1.26, rmcp 3.5.1, tokio 1.53.3,
    tokio-util 0.7.20, reqwest 0.13.5, tokio-stream 0.1.19, futures-util
    0.3.34, http-body-util 0.1.5 and libc 0.2.191, with the packages they move.
    
    The grammar half (tree-sitter 0.27.1 and the cfml, erlang, php, scala and
    swift grammars) changes extraction: tree-sitter-swift 0.7.4 alone fails
    the swift golden. It lands with the next extraction-version bump, where
    the goldens are regenerated.
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    33aa871 View commit details
    Browse the repository at this point in the history
  4. fix(store): keep uninit residue and its tombstone for an explicit init (

    #335)
    
    * fix(store): an older version's uninit stays uninitialized
    
    `uninit --force` leaves an `uninitialized` state slot, its tombstone and no
    database. The state gate compared extraction versions before phases, so the
    residue an older version left read as `outdated`: `status` said so, and
    `sync` (like the catch-up a CODEGRAPH_NO_DAEMON=1 session runs) rebuilt the
    index under the tombstone. Every later read, `status` included, then failed
    with "Current index state is blocked by the uninitialized tombstone" until an
    explicit `init`. Reproduced with the released v0.54.0 and v0.55.1 binaries.
    
    An older `uninitialized` phase now classifies as `Uninitialized`, as this
    version's own residue does, so `sync`, `index --force` and the daemon refuse
    it and only `init` rebuilds it. The `building` and `current` phases an older
    version wrote stay `Outdated`.
    
    Two tests pinned the old classification: the store's older-version mapping
    and the cold daemon test for an older uninit. Both now expect
    `uninitialized`; the daemon test also checks that the daemon refuses it as
    uninitialized and never attempts an upgrade.
    
    * fix(store): uninit removes an index an older version built
    
    `uninit --force` refused an `outdated` index ("uninit is not authorized for
    index state outdated"), so removing an index an older version built took a
    full `sync` rebuild first. Uninit reads no row of the index it removes, so it
    now accepts an outdated namespace: the uninit gate and its write purpose
    admit `Outdated`, and the state publisher allows `Outdated -> Uninitialized`.
    The uninitialized slot is published at this extraction version, after which
    the tombstone and the database go as for any other index.
    
    The store gate matrix and the publisher's invalid-transition list pinned the
    refusal; both now expect the transition, and a publisher test checks the
    slot it writes.
    
    * fix(store): only an explicit init rebuilds under the uninit tombstone
    
    Only an explicit `init` removes the tombstone `uninit --force` writes, but a
    reindex or the migration a `sync` escalates to rebuilt a namespace that still
    held it. An `init` that follows an uninit and is interrupted after publishing
    `building` showed the trap: the read error recommended `index --force`, which
    rebuilt the whole index (871 files, 14 s on the released v0.55.1) and left
    Current beside the tombstone, so `status` and every read failed with "Current
    index state is blocked by the uninitialized tombstone" until another `init`.
    An index an older version built that still carries a tombstone hit the same
    path through `sync`.
    
    Both rebuild entry points now refuse a tombstoned namespace under their
    exclusive lease, before `phase=building` is published, with
    `TombstoneRequiresExplicitInit`; a tombstone path that cannot be inspected
    fails closed. While the tombstone exists, `status` (human and
    `recoveryCommand`), the read errors for a `building` or `outdated` index, and
    the note after a failed build name `codegraph init` instead of `index --force`.
    docs/cli.md gains an "After `uninit --force`" section.
    
    * fix(cli): status reports a current index under the uninit tombstone
    
    A Current index beside the uninit tombstone, which an `init` that published
    Current but could not remove the tombstone leaves, made `codegraph status`
    exit with "Current index state is blocked by the uninitialized tombstone",
    although docs/cli.md sends every lifecycle question to `status`. It now
    reports the degraded diagnostic it already gives for a leftover SQLite
    sidecar: `initialized: false`, `extractionStatus: "current"`, the refusal in
    `extractionStatusDetail`, plus `recoveryCommand: codegraph init <project>`;
    human output says `current (blocked by the uninit tombstone)` and names the
    recovery. The refusal itself now ends with "run `codegraph init` to rebuild
    the index", so every read error names the recovery too.
    
    * fix(cli): status names init for an older index under the uninit tombstone
    
    An index an older version built that still carries the uninit tombstone is
    refused by `sync` since the previous commit, but `status` still recommended
    `codegraph sync` and gave no `recoveryCommand`. While the tombstone exists it
    now names `codegraph init <project>` in both outputs, as it does for an
    interrupted build.
    
    * refactor(cli): merge the identical init recovery branches in status
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    139fb0a View commit details
    Browse the repository at this point in the history
  5. chore: release 0.55.2 (#336)

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