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.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.55.1
Choose a head ref
  • 4 commits
  • 19 files changed
  • 2 contributors

Commits on Oct 22, 2026

  1. ci(release): accept the release PR's CI when its push event is lost (#…

    …327)
    
    GitHub never delivered the push event for v0.55.0's release commit
    5f96a74: the commit has no workflow run, and the repository activity log
    has no merge entry for it. Release Please runs only on push, and verify-ci
    accepts only a CI push run on the exact release commit, which can no
    longer appear because ci.yml has no dispatch trigger. The release could
    not finish.
    
    A manual Release dispatch can now name the release PR's own CI run in a
    new ci_run_id input. verify-ci uses it only while the release commit has
    no CI push run, and only if the run is a completed pull_request run of
    ci.yml in this repository whose CI Success passed, its head is the head of
    the one merged pull request into main whose merge commit is the release
    commit, that head contains the release commit's single parent, and both
    commits share a tree. The new step needs pull-requests: read for
    commits/<sha>/pulls.
    
    When verify-ci took that path, publish-release checks again before it
    makes the release public: a CI push run that has appeared since, from a
    replayed event for example, must pass first. The push path is unchanged.
    
    check-ci-gate.sh now applies the exact-SHA rule to the push-run wait step
    itself and pins that step's condition, the dispatch-only condition of
    every step that reads ci_run_id, the new permission, and the
    publish-time check. release-ci-override.test.sh runs both new steps
    against a stub gh.
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    b02b563 View commit details
    Browse the repository at this point in the history
  2. docs(upstream): record the v0.55.0 release and close the v1.6.2 sync (#…

    …329)
    
    Record the v0.55.0 release: #322 merged as 0796c8a, release PR #325 as
    5f96a74, the push event GitHub never delivered for that merge, #327's
    dispatch path, Release run 39698634632, and the black-box acceptance of
    the downloaded binaries against v0.54.0, with the 24-cell benchmark and
    the older upgrade issue in default daemon mode.
    
    Close the v1.6.1 -> v1.6.2 sync: the tracked release moves to v1.6.2 with
    the owner's exceptions (COBOL, G16 and G17, OD-19, and the W7-W9 rows
    planned for the follow-up pull request). The audit's LANDED rows now name
    #322, and docs-check.py expects the new tracked release.
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    4bd1670 View commit details
    Browse the repository at this point in the history
  3. fix(daemon): upgrade an outdated index before the daemon starts servi…

    …ng it (#330)
    
    * fix(daemon): upgrade an outdated index before the daemon starts serving it
    
    In the default daemon mode nothing upgraded an index an older extraction
    version built. A cold `serve --mcp` session defers to its daemon, and the
    daemon's startup gate admits only a current index, so every tool call
    answered "outdated" until a manual `codegraph sync`. v0.55.0 moved the
    extraction version from 21 to 22, so every v0.54.0 index hit this.
    
    The daemon now upgrades the index before its startup gate, through a new
    codegraph-watch entry, upgrade_outdated_index_once. Under one exclusive
    lease it requires an outdated namespace whose authoritative slot records
    the current phase, no uninitialized tombstone, and the database file, and
    only then runs the migration `codegraph sync` runs. The state gate
    classifies every phase an older version wrote as outdated, so without
    these checks a daemon would rebuild the database an older
    `uninit --force` removed. Anything else, and a failed upgrade, is left to
    the unchanged gate, which refuses it as before.
    
    * fix(test): give every plain_output project its own temporary directory
    
    Two tests that started within one clock tick shared a directory, and the
    first to finish deleted the other's project mid-run, as in the first CI
    attempt of #325. The name now carries a process-wide sequence, and the
    directory is created with create_dir, so a collision fails instead of
    sharing.
    
    * docs(cli): say what a daemon leaves when its upgrade fails partway
    
    The upgrade runs the migration `codegraph sync` runs, which publishes
    `phase=building` before it removes the old database, so a rebuild that
    fails partway leaves the index `building`, as an interrupted `sync` does,
    and the daemon refuses it. The upgrade section said only that a later
    tool call succeeds.
    
    * fix(daemon): stop a daemon whose upgrade fails before its startup gate
    
    A failed upgrade is a failed migration, and a migration failure must stop.
    The daemon logged the error and went on to its startup gate. The last step
    of the rebuild publishes `Current`, and the publisher's directory sync can
    still fail after that, so the gate could serve an index whose upgrade had
    just reported an error. The daemon now refuses to start with that error,
    before the gate, and publishes no pid or socket. A later daemon finds the
    index as the failure left it, and the gate decides as before.
    
    docs/cli.md now says what a failed rebuild can leave: the older index
    untouched if it fails before it begins replacing it, `building` if it
    fails later, as an interrupted `sync` does.
    sunerpy authored Oct 22, 2026
    Configuration menu
    Copy the full SHA
    b6f0106 View commit details
    Browse the repository at this point in the history
  4. chore: release 0.55.1 (#331)

    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
    44fd8af View commit details
    Browse the repository at this point in the history
Loading