Understanding environments and releases


#1

Our Rails app has multiple environments, each with their own Heroku deployment.

I know that Sentry will detect the different RAILS_/RACK_ENV variables and pass that through as a context/tag that I can filter on.

But when it comes to detecting releases, it’s like there’s only ever one “current” release, and not a current release per environment.

What this seems to mean is that deploying to either environment creates a new release which I guess will mark “resolve in the next release” issues as complete even if they haven’t been.

There are two things I want to know:

  1. Am I right - is this a real limitation or have I made a mistake?
  2. Am I better off creating a different project for my staging deployment?