-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
refactor(core): Warn on sqlite DB detected during init on queue mode #8034
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 👏 👏 Nice! We should definitely have more sanity checks like this. If it's not compatible, should we log an error and just exit the process? It will probably not work anyways, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move this to BaseCommand
instead ?
I usually run sqlite locally for testing and it works, it's worth haviing a warning and adding it to |
1 flaky test on run #3349 ↗︎Details:
|
Test | Artifacts | |
---|---|---|
NDV > resolves expression with default item when input node is not parent, while still pairing items |
Screenshots
Video
|
Review all test suite changes for PR #8034 ↗︎
✅ All Cypress E2E specs passed |
* master: refactor(core): Warn on sqlite DB detected during init on queue mode (#8034) docs: Two small UI copy fixes in sub-nodes (#8032) fix(core): Restore workflow ID during execution creation (#8031) fix(core): Initialize queue once in queue mode (#8025) fix(editor): Add back credential `use` permission (#8023) fix(editor): Disable auto scroll and list size check when clicking on executions (#7983) fix(editor): Fix dialogVisibleChanged hooks event when meta.value is undefined (no-changelog) (#7986) perf(editor): Improve canvas rendering performance (#8022)
Got released with |
When setting up queue mode, it is easy to overlook that not exporting Postgres env vars will default the worker to use sqlite, which will fail during execution with a non-obvious error. Hence add warnings when starting a worker with an incompatible DB type.