Skip to content

fix(graph): stabilize extension digests for snapshot diff (#93) - #94

Merged
sshaaf merged 5 commits into
mainfrom
fix_93
Sep 22, 2026
Merged

sshaaf merged 5 commits into
mainfrom
fix_93

Conversation

@sshaaf

@sshaaf sshaaf commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Test plan

  • cargo test -p rgctl-graph --lib
  • cargo test -p rgctl-analysis --lib macro_call_fingerprint_matches_rebuilt_snapshot
  • Note: old vs new snapshots of the same tree can still disagree once until both sides are rediscovered

Related: #93

Signed-off-by: Shaaf Syed <474256+sshaaf@users.noreply.github.com>
  • Corrupt extension bytes — good panic-vs-Err check.
  • 10k-node determinism — useful smoke; not really an allocator stress test, but a solid parity lock.

Signed-off-by: Shaaf Syed <474256+sshaaf@users.noreply.github.com>
…function, then dropped. Real hot-path waste.

  • Vec in serialize — heap alloc per node with props; stack sort for ≤8 is the right fix.
  • Read path BTree → HashMap — unnecessary; deserialize straight into LazyStringMap/HashMap.
  • NodeExtensionRef — correct zero-copy write shape (matches AGENTS.md clone hygiene).

Signed-off-by: Shaaf Syed <474256+sshaaf@users.noreply.github.com>
@sshaaf
sshaaf marked this pull request as ready for review September 22, 2026 14:16
…consider merge between pr-check and diff command

Signed-off-by: Shaaf Syed <474256+sshaaf@users.noreply.github.com>
Signed-off-by: Shaaf Syed <474256+sshaaf@users.noreply.github.com>
@sshaaf
sshaaf merged commit 7511949 into main Sep 22, 2026
2 checks passed
@sshaaf
sshaaf deleted the fix_93 branch September 29, 2026 17:35
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