You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(objectql)!: retire the dead ObjectQLEngine.use() plugin path (#4242)
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.
Claude-Session: https://claude.ai/code/session_01HrRNgrWaRtggzmrHpbomyh
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments