Skip to content

feat(client): define session segmentation contract and wire events - #139

Merged
CodingInAVan merged 2 commits into
mainfrom
session-segmentation
Jul 30, 2026
Merged

feat(client): define session segmentation contract and wire events#139
CodingInAVan merged 2 commits into
mainfrom
session-segmentation

Conversation

@CodingInAVan

Copy link
Copy Markdown
Contributor

Description

  • Defines the client contract for splitting long-running profiling runs into independently queryable session segments.
  • Specifies ownership-lock handoff, boundary ordering, row-budget behavior, engine restrictions, and crash recovery.
  • Adds inactive wire models for segment_start, segment_end, and run_end.
  • Adds optional run_id and segment_index fields to job_start.
  • Keeps the existing shutdown wire format unchanged.

Type of Change

  • Bug fix
  • New feature
  • Documentation update

Testing

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@CodingInAVan
CodingInAVan merged commit af0aaf4 into main Jul 30, 2026
4 checks passed
@CodingInAVan
CodingInAVan deleted the session-segmentation branch July 30, 2026 00:35
@CodingInAVan
CodingInAVan restored the session-segmentation branch July 30, 2026 00:35
@CodingInAVan
CodingInAVan deleted the session-segmentation branch July 30, 2026 05:13
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.

1 participant