Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge pull request #6822 from Afloat16/afloat/app-event-retry-after
milind-soni8a047c5be698
diff --cc server/app-triggers.tsindex 32dc72b9cf,379c730215..86656ec5bd--- a/server/app-triggers.ts+++ b/server/app-triggers.ts@@@ -573,10 -559,10 +573,10 @@@ export class AppTriggerManagerawait this.pollOnce(signal);failures = 0;} catch (error) {- if (this.stopped) break;+ if (this.stopped || version !== this.runVersion) break;if (signal.aborted) continue;failures += 1;- const retry = error instanceof BrokerError && error.status === 409 && error.retryAfterS ? error.retryAfterS * 1000 : 0;+ const retry = error instanceof BrokerError && (error.status === 409 || error.transient) && error.retryAfterS ? error.retryAfterS * 1000 : 0;await this.sleep(retry || Math.min(60_000, 1_000 * 2 ** Math.min(failures, 6)), this.abort.signal);}}