Repository navigation
Conversation
When running in HA mode, the script allowed the user to use sqlite which is not possible. If HA and sqlite it should throw an error. Also, the script did not quote the database value leading to shell interpolation and it was failing to start.
Summary of ChangesHello @kalbasit, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Code Review
This pull request introduces several important fixes to the dev-scripts/run.py script, enhancing its robustness for High Availability (HA) configurations. The changes correctly enforce that SQLite cannot be used in HA mode, which aligns with documented limitations. The fix for quoting the database URL to prevent shell interpolation is a necessary correction given that watchexec uses a shell. Finally, the addition of the --cache-lock-backend=redis flag when using Redis as a locker ensures the configuration is correctly passed to the application. All changes are logical and well-implemented. This is a good improvement.
When running in HA mode, the script allowed the user to use sqlite which is not possible. If HA and sqlite it should throw an error. Also, the script did not quote the database value leading to shell interpolation and it was failing to start. (cherry picked from commit 50a3099)
|
Successfully created backport PR for |
#641] (#643) Bot-based backport to `release-0.7`, triggered by a label in #641. When running in HA mode, the script allowed the user to use sqlite which is not possible. If HA and sqlite it should throw an error. Also, the script did not quote the database value leading to shell interpolation and it was failing to start.

When running in HA mode, the script allowed the user to use sqlite which
is not possible. If HA and sqlite it should throw an error. Also, the
script did not quote the database value leading to shell interpolation
and it was failing to start.