Skip to content

Clarify tree hash comparison is already implemented in intern fuzzer#692

Closed
Copilot wants to merge 1 commit intogenerator-identity-hffrom
copilot/sub-pr-684-again
Closed

Clarify tree hash comparison is already implemented in intern fuzzer#692
Copilot wants to merge 1 commit intogenerator-identity-hffrom
copilot/sub-pr-684-again

Conversation

Copy link

Copilot AI commented Feb 7, 2026

A review comment on #684 claimed the tree hash comparison wasn't being tested in the intern fuzzer. This was incorrect - the test already computes and compares tree hashes.

Changes

  • Confirmed tree hash is calculated on lines 28-33 via original_cache.get_or_calculate()
  • Confirmed comparison happens on lines 76-79 via assert_eq!(original_tree_hash, interned_tree_hash, ...)
  • No code changes needed - existing implementation is correct

The fuzzer properly validates that intern() preserves tree hashes as documented in the comment on line 14.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] WIP Address feedback on interning API implementation Clarify tree hash comparison is already implemented in intern fuzzer Feb 7, 2026
Copilot AI requested a review from richardkiss February 7, 2026 01:36
@richardkiss richardkiss closed this Feb 9, 2026
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.

2 participants