Skip to content

Address workers by cell index and let the cell describe itself to the router - #1880

Open
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op5-24from
tom/refactor-miles/op5-23
Open

Address workers by cell index and let the cell describe itself to the router#1880
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op5-24from
tom/refactor-miles/op5-23

Conversation

@fzyzcjy

@fzyzcjy fzyzcjy commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Part of #1837

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from b69a8f7 to c916396 Compare July 28, 2026 13:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch from 321e282 to 92a733e Compare July 28, 2026 13:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from c916396 to d9f5adc Compare August 3, 2026 23:45
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch from 92a733e to a9eb34e Compare August 3, 2026 23:45
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from d9f5adc to ec352af Compare August 4, 2026 00:39
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch 2 times, most recently from 04e65d7 to 975ce31 Compare August 4, 2026 06:57
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch 2 times, most recently from 9d10f8b to e37c198 Compare August 6, 2026 07:03
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch 2 times, most recently from 81ebf4e to c326b1e Compare August 10, 2026 06:07
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch 2 times, most recently from a7528da to d903659 Compare August 10, 2026 16:07
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch 2 times, most recently from 39948d0 to 9ed4407 Compare August 10, 2026 16:34
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from 6550b6b to fa7b944 Compare August 12, 2026 02:48
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch 2 times, most recently from 081b08f to ac37584 Compare August 12, 2026 14:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from fa7b944 to 9fe573d Compare August 12, 2026 14:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch from ac37584 to 045a39b Compare August 12, 2026 23:56
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from 9fe573d to 03f81c5 Compare August 12, 2026 23:56
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch from 045a39b to ff36578 Compare August 13, 2026 01:13
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-24 branch from 4995de7 to df3cb3e Compare August 13, 2026 03:25
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch 2 times, most recently from 2fb2661 to ccfb2cc Compare August 13, 2026 06:01
… router

The router only ever hears about one primary engine per cell, so callers
were flattening cell indices into engine indices purely for the callee to
filter them back down via a modulo check. register_workers,
unregister_workers, mark_alive and the start_engines return value now all
speak cell indices, and the per-cell payload (url, worker type, bootstrap
port, legacy-api flag) moves into ServerCell.register / .unregister --
the group keeps only the router connection and the gating.
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op5-23 branch from ccfb2cc to d6616bb Compare August 14, 2026 04:45

@guapisolo guapisolo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved for the #2176 safe-merge checkpoint: the cell-index contract is carried consistently through lifecycle and router membership, and the checked chain keeps that ownership model intact.

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.

2 participants