Skip to content

fix: port upstream graph correctness and watcher reloads - #252

Merged
sunerpy merged 4 commits into
mainfrom
codex/wave1-graph-watcher
Aug 31, 2026
Merged

sunerpy merged 4 commits into
mainfrom
codex/wave1-graph-watcher

Conversation

@sunerpy

@sunerpy sunerpy commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • port upstream graph-correctness fixes for Erlang arity, Rust impl ownership and self-field calls, JS/TS object-literal namespaces, inherited TypeScript aliases, plain-derived C++ headers, Python import aliases, Lua function expressions, and .xsjs / .xsjslib imports
  • reload config.toml, codegraph.json, and root .gitignore in the running watcher, atomically replace scope, reconcile watch targets, and remove/readmit files as scope changes
  • raise extraction version once from 11 to 12, expand the affected golden corpora, add the new Lua golden, and document ordinary sync migration
  • update the canonical Skill and English/Chinese CLI, MCP, language, architecture, and equivalence documentation

Verification

  • make ci
  • canonical Skill quick_validate.py
  • extraction 11 project upgraded to 12 with ordinary codegraph sync
  • golden/equivalence suite: 40 passed
  • full workspace tests, including MCP HTTP/stdio, watcher reload, sync-vs-force, installer, lease, and Windows handle contracts

@codecov

codecov Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.62475% with 159 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/codegraph-extract/src/walker.rs 93.36% 42 Missing ⚠️
crates/codegraph-resolve/src/name_matcher.rs 94.83% 40 Missing ⚠️
crates/codegraph-watch/src/watcher.rs 93.84% 29 Missing ⚠️
crates/codegraph-resolve/src/import_resolver.rs 96.02% 17 Missing ⚠️
crates/codegraph-extract/src/lang/erlang.rs 76.47% 12 Missing ⚠️
crates/codegraph-resolve/src/resolver.rs 86.36% 12 Missing ⚠️
crates/codegraph-resolve/src/path_aliases.rs 98.22% 5 Missing ⚠️
crates/codegraph-watch/src/sync.rs 96.72% 2 Missing ⚠️

❌ Your patch check has failed because the patch coverage (94.62%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   95.36%   95.38%   +0.02%     
==========================================
  Files         142      142              
  Lines       80129    82817    +2688     
==========================================
+ Hits        76416    78998    +2582     
- Misses       3713     3819     +106     
Files with missing lines Coverage Δ
crates/codegraph-extract/src/engine.rs 96.64% <100.00%> (+0.34%) ⬆️
crates/codegraph-extract/src/lang/cpp.rs 92.78% <100.00%> (+1.99%) ⬆️
crates/codegraph-extract/src/lang/lua.rs 85.48% <100.00%> (ø)
crates/codegraph-extract/src/lang/luau.rs 88.88% <100.00%> (ø)
crates/codegraph-extract/src/lang/mod.rs 100.00% <ø> (ø)
crates/codegraph-extract/src/lang/rust.rs 98.63% <100.00%> (+1.47%) ⬆️
crates/codegraph-mcp/src/engine.rs 97.92% <100.00%> (+0.01%) ⬆️
crates/codegraph-store/src/index_state.rs 83.33% <ø> (ø)
crates/codegraph-watch/src/sync.rs 97.79% <96.72%> (-0.12%) ⬇️
crates/codegraph-resolve/src/path_aliases.rs 97.78% <98.22%> (+1.12%) ⬆️
... and 6 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sunerpy
sunerpy merged commit d42368c into main Aug 31, 2026
7 checks passed
@sunerpy
sunerpy deleted the codex/wave1-graph-watcher branch September 1, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant