Evan Rusackas
3601013a78
Merge branch 'master' into adopt-pr-36387-bq-memory-limit
2026-04-22 15:14:39 -04:00
Vitor Avila
5af17c7976
fix(OpenSearch): OpenSearch dialect for sqlglot ( #39538 )
2026-04-22 12:17:15 -03:00
Amin Ghadersohi
e6853894ab
chore(mcp): extract shared chart helpers and ASCII rendering into separate modules ( #39438 )
2026-04-21 20:10:49 -04:00
Gabriel Torres Ruiz
919daabe54
fix(mcp): clear stale query_context in update_chart so filters and row_limit are applied ( #39413 )
2026-04-21 14:34:21 -03:00
Amin Ghadersohi
29806780dc
chore(mcp): remove dead parse_request decorator and utility code ( #39498 )
2026-04-21 11:16:06 -04:00
Vitor Avila
191337e08d
fix(db oauth2): Improve OAuth2 flow ( #39499 )
2026-04-21 11:54:52 -03:00
Brian Schreder
a222dab781
feat(dashboard): pre-filter time grain ( #38922 )
2026-04-21 10:35:24 -04:00
Maxime Beauchemin
151d7d76da
fix(charts): set g.form_data for metric() Jinja macro on GET chart data endpoint ( #39347 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-20 19:36:03 -07:00
Beto Dealmeida
11607dde04
feat(sqllab): syntax validation for sqlite-based DB engine specs ( #38698 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-20 18:29:51 -04:00
Beto Dealmeida
6535fdd556
chore: simplify Trino's OAuth detection ( #39496 )
2026-04-20 18:08:48 -04:00
Beto Dealmeida
5fb89b865d
fix(oauth2): silence lock acquisition errors on token refresh ( #39463 )
...
Co-authored-by: Beto Dealmeida <beto@preset.io >
2026-04-20 18:08:33 -04:00
Amin Ghadersohi
6948e73ec7
feat(mcp): add get_chart_sql tool and expose chart filters in get_chart_info ( #38700 )
2026-04-20 17:50:10 -04:00
Maxime Beauchemin
c4cf03f899
fix(import): import tags during CLI native asset import ( #39495 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-20 13:59:51 -07:00
Amin Ghadersohi
5cff657812
fix(mcp): default XY chart x-axis to dataset primary datetime column ( #39421 )
...
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
2026-04-20 11:14:54 -04:00
Alexandru Soare
0857611a4e
fix(mcp): Add defensive validator for ColumnInfo.is_nullable ( #39365 )
2026-04-20 13:50:31 +03:00
Geidō
51ea2c297d
fix(dataset): calculated columns in virtual datasets fail when used as dynamic aggregation filter dimensions ( #39004 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-20 13:44:53 +03:00
Claude Code
05a9b47f1a
test(bigquery): add bq_memory_limited defaults to existing mocks
...
The new bq_memory_limited warning path in get_df_payload iterates all
cache mocks in existing tests. Those pre-existing tests don't set
bq_memory_limited on their MagicMock/MockCache instances, causing
TypeErrors on f-string format or AttributeErrors. Set the field to
False/0 in the three impacted tests so they exercise the no-warning
code path.
2026-04-18 16:13:26 -07:00
Gabriel Torres Ruiz
2e0d482ccf
fix(mcp): support explicit query_mode in TableChartConfig ( #39412 )
2026-04-16 18:53:25 -03:00
Gabriel Torres Ruiz
e5b3a9c25d
fix(mcp): replace inputSchema with parameters_hint in search_tools results by default ( #39411 )
2026-04-16 18:53:10 -03:00
Gabriel Torres Ruiz
c289731212
fix(mcp): prevent LLM from creating new dashboard instead of adding chart to existing one ( #39353 )
2026-04-16 18:52:53 -03:00
Mehmet Salih Yavuz
69f062b804
feat(mcp): add a preview flow to mcp chart updates ( #39383 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 20:31:02 +03:00
Luiz Otavio
0b419a07f5
fix: add comments to SQL clause validation ( #39167 )
2026-04-16 09:19:39 -03:00
Amin Ghadersohi
e7b9fb277e
fix(mcp): always push fresh app context per tool call to prevent g.user race ( #39385 )
2026-04-15 20:48:21 -04:00
Gabriel Torres Ruiz
18d6feb499
feat(mcp): add create_virtual_dataset tool to save SQL queries as datasets ( #39279 )
2026-04-15 13:04:32 -03:00
Beto Dealmeida
84f7b4a973
fix: do_ping takes a connection, not engine ( #39013 )
2026-04-15 11:10:24 -04:00
Alexandru Soare
ffcc6e8b63
fix(MCP): fix MCP logs ( #39159 )
2026-04-15 15:57:04 +03:00
Amin Ghadersohi
680cef0ee0
fix(mcp): strip json_metadata and position_json from get_dashboard_info response ( #39101 )
2026-04-09 17:30:57 -04:00
Amin Ghadersohi
e17cf3c808
fix(mcp): wire up compact schema serialization for search_tools results ( #39229 )
2026-04-09 17:25:46 -04:00
Amin Ghadersohi
68067d7f44
fix(mcp): handle OAuth-authenticated databases in execute_sql ( #39166 )
2026-04-09 15:47:00 -04:00
Daniel Vaz Gaspar
5815665cc6
feat: role/user CRUD events and login/logout tracking in the action log ( #39121 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-09 15:55:25 +01:00
Enzo Martellucci
6649f35a0d
fix(reports): escape SQL LIKE wildcards in find_by_extra_metadata ( #38738 )
...
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
2026-04-09 12:58:06 +03:00
Mehmet Salih Yavuz
5263abdc60
fix(AlertsReports): untie filters from alerts reports tabs flag ( #38722 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-09 11:11:43 +03:00
Amin Ghadersohi
1bde6f3bfd
fix(mcp): resolve null fields in list_datasets, list_databases, and save_sql_query ( #39206 )
2026-04-08 18:39:56 -04:00
Deadman
4e0890ee1f
feat(api): Add filter_dashboard_id parameter to apply dashboard filters to chart/data endpoint ( #38638 )
...
Co-authored-by: Matthew Deadman <matthewdeadman@Matthews-MacBook-Pro-2.local >
Co-authored-by: Matthew Deadman <matthewdeadman@matthews-mbp-2.lan >
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
2026-04-08 15:32:46 -07:00
Elizabeth Thompson
587fe4af63
fix(reports): propagate PlaywrightTimeout so execution transitions to ERROR state ( #39176 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 11:00:03 -07:00
Alexandru Soare
4f695e1b4d
fix(filterReports): _generate_native_filter() crashes on null/empty filterValues ( #38954 )
2026-04-08 13:53:18 +03:00
Claude Code
bbbd1490ef
fix(bigquery): address deferred review follow-ups
...
Cache persistence: persist bq_memory_limited flag in QueryCacheManager
so truncation warnings survive cache hits. The flag is now saved into
the cache value dict in set_query_result (reading from g and resetting
it there), and restored from cache in get(). get_df_payload now reads
cache.bq_memory_limited instead of g, removing the need for g entirely
in query_context_processor.py.
Frontend test: add two tests to chartActions.test.ts verifying that
addWarningToast is dispatched (with noDuplicate: true) when a query
response carries a warning field, and not dispatched when it doesn't.
Updated existing test_query_context_processor tests to set the flag on
mock_cache directly rather than patching g.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-07 13:43:11 -07:00
Amin Ghadersohi
5f9fc31ae2
feat(mcp): add get_chart_type_schema tool for on-demand schema discovery ( #39142 )
2026-04-07 12:07:45 -04:00
Amin Ghadersohi
bf9aff19b5
fix(mcp): compress chart config schemas to reduce search_tools token usage ( #39018 )
2026-04-06 19:52:03 -04:00
Amin Ghadersohi
7be2acb2f3
fix(mcp): add description and certification fields to default list tool columns ( #39017 )
2026-04-06 13:37:52 -04:00
Amin Ghadersohi
83ad1eca26
fix(mcp): add dynamic response truncation for oversized info tool responses ( #39107 )
2026-04-06 12:36:03 -04:00
Amin Ghadersohi
92747246fc
fix(mcp): remove JWT ValueError g.user fallback in auth layer ( #39106 )
2026-04-06 12:35:46 -04:00
Amin Ghadersohi
7380a59ab8
fix(mcp): fix form_data null, dataset URL, ASCII preview, and chart rename ( #39109 )
2026-04-06 12:34:26 -04:00
Maxime Beauchemin
a62be684a0
feat(mcp): add database connection listing and info tools ( #39111 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Amin Ghadersohi <amin.ghadersohi@gmail.com >
2026-04-06 11:34:10 -04:00
Sam Firke
12eb40db01
fix(SQL Lab): handle columns without names ( #38986 )
2026-04-06 10:09:16 -04:00
Amin Ghadersohi
851bbeea48
fix(mcp): improve execute_sql response-too-large error to suggest limit parameter ( #39003 )
2026-04-03 10:57:31 -04:00
Joe Li
9e27d682f6
test(alerts/reports): close backend and frontend test coverage gaps ( #38591 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 11:55:24 -07:00
Kamil Gabryjelski
135e0f8099
fix(mcp): Created dashboard should be in draft state by default ( #39011 )
2026-04-02 19:28:51 +02:00
Michael S. Molina
94d8735d4b
fix(query): pass datasource table to template processor for schema-aware Jinja rendering ( #38984 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-01 13:08:12 -03:00
Rui Zhao
53b1d1097c
fix(presto): Fix presto timestamp ( #26467 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
Co-authored-by: Rui Zhao <zhaorui@dropbox.com >
Co-authored-by: Joe Li <joe@preset.io >
2026-03-31 10:28:06 -07:00