fix(trace): Fixed trace messages not updating#2082
Merged
tadayosi merged 1 commit intohawtio:mainfrom May 1, 2026
Merged
Conversation
Test resultsRun attempt: 5737
|
tadayosi
approved these changes
May 1, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the Camel Trace UI so incoming traced messages trigger React re-renders (instead of being stored only in a useRef), and adds an in-UI note when tracing is enabled but no messages have arrived yet.
Changes:
- Replace
messagesstored in auseRefwith React state (parsedMessages) to ensure the message table updates live. - Update message accumulation logic to use the new ref/state pairing (
previousMessages+parsedMessages). - Add an “Awaiting tracing messages.” empty state when tracing is active but the table is still empty.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
@joshiraezcode tried adding copilot as a reviewer. Do those make sense? |
Contributor
Author
|
@tadayosi Some of them make sense. Working on the comments |
5da8fb9 to
df8cf32
Compare
Contributor
Author
|
Comments reviewed and fixed. |
tadayosi
approved these changes
May 1, 2026
df8cf32 to
98d4ba0
Compare
tadayosi
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ok so PR ready. No major changes needed, it was a state change not being detected by react because we were using an useRef. I also added a new comment so the user knows the Tracing is activated and awaiting for messages
Things that are fixed:
Things that are unknown if are fixed but not reproducible:
Things that I didn’t fix because seems business logic/needs external changes:
Grabacion.de.pantalla.desde.2026-05-01.00-28-47.mp4