Skip to content

fix(slack): load startup instrumentation in production#102

Merged
shrimalmadhur merged 1 commit intomainfrom
fix-slack-load-startup-instrumentation
Mar 27, 2026
Merged

fix(slack): load startup instrumentation in production#102
shrimalmadhur merged 1 commit intomainfrom
fix-slack-load-startup-instrumentation

Conversation

@shrimalmadhur
Copy link
Copy Markdown
Owner

Summary

  • add a root instrumentation entry so Next includes the startup hook in the production server bundle
  • reuse the existing server startup logic in src/instrumentation.ts so Slack and issue transports start when the Bun-served app boots

Changes

  • add root-level instrumentation.ts that re-exports register from src/instrumentation

Test Plan

  • ./node_modules/.bin/tsc --noEmit
  • rebuild and restart the installed service so the standalone bundle includes the root instrumentation entry
  • verify server logs show the Slack socket manager starting on boot

@shrimalmadhur shrimalmadhur merged commit 92d69d5 into main Mar 27, 2026
3 checks passed
@shrimalmadhur shrimalmadhur deleted the fix-slack-load-startup-instrumentation branch March 27, 2026 21: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.

1 participant