Skip to content

Deploy with Sentry.#6

Merged
darron merged 1 commit intomainfrom
add-sentry
Feb 18, 2026
Merged

Deploy with Sentry.#6
darron merged 1 commit intomainfrom
add-sentry

Conversation

@darron
Copy link
Owner

@darron darron commented Feb 18, 2026

This pull request adds automated Sentry release tracking and environment tagging to the production deployment process. The main improvements are the introduction of a deployment script that integrates Sentry release/version management with the existing deployment workflow, and the injection of release/environment information into the worker at runtime.

Deployment & Sentry integration:

  • Added a new script scripts/deploy-production-with-sentry.sh that automates Sentry release creation, commit association, deployment, and release finalization as part of the production deployment process. This script requires Sentry authentication/environment variables and ensures releases are properly tracked.
  • Updated the package.json scripts to include a deploy:production:sentry command that runs the new deployment script, providing a simple way to deploy with Sentry release tracking.
  • Expanded the README.md with instructions for optional Sentry release tracking, including both the manual steps and the new automated script.

Runtime Sentry context:

  • Modified the Sentry initialization in src/index.js to include the release and environment values from environment variables, ensuring Sentry events are properly tagged for release tracking and environment separation.

@darron darron self-assigned this Feb 18, 2026
@darron
Copy link
Owner Author

darron commented Feb 18, 2026

It works.

Screenshot 2026-02-17 at 22 11 32

@darron darron merged commit 47d7ded into main Feb 18, 2026
1 check 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