From 3217d7e8514a629f0a1a9031415e002c28f42962 Mon Sep 17 00:00:00 2001 From: sunerpy Date: Fri, 27 Nov 2026 01:03:26 +0800 Subject: [PATCH 1/2] docs(resolve): say which synthesis passes a sync reruns The synthesis module's docs still said codegraph-watch recomputes the stage whole after any sync that changes the index. Since v0.56.0's per-pass reuse (W9-00 row 27), a sync reruns only the passes whose recorded inputs changed and runs the whole stage only when it cannot show that or the stage's marker is missing or another version. docs/architecture.md and docs/data-model.md already describe this; the v0.56 follow-up program's final review noted the stale comment. --- crates/codegraph-resolve/src/synthesis/mod.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/codegraph-resolve/src/synthesis/mod.rs b/crates/codegraph-resolve/src/synthesis/mod.rs index 209e2cfd..787be628 100644 --- a/crates/codegraph-resolve/src/synthesis/mod.rs +++ b/crates/codegraph-resolve/src/synthesis/mod.rs @@ -23,9 +23,11 @@ //! packages, `package.json` manifests), JavaScript's control inputs //! (W7-18a), so a sync that changes none of them keeps its edges. Its Go //! prerequisite steps add edges the passes read as base edges first -//! (W7-15b). `codegraph-watch` recomputes them whole after any sync that -//! changes the index or finds a recorded file reading differently, under -//! [`VERSION_KEY`]. +//! (W7-15b). After a sync that changes the index or finds a recorded file +//! reading differently, `codegraph-watch` reruns only the passes whose +//! recorded inputs changed and keeps the other passes' stored output (W9-00 +//! row 27); it runs the whole stage when it cannot show that, or when the +//! marker under [`VERSION_KEY`] is missing or another version. mod angular; mod arkui; From 758826bbd50d2d60ad9366a1c4f2f584458dcd60 Mon Sep 17 00:00:00 2001 From: sunerpy Date: Fri, 27 Nov 2026 01:50:42 +0800 Subject: [PATCH 2/2] docs(upstream): record the v0.56.0 release UPSTREAM.md gains the v0.56.0 RELEASED entry: 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 passing all twelve jobs on its second attempt (the first timed out in Verify CI Passed while the release commit's main CI ran its Windows tests), the publication time and the linux musl digest, and the 31 black-box checks of the downloaded release, all passing. The Current alignment block, the only mutable part, now says #338 shipped in v0.56.0. Both dated audits gain a release closeout section that marks their "merged, release pending" rows shipped; no older line changes. --- .../POST_V1_6_2_MAIN_2026-10-22.md | 25 ++++++ docs/upstream-sync/UPSTREAM.md | 87 +++++++++++++++++-- docs/upstream-sync/V1_6_2_AUDIT_2026-10-10.md | 25 ++++++ 3 files changed, 128 insertions(+), 9 deletions(-) diff --git a/docs/upstream-sync/POST_V1_6_2_MAIN_2026-10-22.md b/docs/upstream-sync/POST_V1_6_2_MAIN_2026-10-22.md index fc512cf1..caa9a11b 100644 --- a/docs/upstream-sync/POST_V1_6_2_MAIN_2026-10-22.md +++ b/docs/upstream-sync/POST_V1_6_2_MAIN_2026-10-22.md @@ -561,3 +561,28 @@ a Go `var` or `const` initializer referenced once, by its spec. It changed the KNOWN_DIFFS.md lists the content differences. 5. **Batches and sync lanes:** carried to the next program with its rows. 6. **Golden and A/B impact:** see B 84 above. + +## Release closeout (2026-11-26): `v0.56.0` + +Appended on 2026-11-26. The follow-up pull request +[#338](https://github.com/sunerpy/codegraph-rust/pull/338) merged as `69afdf5` +and shipped in codegraph-rs `v0.56.0`: release-please PR +[#344](https://github.com/sunerpy/codegraph-rust/pull/344) merged as `73c8dd3`, +tag `v0.56.0` points at that commit, and release run +[`45864204121`](https://github.com/sunerpy/codegraph-rust/actions/runs/45864204121) +published it at 2026-11-26T17:46:35Z UTC. Every row that the "Follow-up pull +request status (2026-11-26)" section above records as **merged, release +pending** is shipped in `v0.56.0`; the rows keep their wording. The commits that +section names are the pull request's branch commits, which `69afdf5` squashes. + +The downloaded release passed the black-box acceptance recorded in +[`UPSTREAM.md`](UPSTREAM.md)'s 2026-11-26 release entry, 31 checks: the six +archives' checksums and attestations, `codegraph 0.56.0` built with rustc +1.98.0, the upgrade of a `v0.55.2` index across the extraction version move +(22 → 23), OD-19's refusal of a newer schema, seeds from upstream's tests on the +released binary, and `--json` and `export` output that only adds fields. + +Of the 21 `DEFER` rows, the 18 the pull request landed are shipped; A 106 +(#2762) stays `OWNER-EXCLUDED` with VB.NET, and B 60 and B 98 (#2575, #2785) +wait for the next round (OD-B55), as do the 180 `PORT` and `PARTIAL` rows that +the pull request did not land. diff --git a/docs/upstream-sync/UPSTREAM.md b/docs/upstream-sync/UPSTREAM.md index 62c5995e..bb972e9b 100644 --- a/docs/upstream-sync/UPSTREAM.md +++ b/docs/upstream-sync/UPSTREAM.md @@ -13,8 +13,9 @@ excluded by the owner, or moved by the owner to the follow-up pull request, as the 2026-10-22 CLOSEOUT entry below lists. The official codegraph-rs `v0.55.0` binaries passed the black-box acceptance in the 2026-10-22 release - entry. The `main` commits after `b635dd46` are audited but open, as the next - bullet says. + entry, and the `v0.56.0` binaries in the 2026-11-26 release entry. The + `main` commits after `b635dd46` are audited but open, as the next bullet + says. - **Last discovery audit:** colby `main` at `e8ddc4e2be02578d735c350df55f1769b7d6978a` (2026-10-22), audited on 2026-10-22 in @@ -39,7 +40,8 @@ audit's rows under waves W0 to W6 and W10 of its program, with extraction version 22. The audit's `LANDED` rows name the commits and #322. See the 2026-10-22 release and CLOSEOUT entries below. -- **Follow-up pull request #338, merged, release pending (2026-11-26):** the +- **Shipped in codegraph-rs `v0.56.0`, 2026-11-26:** #338, the follow-up + pull request. It carries the rows the owner moved to it on 2026-10-16 (OD-18): W7 (the UI family F1–F12 with the synthesis stage and the framework resolvers) and W9 (`codegraph context`, #1617 and the 26 v1.5.0 performance strategies), @@ -49,9 +51,9 @@ before its first graph change. VB.NET (W8) is `OWNER-EXCLUDED`: the OD-3 trial of `tree-sitter-vb-dotnet =0.1.0` parsed 59.7% of upstream's VB.NET test sources without an error, against a 95% bar. The "Follow-up pull request - status" sections of the two dated audits list every row with its commits; see - the 2026-11-26 entry below. The release entry follows once the release's - downloaded binaries are checked. #338 also closes these caveats of the older + status" sections of the two dated audits list every row with its commits, and + their 2026-11-26 release closeouts mark those rows shipped; see the 2026-11-26 + release entry below. #338 also closes these caveats of the older syncs below: the per-language framework-resolution bridges of `1.2.0 → 1.4.1` (ArkUI, Nix, Terraform and Erlang; CFML's landed in #322), and the deferred `codegraph context` and #1617 of `1.5.0 → 1.6.0`. The 26 strategies of @@ -152,7 +154,7 @@ follow-up pull request. `v0.55.0` landed from them only `950686de`'s test-file classifier and `b1f40c57`'s `e2e/` test path (one predicate with the resolver's), and the route roots its routes list reads. The rest landed in - #338 (merged, release pending), with the viewer's Steps, Screens and branch + #338 (shipped in `v0.56.0`), with the viewer's Steps, Screens and branch conditions. The Rust product and upstream release versions are independent. This Current @@ -175,11 +177,11 @@ below remain immutable historical evidence. > no node. > - **Refusing a schema newer than the binary (OD-19) is PLANNED (follow-up > PR)**, with the design constraints the audit records. It landed in #338 -> (merged, release pending). +> and shipped in `v0.56.0`. > - **The rows under W7, W8 and W9 are PLANNED (follow-up PR)** (2026-10-16): > the UI family F1–F12 with the synthesis stage and the framework resolvers, > VB.NET, `codegraph context`, #1617 and the 26 v1.5.0 performance -> strategies. They landed in #338 (merged, release pending), except VB.NET, +> strategies. They landed in #338 and shipped in `v0.56.0`, except VB.NET, > `OWNER-EXCLUDED` after its trial; W9-00 decides the 26 strategies > in [`V1_5_PERF_DISPOSITIONS_2026-11-26.md`](V1_5_PERF_DISPOSITIONS_2026-11-26.md). > - **KEEP-RUST divergences** are recorded row by row in the audit. Three of @@ -282,6 +284,73 @@ below remain immutable historical evidence. ## Sync log +### 2026-11-26 — `v0.56.0` RELEASED: #338 shipped + +Release-please PR [#344](https://github.com/sunerpy/codegraph-rust/pull/344) +merged as `73c8dd3540bebc55f5d7abed6034152135353f43`, and tag `v0.56.0` was cut +at that exact commit. + +- The merge has the tree of the PR's head `29d140d`, `f28673f…`. +- The bot's CI run + [`45856309945`](https://github.com/sunerpy/codegraph-rust/actions/runs/45856309945) + was re-run for the owner; its second attempt lost `macOS Watcher` to GitHub's + macOS arm64 runner capacity ("not acquired by Runner of type hosted"), and + the re-run of the failed jobs passed (attempt 3, all green). The PR was + approved for the code owner and squash-merged at its head. +- The implementation PR #338 merged as `69afdf5`, with the tree of its + reviewed head `a1a3b7e`, `5ed9e65…`. Main CI run + [`45856236348`](https://github.com/sunerpy/codegraph-rust/actions/runs/45856236348) + passed. + +Release workflow run +[`45864204121`](https://github.com/sunerpy/codegraph-rust/actions/runs/45864204121) +passed all twelve jobs on its second attempt. + +- The push of the release commit triggered it. On the first attempt the six + builds and the tag check passed, but `Verify CI Passed` timed out after 30 + minutes waiting for main CI run + [`45864204084`](https://github.com/sunerpy/codegraph-rust/actions/runs/45864204084), + whose Windows tests take longer, so the release stayed a draft. When that run + passed, `CI Success` included, the failed jobs were re-run; the exact-SHA gate + then passed and the assets were attached. +- The release was published at 2026-11-26T17:46:35Z UTC. +- The official `codegraph-0.56.0-x86_64-unknown-linux-musl.tar.gz` digest is + `d6ae0a65029547a70b9b004474a30d86fae896bb7e4d1c15aebbb1ba5e73a097`. + +Black-box acceptance of the downloaded release, one script with 31 checks, all +passing: + +- **Artifacts.** The release is not a draft, and its assets are the six + archives and `SHA256SUMS`. `SHA256SUMS` and `gh attestation verify` passed + for all six archives; every attestation names run `45864204121` and the tag + commit. The binary reports `codegraph 0.56.0`, and its `.comment` section + names rustc 1.98.0. +- **Upgrade.** An index the official `v0.55.2` built reads as outdated, one + `sync` makes it current, and the result equals a fresh `init` (schema, + extraction stamp and canonical graph). `v0.55.2` refuses a `v0.56.0` index for + `search`, `sync` and `init` and writes nothing. A cold daemon-mode MCP session + upgrades a `v0.55.2` index through its daemon. +- **OD-19.** With a schema row 11 added, `status` reports it, and `search`, + `context`, `sync`, `init` and an MCP call refuse it, naming both versions, + with no byte changed; `uninit --force` discards it and `init` then rebuilds + the index. +- **Features.** Seeds from upstream's tests on the released binary: React + Router lazy routes (#2480), Express named handlers (#1957), Go func-field + synthesized edges with explore's Flow across one (#2745), jsx-render edges, + explore's Flow with its dynamic-dispatch links (#2748), the viewer's + `/api/steps` (`v0.55.2` answers 404), `codegraph context` in both formats + against the frozen snapshots and its error contract, `[lua]` loader + functions, and the Rust std gate's negative case. VB.NET is not checked: it is + `OWNER-EXCLUDED` (OD-3). +- **Contracts.** `search`, `callers`, `callees` and `impact` `--json`, and + `export` on two corpora, only add fields relative to `v0.55.2`. +- **Performance.** The frozen benchmark of the follow-up program (the official + `v0.55.2` musl build against the final head's musl build, 24 cells of init at + 32, 4 and 1 threads on this repository and typescript-large and at 32 and 4 + threads on nine more corpora) is within budget in every cell: wall ×0.667 to + ×0.988, peak RSS ×0.753 to ×1.140. typescript-large's one-file sync is ×1.115 + against `fec4fbb` on a GitHub runner, under the 1.5 cumulative line. + ### 2026-11-26 — The follow-up pull request #338 merged, release pending: W7, W9, OD-19 and the `DEFER` rows of `b635dd46..e8ddc4e2` - **Pull request:** [#338](https://github.com/sunerpy/codegraph-rust/pull/338) diff --git a/docs/upstream-sync/V1_6_2_AUDIT_2026-10-10.md b/docs/upstream-sync/V1_6_2_AUDIT_2026-10-10.md index 19732e52..8aa5e858 100644 --- a/docs/upstream-sync/V1_6_2_AUDIT_2026-10-10.md +++ b/docs/upstream-sync/V1_6_2_AUDIT_2026-10-10.md @@ -575,3 +575,28 @@ the only VB.NET grammar on crates.io, and this repository vendors no grammar pull request and no revert was needed. Publishing upstream's grammar as a crate, then a new supply-chain review, is the one compliant route left, which needs an owner decision. + +## Release closeout (2026-11-26): `v0.56.0` + +Appended on 2026-11-26. The follow-up pull request +[#338](https://github.com/sunerpy/codegraph-rust/pull/338) merged as `69afdf5` +and shipped in codegraph-rs `v0.56.0`: release-please PR +[#344](https://github.com/sunerpy/codegraph-rust/pull/344) merged as `73c8dd3`, +tag `v0.56.0` points at that commit, and release run +[`45864204121`](https://github.com/sunerpy/codegraph-rust/actions/runs/45864204121) +published it at 2026-11-26T17:46:35Z UTC. Every row that the "Follow-up pull +request status (2026-11-26)" section above records as **merged, release +pending** is shipped in `v0.56.0`; the rows keep their wording. The commits that +section names are the pull request's branch commits, which `69afdf5` squashes. + +The downloaded release passed the black-box acceptance recorded in +[`UPSTREAM.md`](UPSTREAM.md)'s 2026-11-26 release entry, 31 checks: the six +archives' checksums and attestations, `codegraph 0.56.0` built with rustc +1.98.0, the upgrade of a `v0.55.2` index across the extraction version move +(22 → 23), OD-19's refusal of a newer schema, seeds from upstream's tests on the +released binary, and `--json` and `export` output that only adds fields. + +VB.NET and its rows stay `OWNER-EXCLUDED` (OD-3), and the 26 v1.5.0 strategies +keep the dispositions of +[`V1_5_PERF_DISPOSITIONS_2026-11-26.md`](V1_5_PERF_DISPOSITIONS_2026-11-26.md), +row 9 deferred to the next round.