Skip to content

Conversation

@cabella-dot
Copy link
Contributor

What Is This Change?

When parsing tool return messages, sometimes the streaming breaks messages resulting in the breaking of the ui

See: https://atlassian.slack.com/archives/C08HHS3DQTU/p1766020874164619

This PR add error handling for broken tool return messages and better logging

How Has This Been Tested?

Manually
Basic checks:

  • npm run lint
  • npm run test

@atlassian
Copy link
Contributor

atlassian bot commented Dec 18, 2025

The issue is ready for review, and the acceptance criteria have been met:

  • ✅ Investigate the JSON parsing error occurring in atlascodeRovoDev.8e3382c0.chunk.js.
  • ✅ Fix the JSON parsing error that causes the chat to blank out after a few seconds on the staging environment.
  • ✅ Ensure the JSON.parse operation does not throw an 'Uncaught SyntaxError: Unexpected token' error.

Check Jira issue

Copy link
Collaborator

@bwieger-atlassian-com bwieger-atlassian-com left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment s

marcomura
marcomura previously approved these changes Jan 8, 2026
Copy link
Collaborator

@marcomura marcomura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a comment

@cabella-dot cabella-dot merged commit be7cdc8 into main Jan 9, 2026
13 checks passed
@cabella-dot cabella-dot deleted the AXON-1693-investigate-and-fix-json-parsing-error-on-staging branch January 9, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants