fix: show clear error when quickstart finds stale demo MySQL config#71
Merged
shirshanka merged 2 commits intoJun 3, 2026
Merged
Conversation
87bf0a7 to
d6849fe
Compare
Detect the exact signature of the demo-written URL (mysql+aiomysql://datahub:datahub@…/talkster) combined with a connection failure in bootstrap stderr, automatically strip just DATABASE_URL from .env, and retry. Bootstrap then falls through to the default SQLite DB and the agent comes up cleanly — user keeps their LLM API keys, conversation history, and any other config. Falls back to printing stderr for any other failure (unchanged behaviour). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Thanks for the fix @lakshay-nasa — accurate diagnosis of the stale I pushed a follow-up commit (5d8feaf) that promotes the message from "tell the user to Two small helpers ( Let me know if anything looks off — happy to iterate. |
shirshanka
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
demorun left a MySQLDATABASE_URLin~/.datahub/analytics-agent/.env, runningquickstartwould crash with a raw SQLAlchemy/pymysql tracebackTest plan
demo, then stop Docker, then runquickstart— verify the new error message appearsquickstartwith no prior config — verify normal flow is unaffected