Skip to content

fix(tag): preserve getter comparability panics - #454

Merged
linkdata merged 1 commit into
mainfrom
fix/tag-getter-panic
Sep 29, 2026
Merged

linkdata merged 1 commit into
mainfrom
fix/tag-getter-panic

Conversation

@linkdata

Copy link
Copy Markdown
Owner

Summary

  • Let panics raised inside JawsGetTag propagate unchanged, including runtime comparability panics.
  • Keep the existing fallback recovery for comparability panics from tag expansion.
  • Add a regression test and correct the stale recovery test comment.

Verification

  • The new regression test failed before the fix and passes afterward.
  • go test ./... -count=1
  • go test -race ./lib/tag -count=1
  • Focused tag expansion benchmarks showed no allocation changes.

Fixes #437

@linkdata
linkdata merged commit 6a416cf into main Sep 29, 2026
7 checks passed
@linkdata
linkdata deleted the fix/tag-getter-panic branch September 29, 2026 08:59
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.

tag: TagExpand recover masks user JawsGetTag panics as ErrNotUsableAsTag

1 participant