Skip to content

fix: correct misleading ID prefix field descriptions#896

Merged
alexluong merged 2 commits intomainfrom
fix/idgen-prefix-desc
May 7, 2026
Merged

fix: correct misleading ID prefix field descriptions#896
alexluong merged 2 commits intomainfrom
fix/idgen-prefix-desc

Conversation

@alexluong
Copy link
Copy Markdown
Collaborator

Summary

  • Fixed misleading desc tags on AttemptPrefix, DestinationPrefix, and EventPrefix in IDGenConfig
  • Old text said "prepended with underscore" but the prefix is used verbatim (confirmed by idgen/idgen_test.go:118-127)
  • Updated to "used as-is" with clearer examples like 'evt_' produces 'evt_<id>'

Test plan

  • Verify existing idgen tests still pass (go test ./internal/idgen/...)
  • Confirm generated config docs (if any) reflect the updated descriptions

🤖 Generated with Claude Code

The desc tags for AttemptPrefix, DestinationPrefix, and EventPrefix
incorrectly stated the prefix is "prepended with underscore". The prefix
is actually used as-is (verified by idgen tests). Updated descriptions
to clarify this behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alexluong alexluong merged commit dbdefaf into main May 7, 2026
1 check passed
@alexluong alexluong deleted the fix/idgen-prefix-desc branch May 7, 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.

2 participants