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
[Code Quality] refactor: unify updateFailure/actionUpdateFailure duplicate structs in pkg/cli/update_types.go #49345
pkg/cli/update_types.go declares two structurally identical error-record types six lines apart: updateFailure{Name, Error string} (line 10) and actionUpdateFailure{name, err string} (line 17). Both represent the same "name + failure message" concept with only casing/field-name differences (unexported fields in the second).
Suggested Changes
Unify into a single exported updateFailure{Name, Error string} type
Update the actionUpdateFailure call sites (workflow action update-check path) to use updateFailure instead
Remove the now-redundant actionUpdateFailure type
Files Affected
pkg/cli/update_types.go
Call sites constructing/reading actionUpdateFailure (search pkg/cli/update_command.go and related update-flow files)
Success Criteria
Single canonical updateFailure struct used for both workflow-update and action-update failure records
No behavior change; existing update command output/tests unaffected
Activity
github-actions commentedon Aug 1, 2026
This issue was automatically closed because it expired on 2026-08-01T13:24:19.989Z.