Repository navigation
feat: support scoped benchmark repo roots - #517
Conversation
Add safe relative graphRoot support to benchmark suite repos so large public monorepo rows can generate, install, warm up, and compare from scoped graph roots instead of oversized repo roots. Also reset unsafe repo-local agent config at both the copied parent workspace and scoped root to preserve benchmark isolation for scoped runs. 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds optional per-repo ChangesScoped Graph Root Support & Isolation runtime profile
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 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)
Comment |
Move runtime Claude/Cursor state out of the tracked isolation fixture, fail fast when the isolated benchmark profile is not authenticated, and print the exact runtime-profile login command required for measured runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 `@tests/unit/benchmark-suite-isolation-docs.test.ts`:
- Around line 123-126: The subprocess env blocks currently spread process.env
(using env: { ...process.env, PATH: `${binDir}:${process.env.PATH ?? ''}` }) and
therefore inherit HOME/XDG state; modify each of these spawn env objects to set
a temp-scoped profile root by creating a temporary directory (e.g., via
fs.mkdtempSync(os.tmpdir() + '/madar-') or similar) and adding
MADAR_BENCH_ISOLATION_PROFILE_ROOT: tempDir into the env spread so the
subprocesses use that temp path instead of the user’s
~/.local/state/madar/benchmark-isolation; ensure you create and clean up the
temp dir in the test (or let the test harness manage it) and update all three
locations that build the env (the blocks that reference binDir and
process.env.PATH).
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 2d96a99e-4f65-4130-bee7-cc7fdf8f1519
📒 Files selected for processing (4)
docs/benchmarks/suite/README.mddocs/benchmarks/suite/isolation/run-isolated.shdocs/benchmarks/suite/methodology.mdtests/unit/benchmark-suite-isolation-docs.test.ts
✅ Files skipped from review due to trivial changes (1)
- docs/benchmarks/suite/README.md
Allow the isolation launcher tests to override the CLI path so CI can exercise the auth-preflight branches without depending on a prebuilt dist tree. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Summary
graphRootsupport for benchmark suite repo rowsVerification
Benchmarks
Not logged in · Please run /login). Invalid not-measured receipt folders were removed and are not included in this PR.Summary by CodeRabbit
New Features
Documentation
Tests