The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix(test): stop the Sentry timeout assertion matching a random event id (#15929)
Devin Foleya96329dfa2ff
diff --git a/server/src/__tests__/run-failure-sentry-real-sdk.test.ts b/server/src/__tests__/run-failure-sentry-real-sdk.test.tsindex 63ccef13bf..7128b7a640 100644--- a/server/src/__tests__/run-failure-sentry-real-sdk.test.ts+++ b/server/src/__tests__/run-failure-sentry-real-sdk.test.ts@@ -120,7 +120,7 @@ describe.skipIf(!sentryPackage)("run failure context with the real Sentry SDK",expect(event).toMatchObject({ exception: { values: [{ value: "OpenCode execution timed out" }] },contexts: { run_execution: { durationMs: 100, effectiveTimeoutSec: 14400,timeoutSource: "sandbox_default", timeoutConfigured: false, timeoutFired: true, stopReason: "timeout" } } });- expect(JSON.stringify(events)).not.toMatch(/private-timeout-|<html>|504|Timed out after/);+ expect(JSON.stringify(events)).not.toMatch(/private-timeout-|<html>|504 Gateway|Timed out after/);expect(events.find(entry => entry !== event)).not.toHaveProperty("contexts.run_execution");} finally {await fs.rm(root, { recursive: true, force: true });