Skip to content

docs: update create-new-sentry-event command to use observability.ContextualLogger#839

Open
detail-app[bot] wants to merge 1 commit into
masterfrom
detail/fix-docs/docs-update-create-new-sentry-event-command-to-use-889bab
Open

docs: update create-new-sentry-event command to use observability.ContextualLogger#839
detail-app[bot] wants to merge 1 commit into
masterfrom
detail/fix-docs/docs-update-create-new-sentry-event-command-to-use-889bab

Conversation

@detail-app
Copy link
Copy Markdown

@detail-app detail-app Bot commented May 14, 2026

The code templates in .claude/commands/create-new-sentry-event.md referenced logrus.FieldLogger for the log struct field and constructor parameters in both the sentry and server event handler templates. This type was superseded by observability.ContextualLogger across the codebase.

Introduced by commit cd0627b (@samcm).

An agent following the create-new-sentry-event command to scaffold a new event handler would generate code using logrus.FieldLogger, causing a compile error because the callers (e.g. sentry.go) now pass an observability.ContextualLogger value which does not satisfy logrus.FieldLogger — and the generated file would also fail to import the correct package.


Doc Drift PRs can be configured here.

@detail-app detail-app Bot requested a review from samcm May 14, 2026 15:51
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.

0 participants