Skip to content

Add a periodic tick sweep over the rollout cells - #2097

Open
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op13-118from
tom/refactor-miles/op13-119
Open

Add a periodic tick sweep over the rollout cells#2097
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op13-118from
tom/refactor-miles/op13-119

Conversation

@fzyzcjy

@fzyzcjy fzyzcjy commented Aug 3, 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/op13-118 branch from 9a663a9 to f3701c7 Compare August 3, 2026 23:43
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 2 times, most recently from dde9aec to a7b458d Compare August 4, 2026 00:38
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 0cfae7d to 2a9824b Compare August 4, 2026 02:36
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from a7b458d to 137f21d Compare August 4, 2026 02:36
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 2a9824b to 13811cb Compare August 4, 2026 06:53
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 137f21d to 58a69cf Compare August 4, 2026 06:53
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 13811cb to 2589578 Compare August 4, 2026 07:24
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 58a69cf to 47c83b9 Compare August 4, 2026 07:24
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 2589578 to 206df79 Compare August 4, 2026 07:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 2 times, most recently from 9abc46a to d0fbbff Compare August 6, 2026 03:46
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 206df79 to bfc30f2 Compare August 6, 2026 03:46
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from d0fbbff to d58254d Compare August 6, 2026 07:04
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from bfc30f2 to e024b0e Compare August 6, 2026 07:04
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 2 times, most recently from a3ac4fb to d825a69 Compare August 10, 2026 00:44
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 9d64207 to 37be5f8 Compare August 10, 2026 06:00
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from d825a69 to 29be034 Compare August 10, 2026 06:00
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 37be5f8 to 5877b7a Compare August 10, 2026 16:06
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 4 times, most recently from 88ea78b to ca37002 Compare August 12, 2026 09:32
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 97b950a to cdc6b8b Compare August 12, 2026 14:31
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 2 times, most recently from 6f8ab9a to 262ab1d Compare August 12, 2026 14:36
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch 2 times, most recently from 0bf7952 to de3bffa Compare August 12, 2026 23:56
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch 3 times, most recently from e5c5f0c to 3d17ff6 Compare August 13, 2026 03:11
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 1122d4e to e37180c Compare August 13, 2026 03:25
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 3d17ff6 to 4cd949d Compare August 13, 2026 03:25
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from e37180c to 8ff168d Compare August 13, 2026 06:00
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 4cd949d to 8eee1c8 Compare August 13, 2026 06:00
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from 8ff168d to b2fa901 Compare August 13, 2026 06:39
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 8eee1c8 to 72adb4a Compare August 13, 2026 06:39
The cell state machine is about to grow steps that must run outside the
reconcile path. Add the driver for them: an empty per-cell tick plus the
controller loop that sweeps every cell, survives a failing cell and is
cancelled on teardown.
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-118 branch from b2fa901 to fd2f4ec Compare August 14, 2026 04:45
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op13-119 branch from 72adb4a to cdfe05f Compare August 14, 2026 04:45
Comment thread miles/utils/misc.py
self._task.cancel()
try:
await self._task
except asyncio.CancelledError:

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.

[P2] Preserve cancellation from the disposing caller

SimpleTicker.dispose() catches every asyncio.CancelledError raised at this await, so it cannot distinguish the expected cancellation of self._task from cancellation of the task currently disposing the controller. If an outer shutdown deadline fires while this await is pending, that cancellation is swallowed and InferenceController.dispose() continues into watcher teardown instead of propagating it. This remains unchanged at safe-merge checkpoint #2176 and checked tip #2649. Please consume only the owned ticker task cancellation and add a deterministic test that cancels the dispose caller.

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