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
render skills list and render skills remove panic with -o text, json or yaml #79
render skills list -o text (and -o json, and any non-TTY run, which auto-switches to text)
panics instead of printing the list. Seen in v2.35.0 and still in v2.40.0 on linux/amd64.
Cause.cmd/skillslist.go always pushes the TUI view with tui.GetStackFromContext(ctx).Push(...). When the output format isn't interactive there's no
stack in the context, so Push runs on a nil *StackModel.
Suggested fix. Check the output format first. For text, json and yaml, print the skills
directly, as other list commands do, and push the TUI view only in interactive mode. A test that
runs skills list -o json without a TTY would cover it. Happy to open a PR. Fixed in #80.
Update: render skills remove crashes the same way. Without --all or --skill it always opens its picker, so with -o text (even in a terminal), -o json, or no TTY it hits the same nil *StackModel. --confirm doesn't avoid it. Reproduced with v2.40.0:
$ render skills remove --confirm --tool claude --scope user -o text
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc026c7]
goroutine 1 [running]:
github.com/render-oss/cli/pkg/tui.(*StackModel).Push(...)
github.com/render-oss/cli/pkg/tui/stack.go:105 +0x47
github.com/render-oss/cli/cmd.init.func17(...)
github.com/render-oss/cli/cmd/skillsremove.go:58 +0x2c5
#80 fixes both: skills list prints the list, and skills remove returns --all or --skill is required in non-interactive mode. render skills update and bare render skills have the same problem and are left for a follow-up.
changed the title [-]`render skills list` panics with a nil pointer when output isn't interactive[/-][+]`render skills list` and `render skills remove` panic with a nil pointer when output isn't interactive[/+]on Dec 3, 2026
changed the title [-]`render skills list` and `render skills remove` panic with a nil pointer when output isn't interactive[/-][+]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`, even in a terminal[/+]on Dec 3, 2026
changed the title [-]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`, even in a terminal[/-][+]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`[/+]on Dec 3, 2026
Activity
Add a regression test for render skills list outside interactive mode
Fix render skills list crash outside interactive mode
Add a regression test for render skills remove outside interactive mode
Fix render skills remove crash outside interactive mode
[-]`render skills list` panics with a nil pointer when output isn't interactive[/-][+]`render skills list` and `render skills remove` panic with a nil pointer when output isn't interactive[/+][-]`render skills list` and `render skills remove` panic with a nil pointer when output isn't interactive[/-][+]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`, even in a terminal[/+][-]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`, even in a terminal[/-][+]`render skills list` and `render skills remove` panic with `-o text`, `json` or `yaml`[/+]Add tests for the remaining render skills commands outside interactiv…
Fix the remaining render skills commands outside interactive mode
[RUN-202] Fix render skills list panic without a TTY (#953)