Commit b2c0ab1
committed
fix(objectql)!: retire the dead ObjectQLEngine.use() plugin path
The engine's own plugin loader — registerApp + an onEnable dispatch over
an ObjectQLHostContext — has zero callers repo-wide: kernel plugins go
through kernel.use() → init/start, and the manifest path routes through
registerApp() directly. The onEnable dispatch is the engine-level twin
of the #4212 disease (a lifecycle entry point that reads as a contract
and never runs); the app-bundle onEnable module export is a different,
real contract and is unchanged.
Removed use(), the ObjectQLHostContext type (constructed only inside
the dead method; un-exported from both barrels), and the write-only
hostContext field — the constructor keeps its signature and its logger
extraction, so new ObjectQL({ logger }) and ObjectQLPlugin's
hostContext option are unaffected.
Verified: objectql 1271 tests green (82 files) after a full turbo build
(71 packages) with the change in place; the 42 pre-existing local
failures reproduced identically on pristine main with the change
stashed and disappeared after rebuilding stale sibling dists —
unrelated to this diff.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HrRNgrWaRtggzmrHpbomyh1 parent 7777e8f commit b2c0ab1
4 files changed
Lines changed: 36 additions & 52 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 266 | | |
277 | 267 | | |
278 | 268 | | |
| |||
392 | 382 | | |
393 | 383 | | |
394 | 384 | | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | 385 | | |
399 | 386 | | |
400 | 387 | | |
| |||
423 | 410 | | |
424 | 411 | | |
425 | 412 | | |
426 | | - | |
427 | 413 | | |
428 | 414 | | |
429 | 415 | | |
| |||
462 | 448 | | |
463 | 449 | | |
464 | 450 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 451 | | |
502 | 452 | | |
503 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments