ci: add sem semantic diff to pre-commit and PR review#9
Merged
matthiasdebernardini merged 1 commit intomainfrom Mar 8, 2026
Merged
ci: add sem semantic diff to pre-commit and PR review#9matthiasdebernardini merged 1 commit intomainfrom
matthiasdebernardini merged 1 commit intomainfrom
Conversation
Integrate sem (entity-level Rust diffs) in two places: - Pre-commit hook: advisory sem diff on staged .rs files - CI workflow: posts semantic diff as sticky PR comment Also adds CodeRabbit config with project Rust style rules and justfile recipes for setup-tools, sem-diff. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Semantic DiffEntity-level changes detected by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sem(entity-level Rust diffs) as an advisory pre-commit hook showing semantic changes on staged.rsfilessem-review.ymlCI workflow that posts a sticky PR comment with the semantic diff summary, highlighting deleted entities.coderabbit.yamlwith project Rust style rules (functional/iterator style, no mutable vars)setup-tools(install sem),sem-diff,sem-diff-jsonTest plan
pre-commit run sem-diff --all-filespasses locallyzizmor --no-online-audits .passes with no findingssem-review.ymlworkflow runs on this PR and posts a comment.coderabbit.yamlconfig🤖 Generated with Claude Code