Skip to content

STA-4150: add command authority and reconciliation - #14956

Closed
Jinwoo-H wants to merge 28 commits into
sta-4150-landing-electron-lifecyclefrom
sta-4150-landing-command-authority
Closed

Jinwoo-H wants to merge 28 commits into
sta-4150-landing-electron-lifecyclefrom
sta-4150-landing-command-authority

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 57 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11319 $\color{#cf222e}{\Huge{\mathbf{−}}}$​30 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11289
Prod 101 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​11010 $\color{#cf222e}{\Huge{\mathbf{−}}}$​605 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​10405

Summary

Stack 4/5 for STA-4150, based on #14955. Adds bounded client-page command/result settlement, retained Electron guest ownership, inventory, reconnect grace, authority transition, and proof-driven reconciliation.

Compatibility

  • Runtime retains logical identity, placement, command authority, and reconciliation.
  • Unknown outcomes stay fenced; old peers keep server placement.
  • Command and tunnel resources are independently bounded.

Validation

  • Full Node/CLI/web typecheck
  • Full lint, audits, max-lines, localization, and 88 reliability gates
  • Command/lease/reconnect/reconciliation suite: 107 tests passed

Draft only. Do not merge outside the complete stack.

@Jinwoo-H Jinwoo-H changed the title sta 4150 landing command authority STA-4150: add command authority and reconciliation Aug 16, 2026
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from dd4e08a to f36b2b4 Compare August 16, 2026 20:50
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from c0ae154 to cb04a85 Compare August 16, 2026 21:54
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from f36b2b4 to 6e0f6b6 Compare August 16, 2026 21:54
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from cb04a85 to e6dbfb4 Compare August 16, 2026 22:01
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from 6e0f6b6 to fb0eb9b Compare August 16, 2026 22:01
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from e6dbfb4 to 7933e78 Compare August 16, 2026 22:35
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from fb0eb9b to 1042652 Compare August 16, 2026 22:35
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 7933e78 to d402d88 Compare August 16, 2026 23:07
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from 1042652 to 323d347 Compare August 16, 2026 23:07
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from d402d88 to 11ba439 Compare August 17, 2026 00:01
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from 323d347 to 176b907 Compare August 17, 2026 00:01
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 11ba439 to 9ded878 Compare August 17, 2026 01:05
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch 2 times, most recently from f0a2288 to b604f58 Compare August 17, 2026 02:02
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 9ded878 to 54d78c8 Compare August 17, 2026 02:02
@Jinwoo-H

Copy link
Copy Markdown
Contributor Author

Latest native-host checkpoint at b604f5850f:

  • The Linux and Windows package workflows both include the retained-guest Electron lifecycle test and the real-Electron WebRTC direct-egress test.
  • The workflow contract is green 23/23 locally; fresh native execution is now running on the pushed heads.
  • This coverage adds no wire field or server behavior and does not change old/mobile/web/browserless/explicit-server, SSH, WSL, folder-workspace, or worktree placement.

@Jinwoo-H

Copy link
Copy Markdown
Contributor Author

Layer CI closure at b7bd319cc4: both Node 24/26 shard 16 failures were the stale integration guest double already identified on the cumulative tree; it now models and asserts the required disable_non_proxied_udp call in its owning layer. Static analysis also found this layer one effective line over max-lines, so the existing registration guard and registry dependency contract were extracted into concrete modules without behavior change. Focused tests pass 31/31, typecheck/oxlint/max-lines pass, and the exact layer shard passes 365 files / 3,110 tests with one intentional skip. Rebasing #14957 preserved the cumulative product tree byte-for-byte.

@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 54d78c8 to 2024a2d Compare August 17, 2026 02:36
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from b7bd319 to 1d9a7b1 Compare August 17, 2026 02:36
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 2024a2d to 8822761 Compare August 17, 2026 03:54
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from 1d9a7b1 to 2e35957 Compare August 17, 2026 03:54
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 8822761 to d2ece7c Compare August 17, 2026 04:01
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch 2 times, most recently from ab29c01 to 523b6de Compare August 17, 2026 04:15
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 2324309 to 4490d98 Compare August 17, 2026 04:17
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from 523b6de to ea1b2bd Compare August 17, 2026 04:17
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-electron-lifecycle branch from 4490d98 to a46c591 Compare August 17, 2026 06:32
@Jinwoo-H
Jinwoo-H force-pushed the sta-4150-landing-command-authority branch from ea1b2bd to b882620 Compare August 17, 2026 06:33
@Jinwoo-H

Copy link
Copy Markdown
Contributor Author

Superseded by the consolidated PR #15448 (the full STA-4150 feature merged with latest main). This PR's diff remains as the per-layer review view; its CI was fully green at close.

@Jinwoo-H Jinwoo-H closed this Aug 19, 2026
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