Pulse/internal/updates
rcourtman 743ba7e5a3 Cover the Unraid merge, setup classifier and retry helpers left untested
The Unraid disk mergers, the Proxmox setup output classifiers, the ZFS SMART
annotator, the Docker runtime command builder, the approval decision actor
and the update retry classifier were all at zero coverage. Each decides
something a user feels directly, whether an Unraid disk keeps its name after
a merge, whether a setup run reports an already-registered token as a
failure, which pool a SMART entry is attributed to, and whether a failed
update request is retried or surfaced as an error.

Adds branch coverage for mergeUnraidDiskINI, mergeUnraidDisk,
defaultUnraidDiskName, isAlreadyExistsOutput, the client error Error and
Unwrap methods, annotateSMARTWithZFSPools, dockerRuntimeCommand,
approvalDecisionActor and isRetryableUpdateRequestError, including nil and
whitespace arms, field precedence between base and incoming values, in-place
slice mutation asserted on the caller's value, and wrapped errors that only
resolve through errors.Is and errors.As. Every named target moves from zero
to full statement coverage.

Test-only change.

PULSE_ALLOW_CONTRACT_NEUTRAL_COMMIT=test-only branch coverage, no contract surface touched
2026-07-22 08:06:56 +01:00
..
adapter_installsh.go feat(updates): surface digest-pinned Pro Docker update commands from the broker 2026-07-10 16:03:59 +01:00
adapter_installsh_more_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
adapter_installsh_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
history.go Harden update history persistence root 2026-03-29 14:39:11 +01:00
history_test.go Harden update history persistence root 2026-03-29 14:39:11 +01:00
manager.go fix(updates): select releases by highest version, not GitHub list order 2026-07-17 23:21:49 +01:00
manager_additional_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
manager_applyupdate_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
manager_backup_runtime_test.go Harden self-hosted update runtime against low-disk drift 2026-04-22 09:40:49 +01:00
manager_check_updates_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
manager_checksum_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
manager_edition_test.go Update the Pro binary in-app from the license server download broker 2026-07-08 23:39:37 +01:00
manager_fileops_test.go Harden update manager directory scans 2026-03-29 14:23:13 +01:00
manager_more_test.go Enforce upgrade readiness before v6 updates 2026-05-28 17:22:01 +01:00
manager_pro_update_test.go Pro updater requests its channel from the dual-channel broker 2026-07-22 00:16:43 +01:00
manager_retry_test.go Harden update manager outbound requests 2026-03-29 13:11:14 +01:00
manager_rollback_test.go Block silent downgrades on apply and give the updater a sanctioned rollback path 2026-07-10 01:46:08 +01:00
manager_sse_helpers_test.go test: expand backend coverage 2026-01-25 21:08:44 +00:00
manager_stranded_upgrade_test.go fix(updates): select releases by highest version, not GitHub list order 2026-07-17 23:21:49 +01:00
manager_test.go Reframe prerelease update copy 2026-03-25 11:25:41 +00:00
mock_updater.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
mock_updater_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
pro_update.go Pro updater requests its channel from the dual-channel broker 2026-07-22 00:16:43 +01:00
release_notes.go Add in-app release highlights 2026-07-13 18:30:29 +01:00
release_notes_test.go Add in-app release highlights 2026-07-13 18:30:29 +01:00
retryable_error_branchcov0722am_test.go Cover the Unraid merge, setup classifier and retry helpers left untested 2026-07-22 08:06:56 +01:00
selftest.go Self-test the new binary before the in-app update swaps it in 2026-07-10 00:44:01 +01:00
selftest_test.go Self-test the new binary before the in-app update swaps it in 2026-07-10 00:44:01 +01:00
signature.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
signature_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
sse.go Remove 198 unreachable Go functions 2026-06-03 12:29:37 +01:00
sse_test.go feat: Pulse v6 release 2026-03-18 16:06:30 +00:00
updater.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
updater_test.go Delete the unreachable adapter Execute/Rollback update path and the unused UpdateQueue 2026-07-10 01:14:40 +01:00
version.go Canonicalize usage-data telemetry reporting 2026-04-14 11:05:10 +01:00
version_additional_test.go Fix updates mock deployment test 2026-04-11 15:06:44 +01:00
version_test.go Canonicalize usage-data telemetry reporting 2026-04-14 11:05:10 +01:00