⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
chore(api): reword the comment on why a timed-out run is not retried (#521)
Pasqual Tronconeee8a95cfbd03
diff --git a/apps/api/src/modules/agents/core/run-poller.ts b/apps/api/src/modules/agents/core/run-poller.tsindex 5e78d4ba..efc114f9 100644--- a/apps/api/src/modules/agents/core/run-poller.ts+++ b/apps/api/src/modules/agents/core/run-poller.ts@@ -60,7 +60,7 @@ async function processRun(run: ClaimedRun): Promise<void> {});if (result.aborted) {// Mastra resolves generate() on abort, so the partial text would read as a success.- // Not retried: hitting the time ceiling is the workload, not a transient error.+ // Not retried: a run that hits the time limit will hit it again.await recordAgentRunFinished(run, 'failed');await markRunFailed(run.id, `Timed out after ${Math.round(timeoutMs / 1000)}s`);return;