You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "I3eka (via GitHub)" <gi...@apache.org> on 2026/10/26 04:34:47 UTC
[PR] fix(ai): propagate the run deadline to active SQL cursors [superset]
I3eka opened a new pull request, #45730:
URL: https://github.com/apache/superset/pull/45730
## Status
**Draft / ON HOLD pending SIP-224:** parent proposal #42805 and discussion #42806. This Native AI follow-up is not ready to merge before the parent proposal is accepted. The focused commit is `e0f4ee7001`; the branch also includes shared Native AI prerequisites and MCP SDK compatibility #45723.
## Problem and change
The runtime checked its deadline only between turns. A synchronous tool blocked in warehouse I/O could continue beyond the run deadline and then execute more tools.
Bind the remaining run deadline to Superset's existing warehouse cursor hooks and engine cancellation contract. Explicit cancellation reloads the original user/database in a separate request and metadata session; it never shares ORM objects with the timer thread. Keep ownership of the cursor until cancellation finishes to prevent a late callback from cancelling a reused connection. SQL Lab's configured timeout and explicit query timeout can shorten the run deadline. Stop subsequent tools/model turns after expiry.
Cancellation is best effort: it requires engine support and warehouse permissions. A driver without a cancellation API, a failed/hung cancellation, or connection establishment may still wait for its own network timeout. This change does not claim a universal hard wall-clock bound for arbitrary drivers.
## Validation
- 313 runtime, executor and cancellation tests pass.
- Regressions cover blocked cursors for implicit, explicit and during-execution handles, original-user/session isolation, skipped subsequent calls, context cleanup and shorter SQL deadlines.
- Full branch pre-commit passes, including frontend/backend types.
- No live warehouse cancellation or deployment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7429298719
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): propagate the run deadline to active SQL cursors [superset]
Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6408336741
### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a5e17b4525a17dcfbd271a0fa3043d3fd5413434 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6aded8680bd0f3dfb0096039 |
|<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-45730--superset-docs-preview.netlify.app](https://deploy-preview-45730--superset-docs-preview.netlify.app) |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br /><br /><br />_Use your smartphone camera to open QR code link._</details> |
|<span aria-hidden="true">🤖</span> Make changes | [Run an agent on this branch](https://app.netlify.com/projects/superset-docs-preview/agent-runs#q1YqKMrPLShRslJS0lFKKkrMS84AstMyK_QTM3WLC3N0U1ITU3Iy81KB0impBTn5lZ4pQAVmiSmpKRZmFgZJKQZpxilpSQYGlmYGxpZKtQA) |
---
<!-- [superset-docs-preview Preview](https://deploy-preview-45730--superset-docs-preview.netlify.app) -->
_To edit notification comments on pull requests, go to your [Netlify project configuration](https://app.netlify.com/projects/superset-docs-preview/configuration/notifications#deploy-notifications)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): propagate the run deadline to active SQL cursors [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6408333303
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/45730?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `89.27162%` with `299 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 84.39%. Comparing base ([`0ccb586`](https://app.codecov.io/gh/apache/superset/commit/0ccb586540a50b780936789510f6503d37eeafc9?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`a5e17b4`](https://app.codecov.io/gh/apache/superset/commit/a5e17b4525a17dcfbd271a0fa3043d3fd5413434?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 3 commits behind head on master.
| [Files with missing lines](https://app.codecov.io/gh/apache/superset/pull/45730?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [superset/ai/api.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fapi.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvYXBpLnB5) | 74.91% | [55 Missing and 19 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/orchestrator.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Forchestrator.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvb3JjaGVzdHJhdG9yLnB5) | 82.70% | [31 Missing and 10 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/llm/openai\_compatible.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fllm%2Fopenai_compatible.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvbGxtL29wZW5haV9jb21wYXRpYmxlLnB5) | 86.75% | [24 Missing and 5 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/llm/anthropic.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fllm%2Fanthropic.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvbGxtL2FudGhyb3BpYy5weQ==) | 88.42% | [20 Missing and 5 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/mcp/client.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fmcp%2Fclient.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvbWNwL2NsaWVudC5weQ==) | 80.86% | [19 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/prompt\_framing.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fprompt_framing.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvcHJvbXB0X2ZyYW1pbmcucHk=) | 57.14% | [17 Missing and 4 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/page\_context.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fpage_context.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvcGFnZV9jb250ZXh0LnB5) | 90.81% | [8 Missing and 9 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/llm/base.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fllm%2Fbase.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvbGxtL2Jhc2UucHk=) | 89.18% | [13 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/prompts/assemble.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fprompts%2Fassemble.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvcHJvbXB0cy9hc3NlbWJsZS5weQ==) | 93.87% | [6 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [superset/ai/policy.py](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&filepath=superset%2Fai%2Fpolicy.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvYWkvcG9saWN5LnB5) | 93.27% | [5 Missing and 3 partials :warning: ](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| ... and [9 more](https://app.codecov.io/gh/apache/superset/pull/45730?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #45730 +/- ##
==========================================
+ Coverage 84.26% 84.39% +0.13%
==========================================
Files 3057 3107 +50
Lines 201986 206876 +4890
Branches 47254 47810 +556
==========================================
+ Hits 170204 174601 +4397
- Misses 28525 28907 +382
- Partials 3257 3368 +111
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/45730/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [superset-extensions-cli](https://app.codecov.io/gh/apache/superset/pull/45730/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `91.24% <ø> (?)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/45730?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "I3eka (via GitHub)" <gi...@apache.org>.
I3eka commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6434942818
Updated to `0a01dc9851` after merging Apache master `1220ec01ef85` and the safe live-cursor cancellation prerequisite from #45729.
The review refresh contains no inline/human findings. While verifying the deadline contract raised in #43133, I reproduced five gaps: stalled completion/stream reads, loss of the timeout across separate synchronous pulls, and failure to use explicitly supported live-cursor cancellation. Those cases now pass. Provider retry delays share the same remaining budget, partial answer text is preserved, and a provider's own TimeoutError is not relabelled as run-budget expiry.
1,563 relevant unit tests passed, 3 skipped; all hooks for 128 PR files pass. Real provider/warehouse cancellation was not exercised. The description retains cooperative cancellation/network-timeout limits rather than claiming a hard bound for arbitrary drivers.
The title now reflects both provider and SQL deadlines. This remains Draft / ON HOLD behind #42805 and SIP #42806.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6461101788
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7370416250
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7112246557
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7435976441
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7023982418
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7047525881
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6455918430
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7174331843
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7281349968
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "I3eka (via GitHub)" <gi...@apache.org>.
I3eka commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6436294233
Updated this branch with Apache master `380855d38527f679ef9562e0eb511b8ecff155cb` and published `29b37add3e539d36f87a27694293cb65282a7051` without rewriting history.
Updated Apache master and repeated the AI, SQL execution, MCP worker, SQL Server, migration-head, API and frontend checks. Provider completion/stream reads/retry backoff remain bounded by the shared deadline, with cooperative cleanup and supported live-cursor SQL cancellation. No live model provider or warehouse was used.
- Backend: 1575 passed, 3 skipped in 61.60s (0:01:01).
- Api: 27 passed in 5.48s.
- Frontend: Tests: 105 passed, 105 total.
- All branch-file pre-commit hooks passed with the project-pinned Ruff 0.9.7.
All checks used the isolated audit environment with the updated development dependencies. No live warehouse/provider, browser, production database or deployment was used.
The description has been updated to this validation. No deployment was performed. GitHub CI on this new head is separate from the completed local checks. This remains **Draft / ON HOLD** behind #42805 and SIP #42806.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-6589644171
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] fix(ai): enforce run deadlines for provider and SQL calls [superset]
Posted by "github-actions[bot] (via GitHub) via notifications" <no...@superset.apache.org>.
github-actions[bot] commented on PR #45730:
URL: https://github.com/apache/superset/pull/45730#issuecomment-7038864090
### ⚠️ Possible DB migration conflict
@I3eka the base branch `master` picked up a new database migration under `superset/migrations/` after this PR was opened, and this PR adds or modifies migration files too. Alembic migrations form a single linear chain, so if both branch off the same parent revision, merging this PR as-is could leave the migration history with two heads instead of one, which makes `superset db upgrade` fail with `Multiple head revisions are present`.
To check and, if needed, fix this:
1. Rebase this branch onto the latest `master`.
2. Run `superset db heads`. If it lists more than one revision, you have a conflict.
3. In your new migration's script, update `down_revision` (and the `Revises` comment) to point at the other head instead, so the chain has a single head again.
See [Merging DB Migrations](https://superset.apache.org/docs/contributing/development#merging-db-migrations) in the contributing guide for a worked example.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org