Skip to content

fix(units): preserve unit-type suffixes in name prefixes - #21

Merged
taigrr merged 1 commit into
masterfrom
cd/round4-20261105
Nov 8, 2026
Merged

taigrr merged 1 commit into
masterfrom
cd/round4-20261105

Conversation

@taigrr

@taigrr taigrr commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove only the final unit-type suffix when normalizing unit names.
  • Preserve prefixes such as backup.timer in backup.timer.service, including masked-unit listings.
  • Add regressions for one and multiple unit-type components in the prefix.

Verification

  • Regression tests failed before the fix and pass afterward.
  • go test -race ./... passes (baseline and final).
  • go generate ./..., go vet ./..., staticcheck ./..., goimports, and git diff --check pass.

No dependency changes; avoids the open toolchain PR #20.

@taigrr
taigrr merged commit 5967f3f into master Nov 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant