Skip to content

Commit fb1290c

Browse files
🔧 Limit qa-agent test case generation to 10 for debugging
Added temporary limitation to process only the first 10 requirements in parallel to investigate LangSmith tracing issues where 1-2 parallel processes don't complete properly. This debug change will help isolate whether the issue is related to the number of concurrent operations. TODO: Remove this limitation after the tracing issue is resolved. Issue: route06/liam-internal#5747 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3e9e6d2 commit fb1290c

File tree

1 file changed

+5
-1
lines changed
  • frontend/internal-packages/agent/src/qa-agent/distributeRequirements

1 file changed

+5
-1
lines changed

frontend/internal-packages/agent/src/qa-agent/distributeRequirements/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ export type { RequirementData } from './types'
1111
export function continueToRequirements(state: QaAgentState) {
1212
const targetRequirements = getUnprocessedRequirements(state)
1313

14+
// DEBUG: Limit to first 10 requirements to investigate LangSmith tracing issue
15+
// TODO: Remove this limitation after the issue is resolved
16+
const limitedRequirements = targetRequirements.slice(0, 10)
17+
1418
// Use Send API to distribute each requirement for parallel processing
1519
// Each requirement will be processed by testcaseGeneration with isolated state
16-
return targetRequirements.map(
20+
return limitedRequirements.map(
1721
(reqData) =>
1822
new Send('testcaseGeneration', {
1923
// Each subgraph gets its own isolated state

0 commit comments

Comments
 (0)