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
After the gh lookup regression surfaced, running gh --help from PawWork shell produced a renderer crash instead of a normal command failure display. The visible error was TypeError: switchFunc(...) is not a function from pawwork-renderer://renderer/assets/styles-C-a255bR.js:1147:29.
This appears to be a separate renderer resilience issue: even if a command is missing or fails, the app should render the shell output or an error card, not crash the renderer while displaying the failed command state.
Observe the renderer throwing TypeError: switchFunc(...) is not a function with a stack pointing to styles-C-a255bR.js.
What did you expect to happen?
PawWork should display a normal shell command failure, for example command not found output or a tool error card. Renderer components should tolerate failed shell command states without throwing a Solid runtime error.
Observed stack: TypeError: switchFunc(...) is not a function at Object.fn (pawwork-renderer://renderer/assets/styles-C-a255bR.js:1147:29), followed by Solid computation frames. Local source inspection maps styles-C-a255bR.js:1147 to Solid's <Switch> runtime. The root command lookup regression should be tracked separately, but this issue should remain because command failures must not crash the renderer.
What happened?
After the
ghlookup regression surfaced, runninggh --helpfrom PawWork shell produced a renderer crash instead of a normal command failure display. The visible error wasTypeError: switchFunc(...) is not a functionfrompawwork-renderer://renderer/assets/styles-C-a255bR.js:1147:29.This appears to be a separate renderer resilience issue: even if a command is missing or fails, the app should render the shell output or an error card, not crash the renderer while displaying the failed command state.
Steps to reproduce
ghfrom its shell PATH.gh --help.TypeError: switchFunc(...) is not a functionwith a stack pointing tostyles-C-a255bR.js.What did you expect to happen?
PawWork should display a normal shell command failure, for example command not found output or a tool error card. Renderer components should tolerate failed shell command states without throwing a Solid runtime error.
PawWork version
v0.2.5 dev build after PR #167
OS version
macOS, observed on Apple Silicon
Can you reproduce it again?
Yes, every time
Screenshots, recordings, or extra context
Observed stack:
TypeError: switchFunc(...) is not a functionatObject.fn (pawwork-renderer://renderer/assets/styles-C-a255bR.js:1147:29), followed by Solid computation frames. Local source inspection mapsstyles-C-a255bR.js:1147to Solid's<Switch>runtime. The root command lookup regression should be tracked separately, but this issue should remain because command failures must not crash the renderer.