Repository navigation
feat: add compare MCP trace metadata - #214
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughCompare reports now capture and persist compact Graphify tool-call trace metadata: tool counts, tool names, and per-turn summaries extracted from Graphify runner stdout. Terminal compare output displays a single ChangesGraphify Trace Tracking and Reporting
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/infrastructure/compare.ts`:
- Around line 716-721: The parseTraceTurnNumber function currently accepts any
positive number then truncates, allowing fractional inputs like 0.4/1.9 to
collapse to incorrect turns; change the validation to require a positive integer
(use Number.isInteger(value) && value > 0) and return the value directly instead
of truncating so fractional turn values are rejected and fallbackTurn is used
for non-integer or invalid inputs; update the function parseTraceTurnNumber
accordingly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 066ba34c-79b0-49b0-8519-edc1f90cd321
📒 Files selected for processing (4)
CHANGELOG.mddocs/benchmarks/govalidate-suite/README.mdsrc/infrastructure/compare.tstests/unit/compare.test.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Closes #162
Summary
Test Plan
Summary by CodeRabbit
New Features
Documentation
Tests