Repository navigation
feat(web): Svelte web UI + name-storage refactor, branch labels, profiler (v2.2.7) - #43
Conversation
…iler - codegraph-web: embed Svelte SPA (rust-embed, allow_missing) served as GraphQL fallback; assets built by CI/release, not committed - web: SvelteKit SPA (explore/review/documents) + graphql client - graph: persist name engine in a sibling dataset (names.lmdb/sqlite) with version stamp; collapse name_records/sorted_name_keys into one Vec - graph: branch labels in flow, stage profiler (CGPROF) - source: DiskGit trait; api/mcp dispatch diff_simulate/origin_simulate - ci/release: build web assets and wire them into all Rust build jobs; deb/rpm, Homebrew, AUR source builds build web first - bump version to 2.2.7
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Path Windows dùng '\\' nên name_dsn tạo 'names.sqlite' ở cwd thay vì cạnh db.sqlite → name_engine_stamp_survives_reopen fail trên CI Windows. Xử lý cả '/' lẫn '\\' + thêm unit test hồi quy.
Merging this PR will regress 4 benchmarks
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing |
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (71.35%) is below the target coverage (100.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
==========================================
- Coverage 78.01% 77.93% -0.09%
==========================================
Files 94 96 +2
Lines 22348 23105 +757
==========================================
+ Hits 17435 18007 +572
- Misses 4913 5098 +185 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…iler (v2.2.7) (#43) * feat(web): Svelte web UI + name-storage refactor, branch labels, profiler - codegraph-web: embed Svelte SPA (rust-embed, allow_missing) served as GraphQL fallback; assets built by CI/release, not committed - web: SvelteKit SPA (explore/review/documents) + graphql client - graph: persist name engine in a sibling dataset (names.lmdb/sqlite) with version stamp; collapse name_records/sorted_name_keys into one Vec - graph: branch labels in flow, stage profiler (CGPROF) - source: DiskGit trait; api/mcp dispatch diff_simulate/origin_simulate - ci/release: build web assets and wire them into all Rust build jobs; deb/rpm, Homebrew, AUR source builds build web first - bump version to 2.2.7 * style: apply rustfmt * fix(graph): sibling_file giữ thư mục cha trên Windows Path Windows dùng '\\' nên name_dsn tạo 'names.sqlite' ở cwd thay vì cạnh db.sqlite → name_engine_stamp_survives_reopen fail trên CI Windows. Xử lý cả '/' lẫn '\\' + thêm unit test hồi quy. --------- Co-authored-by: Hung Pham <hungpham@MacBook-Pro-cua-Hung.local>
Tóm tắt
codegraph-webnhúng SPA quarust-embed(allow_missing), phục vụ làm fallback của server GraphQL. Asset build bởi CI/release, không commit.names.lmdb/names.sqlite) + version stamp → mở lại index bỏ qua rebuild trie; gộpname_records+sorted_name_keysthành mộtVec.flow(); profiler stage (CGPROF).DiskGittrait cho diff/origin simulate.Kiểm thử
cargo clippy --workspace --all-targets -- -D warnings✅cargo test -p codegraph-graph --all-features→ 124 pass (4 Redis cần server) ✅codegraph-webcompile + test với folder assets rỗng/thiếu ✅