You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coolify materialises a relative bind mount as an empty managed directory,
so the mounted sanitize.sql was a directory inside the container. `test -s`
passes on a directory and `psql < <directory>` reads nothing and exits 0,
so the seeder wrote its success marker having applied nothing: a preview
came up on a clone that still had every workspace trigger, the practice
review binding, the source instance's OAuth apps and its signing key.
The policy moves back inline, which is the form this Coolify version runs,
and the marker is now written only against the database's own answer. Any
live trigger, binding, job or inherited identity fails the deployment
instead of starting an application server on a clone that can act as the
instance it was copied from.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EZADQeSx6zQNNqsdu7AAqZ
A pull request preview now refuses to start unless the safeguards it promises are actually in place. Previews begin from a copy of a live database, and the step that pauses reviews and replaces the copied sign-in configuration could fail without saying so, leaving a preview running against real data with its review triggers still enabled. That step is now checked against the database itself, and a preview that does not pass it fails its deployment instead of coming up.
0 commit comments