This task takes 30s in our app because it depends on environment. Looking at the implementation of Airbrake.deploy, the method only needs configuration information. The task should load this configuration information and then submit the deploy without loading environment.
don't load entire environment for deploy task
Our Airbrake initializers depend on the environment, so out of the box this change failed hard for us.