Repository navigation
fix: keep the profbench grader-prompt list out of the dataset module - #215
Merged
Merged
Conversation
benchmark-config.ts imported PROFBENCH_GRADER_PROMPTS from profbench/dataset.ts, which pulls in the dataset cache store and @google-cloud/storage. Browser bundles that import benchmark-config.ts failed to build on Node built-ins. Move the list and its type to a dependency-free grader-prompts.ts.
Contributor
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
Original prompt from Abhinav
|
jamespsterling
approved these changes
Dec 4, 2026
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.
TL;DR
benchmark-config.tsno longer importsprofbench/dataset.ts, so importing the config schemas doesn't pull in@google-cloud/storageor Node built-ins.What changed?
PROFBENCH_GRADER_PROMPTSandProfbenchGraderPromptinto a new dependency-freesrc/benchmarks/profbench/grader-prompts.ts.benchmark-config.ts,profbench/dataset.tsandprofbench/benchmark.tsimport them from there.Why?
dataset.tsimports the dataset cache store, which imports@google-cloud/storageandgoogle-auth-library. Browser bundles that importbenchmark-config.tsfor its schemas then fail to resolvefs,child_process,netandtls.How to test
CI.
src/benchmarks/benchmark-config.tsshould no longer reachdatasets/cache-store.tsthrough its imports.Reviewer focus
Checklist
Link to Devin session: https://openrouter.devinenterprise.com/sessions/fbd67defdf2a48f18fc887b4f873b4d5
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/fbd67defdf2a48f18fc887b4f873b4d5?variant=devin
Requested by: @abhinav-pola
🟢 Devin Review found nothing to fix · View findings