Fix #117: Fix WasmAgent/fresharena#114 ([milestone Milestone 4 ] Hosted arena: arena/ service accepts solver submissions via API - #120
Closed
telleroutlook wants to merge 2 commits into
Closed
Conversation
Contributor
Author
SummaryThe evaluator crashes on unknown solver IDs instead of handling them gracefully Severitymedium Blocking findings
Verdict❌ Rejected Merge riskmedium Audit
{
"approved": false,
"severity": "medium",
"summary": "The evaluator crashes on unknown solver IDs instead of handling them gracefully",
"findings": [
{
"file": "arena/src/evaluator.ts",
"line": 52,
"issue": "getSolver(solverId) throws for unknown solver_id, crashing the entire evaluation instead of returning a proper error response to the client",
"kind": "blocker"
},
{
"file": "arena/src/index.test.ts",
"line": 376,
"issue": "Test suite lacks coverage for submitting/evaluating with invalid solver_id that doesn't exist in registry",
"kind": "suggestion"
},
{
"file": "arena/src/server.ts",
"line": 241,
"issue": "Silent error handling in listKnownSolvers returns empty array on import failures, hiding configuration issues from operators",
"kind": "suggestion"
}
],
"merge_risk": "medium",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
SummaryTest isolation is broken and fire-and-forget async evaluation lacks error handling Severitymedium Blocking findings
Verdict❌ Rejected Merge riskmedium Audit
{
"approved": false,
"severity": "medium",
"summary": "Test isolation is broken and fire-and-forget async evaluation lacks error handling",
"findings": [
{
"file": "arena/src/index.test.ts",
"line": 23,
"issue": "The afterEach hook checks for evaluation 'x' but doesn't actually clear the store - tests are not properly isolated and may interfere with each other",
"kind": "blocker"
},
{
"file": "arena/src/server.ts",
"line": 176,
"issue": "Fire-and-forget async evaluation (void runEvaluation) has no error handling or logging - failures are silent and unobservable",
"kind": "blocker"
}
],
"merge_risk": "medium",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 2
} |
Contributor
Author
SummaryMissing critical export for generator module causing potential runtime import failure Severityhigh Blocking findings
Verdict❌ Rejected Merge riskhigh Audit
{
"approved": false,
"severity": "high",
"summary": "Missing critical export for generator module causing potential runtime import failure",
"findings": [
{
"file": "packages/core/package.json",
"line": 37,
"issue": "packages/core/package.json exports field does not include './generator' entry, but arena/src/evaluator.ts:28 attempts to import '@fresharena/core/generator' via dynamic import. This will cause runtime module resolution failure.",
"kind": "blocker"
}
],
"merge_risk": "high",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 3
} |
- store.ts: add clear() method for proper test isolation - server.ts: add defensive .catch() on fire-and-forget evaluation - index.test.ts: fix no-op afterEach to actually clear store; add test for unknown solver_id returning error status Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Author
SummaryNo blockers found - well-structured new arena service with comprehensive tests and proper error handling Severitynone Blocking findings
Verdict✅ Approved Merge risklow Audit
{
"approved": true,
"severity": "none",
"summary": "No blockers found - well-structured new arena service with comprehensive tests and proper error handling",
"findings": [
{
"file": "arena/src/store.ts",
"line": 65,
"issue": "updateEvaluation lacks concurrency control - multiple simultaneous evaluations could race when updating the same evaluation record, though this appears acceptable for MVP in-memory store",
"kind": "suggestion"
},
{
"file": "arena/src/evaluator.ts",
"line": 24,
"issue": "runEvaluation catches errors but doesn't validate solverId exists before starting async work, leading to delayed error detection in tests",
"kind": "suggestion"
}
],
"merge_risk": "low",
"Model": "opus",
"model": "claude-cli",
"effort": "high",
"tokens": {
"input_tokens": 0,
"output_tokens": 0
},
"same_verdict_count": 1
} |
Contributor
Author
|
Closing this PR due to bun.lock rebase conflict. The bot will re-attempt a clean implementation from the current base. |
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.
Fixes #117
Generated by claude-bot-go worker.