Skip to content

Conversation

@andreasohlund
Copy link
Member

@andreasohlund andreasohlund commented Apr 22, 2025

I did some testing to figure out which minimal set of metadata is needed for error imports to work.

Notes:

  • Requiring the ProcessingMachine feels off, I think we should default it to null or unknown to be more flexible when importing
  • MessageId header is needed for some reason, even though we have the native message id from the transport

I will raise follow-up PRs to address the above

@andreasohlund andreasohlund self-assigned this Apr 22, 2025
@ramonsmits
Copy link
Member

  • Requiring the ProcessingMachine feels off, I think we should default it to null or unknown to be more flexible when importing

Indeed, that should be optional but requires SP/SC changes.

  • MessageId header is needed for some reason, even though we have the native message id from the transport

The header might be auto generated based on the transport message ID in some transports.

Where are you referring to? It isn't obvious in the diff from this PR.

@andreasohlund
Copy link
Member Author

@ramonsmits I've created separate tests for what is needed for ingestion to work vs what is needed for the UI to render reasonably. See if you like it

Copy link
Member

@ramonsmits ramonsmits left a comment

Choose a reason for hiding this comment

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

LGTM except for the string values

@andreasohlund
Copy link
Member Author

Good catch, replaced with constants now

@andreasohlund andreasohlund enabled auto-merge (squash) April 25, 2025 08:27
@andreasohlund andreasohlund merged commit 3b02216 into master Apr 25, 2025
32 checks passed
@andreasohlund andreasohlund deleted the minimal-error-ingestion branch April 25, 2025 08:41
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.

3 participants