bulwark icon indicating copy to clipboard operation
bulwark copied to clipboard

Loading a plugin should also generate a synthetic transaction

Open sporkmonger opened this issue 2 years ago • 1 comments

Currently, a plugin that's compiled for an incompatible version of the SDK or that has some other issue may not produce an error at plugin load time. These errors might only occur once the application begins serving requests. Triggering a synthetic transaction and potentially allowing the program to exit immediately with an error could help prevent bad deploys from going to production.

sporkmonger avatar Jul 11 '23 01:07 sporkmonger

Alternatively, maybe this should happen in a subcommand, something like bulwark-cli check and that could be run at startup before the server command?

sporkmonger avatar Jul 21 '23 22:07 sporkmonger