Skip to content

Conversation

@cteyton
Copy link
Contributor

@cteyton cteyton commented Feb 9, 2026

No description provided.

cteyton and others added 4 commits February 6, 2026 17:44
When --cloud is not set, users can now toggle between single URL and batch
mode on the homepage. Batch mode accepts up to 50 Git URLs (one per line)
and processes them strictly one at a time via a new BatchManager that
listens for job completion callbacks before submitting the next URL.

Backend: BatchManager orchestration, POST/GET batch API routes, JobManager
onJobFinished hooks, shared git-url-validation, rate limit pre-check.
Frontend: Single/Batch toggle in RepositoryUrlInput, BatchStatusPage with
polling, batch API methods in useEvaluationApi hook.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix non-null assertions for array indexing in batch-manager.test.ts
- Fix unused variable (err → _err) and noExplicitAny lint errors
- Thread selectedEvaluators through entire batch submission flow
  (RepositoryUrlInput → EvaluationInputPanel → App → useEvaluationApi)
- Fix batch handleSubmit referencing undefined evaluatorFilter variable
- Auto-fix formatting issues via biome

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The BatchStatusPage was creating a new polling interval on every render
because useEvaluationApi() returns a new object reference each time.
This caused fetchStatus (useCallback) to be recreated, which triggered
the useEffect to clear and recreate the interval continuously.

Fix: Store api.getBatchStatus in a useRef to break the dependency chain,
so fetchStatus only depends on batchId (stable).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cteyton cteyton merged commit 1ffa90b into main Feb 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant