Conversation
Contributor
🧪 Test Selection✅ Tests that will run
⏭️ Tests skipped (no relevant file changes detected)
|
|
Your preview environment pr-26636 has been deployed. Preview environment endpoints are available at: |
Preview Environment🌐 URL: https://lightdash-preview-pr-26636.lightdash.okteto.dev 📋 Logs: View in GCP Console 🔧 SSH: |
lightdash-bot
pushed a commit
that referenced
this pull request
Jul 31, 2026
# [1.55.0](1.54.0...1.55.0) (2026-07-31) ### Bug Fixes * **ai:** disable deep research during active runs ([#26636](#26636)) ([b553988](b553988)) * **ai:** keep deep research charts out of artifact sidebar ([#26638](#26638)) ([c02af96](c02af96)) * autofocus the global search input when the omnibar opens ([#26629](#26629)) ([0e9fa7a](0e9fa7a)) * **deps:** bump data app Vite to 8.0.16 ([#26628](#26628)) ([d1b1ed1](d1b1ed1)) ### Features * **ai:** persist Deep Research run metrics ([#26615](#26615)) ([4eb2bd5](4eb2bd5)) * **apps:** build a data app viz from the chart config ([#26338](#26338)) ([7e04541](7e04541)) * **cli:** download the data apps a dashboard references ([#26573](#26573)) ([d520559](d520559)) * **cli:** upload a dashboard's data apps before the dashboard ([#26584](#26584)) ([9c5f5fb](9c5f5fb)) * **content-as-code:** portable data app references in dashboard YAML ([#26566](#26566)) ([4ebf202](4ebf202)) * **data-apps:** add fullscreen presentation mode to the app viewer ([#26633](#26633)) ([d1aa90a](d1aa90a))
Collaborator
|
🎉 This PR is included in version 1.55.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Closes: https://linear.app/lightdash/issue/PROD-9372/disable-deep-research-while-another-run-is-active-in-the-thread
Summary
Disables the Deep research composer control while the current thread has a starting, queued, or running research run. Regular chat stays available, and the control returns when the run completes, partially completes, fails, or is cancelled.
Root cause
The one-click control owned only local composer mode. Although the Deep research registry and server list already tracked thread-scoped run lifecycles, the composer never consumed that state.
PR #26589 introduced the direct toggle and left same-thread concurrency feedback for this follow-up. Without active-run state, the control stayed interactive throughout an existing run.
Fix
Derives one active state from optimistic registrations and persisted non-terminal runs, then applies it only to the Deep research path.
useDeepResearch.tsreconciles optimistic and server runs by UUID and polls while a run remains non-terminal.AgentChatInput.tsxdisables duplicate research starts, resets active composers to Ask, and keeps normal messages available.DeepResearchModeControl.tsxexposes an actionless explanation on hover and keyboard focus for both control variants.Before
After
Test plan
pnpm -F frontend typecheckpnpm -F frontend lint— zero errors; unrelated existing warnings only.pnpm -F frontend format