Skip to content

AXON-1693: add error catching for tool return parsing - #1437

Merged
cabella-dot merged 8 commits into
mainfrom
AXON-1693-investigate-and-fix-json-parsing-error-on-staging
Jan 9, 2026
Merged

AXON-1693: add error catching for tool return parsing#1437
cabella-dot merged 8 commits into
mainfrom
AXON-1693-investigate-and-fix-json-parsing-error-on-staging

Conversation

@cabella-dot

Copy link
Copy Markdown
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

atlassian Bot commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

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

Comment thread src/rovo-dev/ui/utils.tsx Outdated

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

See comment s

Comment thread src/rovo-dev/ui/rovoDevView.tsx
marcomura
marcomura previously approved these changes Jan 8, 2026

@marcomura marcomura left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

left a comment

Comment thread src/rovo-dev/ui/rovoDevView.tsx
Comment thread src/rovo-dev/ui/utils.tsx
@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.

4 participants