Skip to content

fix(runner): mint restart-safe session IDs (RIG-3696) - #1280

Open
rigel-mintaka wants to merge 1 commit into
mainfrom
compass/rig-3696-restart-safe-session-ids
Open

rigel-mintaka wants to merge 1 commit into
mainfrom
compass/rig-3696-restart-safe-session-ids

Conversation

@rigel-mintaka

Copy link
Copy Markdown
Contributor

Replace the Runner process-local counter with a crypto-random sess-prefixed ID allocator. Fresh session IDs remain safe for path and fabric use while avoiding collisions with durable ownership rows after a Runner restart. Keep resume_session_id reuse unchanged and update the existing binding regression to assert the new logical-ID invariant.\n\nSpec-impact: none. Refs RIG-3696\nCo-authored-by: Matt Wilkinson matt@rigel.build

Replace the Runner process-local counter with a crypto-random sess-prefixed ID allocator. Fresh session IDs remain safe for path and fabric use while avoiding collisions with durable ownership rows after a Runner restart. Keep resume_session_id reuse unchanged and update the existing binding regression to assert the new logical-ID invariant.\n\nSpec-impact: none. Refs RIG-3696\nCo-authored-by: Matt Wilkinson <matt@rigel.build>
@trunk-io

trunk-io Bot commented Sep 18, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

RIG-3696

@github-actions

Copy link
Copy Markdown

Compass engineering docs preview: https://compass-rig-3696-restart-saf.compass-eng-docs.pages.dev

Deployed from compass/rig-3696-restart-safe-session-ids at d87d463.

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