fix: seven quick-win bug fixes #111
Reference in New Issue
Block a user
Delete Branch "fix/quick-wins"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Seven independent small fixes from the review-findings backlog.
triggerAlertreturns early whenalertID <= 0/api/backup/exportenforces GET — was the only endpoint accepting any methodlimitStrguards againstmax < 3— prevents panic on very narrow terminalsmsg.Runesinstead ofmsg.String()byte checkUPTOP_KEYSfile open failure logged — was silently swallowedTest plan
go test -count=1 ./...— all passgolangci-lint— 0 issueslimitStrtests pass (includingmax=3edge case)