-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Note
The pull request "chore(triage-action): Fix JSON parsing" was created by @s1gr1d but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.
The file is a single pretty-printed JSON array, JSON.stringify(messages, null, 2) (source code), not NDJSON. This script change (treating the parsed root as a list and collecting objects with type === "result") reads it correctly.
This is the the current error output:
Traceback (most recent call last):
File "/home/runner/work/sentry-javascript/sentry-javascript/.claude/skills/triage-issue/scripts/write_job_summary.py", line 109, in <module>
sys.exit(main())
^^^^^^
File "/home/runner/work/sentry-javascript/sentry-javascript/.claude/skills/triage-issue/scripts/write_job_summary.py", line 55, in main
if obj.get("type") == "result":
^^^^^^^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels