YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(ci): tolerate missing sentry stack data
Louis Beaumontca8b00273d55
diff --git a/.github/workflows/sentry-cleanup.yml b/.github/workflows/sentry-cleanup.ymlindex 7783b70d7..46e2ced12 100644--- a/.github/workflows/sentry-cleanup.yml+++ b/.github/workflows/sentry-cleanup.yml@@ -143,14 +143,24 @@ jobs:if not event:return "stack=unavailable"for entry in event.get("entries", []):- if entry.get("type") != "exception":+ if not isinstance(entry, dict) or entry.get("type") != "exception":continue- values = entry.get("data", {}).get("values", [])+ data = entry.get("data") or {}+ if not isinstance(data, dict):+ continue+ values = data.get("values") or []for value in reversed(values):- frames = value.get("stacktrace", {}).get("frames", [])+ if not isinstance(value, dict):+ continue+ stacktrace = value.get("stacktrace") or {}+ if not isinstance(stacktrace, dict):+ continue+ frames = stacktrace.get("frames") or []if not frames:continueframe = frames[-1]+ if not isinstance(frame, dict):+ continuefunction = frame.get("function") or "<unknown>"filename = frame.get("filename") or frame.get("absPath") or "<unknown>"lineno = frame.get("lineno")