Skip to content

Conversation

@Dobrunia
Copy link
Member

  • Introduced BreadcrumbLevel and BreadcrumbType enums for categorizing breadcrumbs.
  • Added Breadcrumb type to represent events leading up to errors, including fields for timestamp, type, category, message, severity level, and associated data.
  • Updated EventPayload to include a breadcrumbs field for tracking chronological events before an error.

Dobrunia and others added 3 commits January 15, 2026 04:31
…initions

- Introduced BreadcrumbLevel and BreadcrumbType enums for categorizing breadcrumbs.
- Added Breadcrumb type to represent events leading up to errors, including fields for timestamp, type, category, message, severity level, and associated data.
- Updated EventPayload to include a breadcrumbs field for tracking chronological events before an error.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds breadcrumb tracking capabilities to the event system, enabling the capture of chronological events leading up to errors. The changes introduce two new enums for categorizing breadcrumbs, a Breadcrumb type definition, and integration into the existing EventPayload type.

Changes:

  • Added BreadcrumbLevel enum with five severity levels (fatal, error, warning, info, debug)
  • Added BreadcrumbType enum with six categorization types (default, request, ui, navigation, logic, error)
  • Added Breadcrumb type with fields for timestamp, type, category, message, level, and arbitrary data
  • Extended EventPayload with a breadcrumbs field to track chronological events before errors
  • Bumped version from 1.3.1 to 1.3.2

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/typeDefs/event.ts Added BreadcrumbLevel and BreadcrumbType enums, Breadcrumb type definition, and integrated breadcrumbs array into EventPayload; includes minor whitespace cleanup
package.json Bumped version to 1.3.2 reflecting the new breadcrumb feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants