Gate sc-tray on static analysis and a coverage ratchet #4
No reviewers
Labels
No labels
⏳in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grey.ooo/someones.computer_tray!4
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/static-analysis-and-coverage-gate"
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?
Companion to scclient #4, which explains the shape. Same three files.
17% is the honest number here, and it is the reason for a ratchet rather than a target. Most of this package is menu callbacks the OS drives and systray mutation that needs a display — a line-coverage goal would be met by testing the wrong things. The capture suite is what actually exercises those paths, and the ratchet stops the 17% rotting downwards while that suite grows to replace it (#627).
One finding, and a fair one: the notification path hands a deployment name to
osascript. It was already quoted into an AppleScript literal for exactly that reason — the pragma now says so on the line.Clean at
hack/lint.sh;go test,go vetand all four static cross-compile targets still green.