Yikes! I’m pretty sure that this is correct expected behaviour out of the box, even if it’s not friendly behaviour.
Some options:
- Check out Using dynamic schemas for snapshots, especially the first option where you override the schema generation macro
- Could you pass the schema name as an env var too?
- Might be worth opening an issue about this! I think it’s old behaviour, that probably hasn’t been reviewed in a more CI-heavy world