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
{{ message }}
Repository navigation
[Bug]: validate/test/dev still hide host file load and extension host() errors behind "Operation failed" #724
Found while fixing #714 (branch claude/sleepy-shannon-xvazgl, commit "fix(core): report extension activation errors from validate, test and dev (#714)"). Found by reading the code; not reproduced end to end.
Minimal reproduction
The #714 fix reports errors thrown by an extension's activate() (and by preparing its registration) from validate, test and dev, naming the extension. Two earlier failure points are not covered and still print the generic message:
host.mjs itself throws while being imported (for example, a bad import or a top-level error in the operator's host file).
An extension's host() hook throws inside composeHost, before prepareExtensions runs.
Both are in packages/core/src/operator-host.ts / packages/core/src/host.ts.
Relevant output
{"event":"error","message":"Operation failed; check project files, module dependencies and command options"}
describeError passes through only ConfigError/HttpError. These are operator-authored files on local operator surfaces, so it would be reasonable to wrap them the same way as activation errors (Host file failed to load: …, Extension "<name>" host() failed: …): a bounded single line, no stack, and never in HTTP responses. Unverified: whether a module-resolution error message could include paths that should stay hidden on shared CI logs.
Activity
feat(core): authoring fixture/diff tools, automatic host revision pin…