Commit 38fb681
committed
refactor(flowcontrol): scrub shard vocabulary and rewrite docs to single-processor model
Post-llm-d#889 the flow control layer is single-processor, but the package/type docs and many
comments/log strings/test names still described the old sharded supervisor-worker-pool design
(and referenced deleted types like RegistryShard/ShardProcessor). Rename the vestigial 'shard'
vocabulary to match reality (sp->p receiver, log/error strings, comments, test names), rewrite
the doc.go files and stale type docs to the single-processor model, make doc.go the single
source of truth for the controller package architecture, correct the wrong distributeRequest
and managedQueue.Add docstrings, and drop the one-use flowComponents wrapper. No behavior change.
Refs: llm-d#889
Signed-off-by: Luke Van Drie <lukevandrie@google.com>1 parent d8a0c46 commit 38fb681
14 files changed
Lines changed: 212 additions & 228 deletions
File tree
- pkg/epp
- flowcontrol
- controller
- internal
- registry
- framework/interface/flowcontrol
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | | - | |
| 44 | + | |
50 | 45 | | |
51 | 46 | | |
52 | 47 | | |
| |||
70 | 65 | | |
71 | 66 | | |
72 | 67 | | |
73 | | - | |
74 | | - | |
| 68 | + | |
| 69 | + | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
| |||
334 | 329 | | |
335 | 330 | | |
336 | 331 | | |
337 | | - | |
| 332 | + | |
338 | 333 | | |
339 | 334 | | |
340 | 335 | | |
| |||
426 | 421 | | |
427 | 422 | | |
428 | 423 | | |
429 | | - | |
430 | | - | |
| 424 | + | |
431 | 425 | | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
437 | 430 | | |
438 | 431 | | |
439 | 432 | | |
440 | 433 | | |
441 | | - | |
442 | | - | |
443 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
444 | 437 | | |
445 | 438 | | |
446 | 439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
0 commit comments