Skip to content

Let every miles process name itself as the component it is - #2503

Open
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op20-8from
tom/refactor-miles/op21-3
Open

Let every miles process name itself as the component it is#2503
fzyzcjy wants to merge 1 commit into
tom/refactor-miles/op20-8from
tom/refactor-miles/op21-3

Conversation

@fzyzcjy

@fzyzcjy fzyzcjy commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op21-3 branch from 6fa4bd5 to ed8d752 Compare August 13, 2026 03:25
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op20-8 branch from cd9cd48 to cfa0a2c Compare August 13, 2026 06:01
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op21-3 branch from ed8d752 to 1102d48 Compare August 13, 2026 06:01
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op20-8 branch from cfa0a2c to 9e89fef Compare August 13, 2026 06:40
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op21-3 branch 2 times, most recently from 0b0f824 to ebe8c10 Compare August 14, 2026 04:45
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op20-8 branch from 29ea1dc to f8f2db1 Compare August 14, 2026 04:49
@fzyzcjy
fzyzcjy force-pushed the tom/refactor-miles/op21-3 branch from ebe8c10 to eb23766 Compare August 14, 2026 04:49
Three of the process identities were empty classes whose only content was
the literal that names them, so the union carried five members to express
five constants. Pydantic lets one member declare several literal values for
the discriminator, so they collapse into SimpleProcessIdentity and the
component becomes an argument rather than a class.

Two processes were missing from that picture entirely: the multi-LoRA
controller and the ray worker manager each own a process but never called
configure_logger, so their events had nowhere to go and their logs carried
no name. Both configure a logger now, which is why the worker manager's
launch and init take the run's args.
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