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
fix(dashboard): --tab with an unknown tab ends with a ValueError traceback, and refresh_all has no caller #1904
devops dashboard --tab <value> with a value that names no tab ends with a Python traceback: ValueError: No Tab with id '--content-tab-<value>'. A user sees the traceback and not a message that names the valid tabs.
Evidence
A headless run of DashboardApp with initial_tab set to tab-nope, tab-ai and tab-5 ends with ValueError No Tab with id '--content-tab-tab-nope' and the same text for the two other values.
The project rule says that domain errors raise typed exceptions from DevOpsCLIError with an exit code and a machine-readable error code (docs/ERRORS.md).
Reject an unknown --tab value at the command boundary with a typed error. The message names the valid tab values. The test uses the real value list of the dashboard, not a copy of it. Delete refresh_all if a search confirms that nothing calls it.
Activity
dan-petty commentedon Oct 22, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate fixes an incorrect behavior where unknown tab values caused a traceback instead of a user-friendly error message.It improves user experience by providing clear error messages and prevents unhandled exceptions in the CLI.Users interacting with the dashboard CLI will benefit from clearer feedback when they specify invalid tab names.The fix involves adding a validation check at the command boundary and removing an unused function, both straightforward tasks.fix(dashboard): reject unknown tab option values and remove refresh_a…
chore(main): release 0.6.5 (#2311)