Skip to content

fix: block queries without database connection - #15

Merged
alibro005 merged 1 commit into
mainfrom
fix/database-error
Sep 17, 2026
Merged

alibro005 merged 1 commit into
mainfrom
fix/database-error

Conversation

@alibro005

Copy link
Copy Markdown
Owner

Description

Fixes the issue where users could submit queries without a connected database.

  • Blocked query processing when no database is connected.
  • Return a clear error message from the backend.
  • Display the error message in the conversation feed.
  • Clear the query input after submission.
  • Preserve the backend error detail in the frontend.

Fixes #14

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Testing

  • Verified queries are rejected when no database is connected.
  • Verified the error message is displayed in the UI.
  • Verified the query input is cleared after submission.
  • Verified normal query submission still works when a database is connected.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
qumly-ai Ready Ready Preview Sep 17, 2026 11:57am UTC

@alibro005
alibro005 requested a lite review from Copilot September 17, 2026 11:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@alibro005
alibro005 merged commit 1e94792 into main Sep 17, 2026
6 checks passed
@alibro005
alibro005 deleted the fix/database-error branch September 17, 2026 12:00

This branch was successfully deployed

1 active deployment
Preview — 9b4ce2a4 Deployed Sep 17, 2026 by vercel[bot]
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.

Block queries when no database is connected

2 participants