Skip to content

Feature gate job deletions#582

Open
adelowo wants to merge 3 commits into
riverqueue:masterfrom
adelowo:feat-ISS-2220
Open

Feature gate job deletions#582
adelowo wants to merge 3 commits into
riverqueue:masterfrom
adelowo:feat-ISS-2220

Conversation

@adelowo
Copy link
Copy Markdown

@adelowo adelowo commented May 20, 2026

we recently had an issue where I did not notice I was on the prod instance not local version and I deleted a bunch of jobs. This makes it easier to remove all form of human errors.

This PR adds a new env value FEATURE_JOB_DELETION_DISABLED=true|false that disables/enables the deletion api and UI button.

It defaults to false to keep the existing behaviour where the jobs can be deleted

CleanShot 2026-05-20 at 22 58 25 CleanShot 2026-05-20 at 22 57 59

@adelowo
Copy link
Copy Markdown
Author

adelowo commented May 20, 2026

just noticed #546 while we were trying to upgrade docker tag. While 546 goes a step further, this pr removes the possibility of fat fingering ever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant