Skip to content

feat(proto): add session wire types — SessionStatus, SessionUpdate, SessionAggregates - #260

Merged
ajianaz merged 1 commit into
developfrom
feat/240-session-proto-types
Jun 27, 2026
Merged

feat(proto): add session wire types — SessionStatus, SessionUpdate, SessionAggregates#260
ajianaz merged 1 commit into
developfrom
feat/240-session-proto-types

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Closes #240 · Parent: #232

Summary

Add session/replay wire types for Sentry SDK session envelope items.

Types added

  • SessionStatus enum (Ok, Exited, Crashed, Abnormal)
  • SessionAttributes (release, env, ip, user_agent)
  • SessionUpdate (individual session item)
  • SessionAggregateItem + SessionAggregates (batched)
  • ParsedEnvelope extended with session_updates + session_aggregates

Tests: 26/26 pass

…essionAggregates (#240)

- SessionStatus enum: Ok, Exited, Crashed, Abnormal
- SessionAttributes: release, environment, ip_address, user_agent
- SessionUpdate: individual session envelope item
- SessionAggregateItem + SessionAggregates: batched session data
- Extend ParsedEnvelope with session_updates + session_aggregates fields
- 3 serde round-trip tests (status, update, aggregates)
- 26/26 tests passing

Closes #240
@ajianaz
ajianaz merged commit 3929275 into develop Jun 27, 2026
10 checks passed
@ajianaz
ajianaz deleted the feat/240-session-proto-types branch June 27, 2026 04:47
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.

2a: Add Session wire types to trapfall-proto

1 participant