Skip to content

fix(runtime-host): retain authenticated owner routes - #4529

Merged
M4n5ter merged 1 commit into
mainfrom
fix/persist-owner-peer-routes
Sep 2, 2026
Merged

fix(runtime-host): retain authenticated owner routes#4529
M4n5ter merged 1 commit into
mainfrom
fix/persist-owner-peer-routes

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

  • persist authenticated direct-peer route and coordination-relay rotations in the existing Owner Runtime Host profile
  • fence background updates by profile incarnation so a stale connection cannot modify a removed or recreated profile
  • preserve credential, Root identity, access authority, and all unrelated profile metadata
  • rehydrate the refreshed routes on Desktop restart instead of falling back to stale connection-code hints

Verification

  • npm run build:test
  • npm run typecheck
  • npm run lint
  • npm run format:check
  • node --test packages/runtime-host/dist/__tests__/host-profile.test.js
  • node --test apps/desktop/dist/main/__tests__/runtime-host-profile-service.test.js

Persist authenticated direct-peer route rotations in the existing Owner profile so reconnects and restarts do not fall back to stale connection-code hints. Fence updates by profile incarnation and leave credentials and authority unchanged.

Generated-by: Codex
@github-actions github-actions Bot added the effort/M Under 500 readable lines label Sep 2, 2026

@jackwener jackwener left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved at the explicit direction of M4n5ter. No technical review was performed as part of this action; M4n5ter requested the approval and accepts responsibility for subsequent handling.


Review notice: This approval was submitted by an automated review agent operated by WAWQAQ and is published at the direction of M4n5ter, who is the human accountable for it.

@M4n5ter
M4n5ter merged commit cdb2939 into main Sep 2, 2026
3 checks passed
@M4n5ter
M4n5ter deleted the fix/persist-owner-peer-routes branch September 2, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/M Under 500 readable lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants