You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "reynoldmorel (via GitHub)" <gi...@apache.org> on 2026/02/04 21:40:23 UTC

[PR] feat(db): add onboarding workflows structure [superset]

reynoldmorel opened a new pull request, #37680:
URL: https://github.com/apache/superset/pull/37680

   <!---
   Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/
   Example:
   fix(dashboard): load charts correctly
   -->
   
   ### SUMMARY
   Two new database tables will be introduced to support onboarding workflows and per-user progress tracking:
   
   **Onboarding Workflows**
   A table to define the available onboarding workflows supported by Superset.
   
   Example fields:
   * id (integer, primary key)
   * name (string, unique)
   * description (string)
   
   **User Onboarding Workflows**
   A mapping table to track onboarding workflow usage on a per-user basis. This table will be used to persist whether a user has completed or interacted with a given onboarding workflow, as well as basic usage metadata.
   
   Example fields:
   * user_id (integer, foreign key to the user table)
   * workflow_id (integer, foreign key to onboarding workflows)
   * visited (boolean)
   * last_visited_date (nullable timestamp)
   * visited_times (integer)
   
   Some migrations were added, in general, they should be pretty fast.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TESTING INSTRUCTIONS
   <!--- Required! What steps can be taken to manually verify the changes? -->
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [x] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [x] Migration is atomic, supports rollback & is backwards-compatible
     - [x] Confirm DB migration upgrade and downgrade tested
     - [x] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "reynoldmorel (via GitHub)" <gi...@apache.org>.
reynoldmorel commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766157372


##########
superset/models/user_onboarding_workflow.py:
##########
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from flask_appbuilder import Model
+from sqlalchemy import Column, ForeignKey, Integer, Boolean
+from sqlalchemy.orm import relationship
+
+from superset import security_manager
+from superset.models.helpers import AuditMixinNullable
+
+
+class UserOnboardingWorkflow(Model, AuditMixinNullable):
+    """
+    Stores per-user state for onboarding workflows.
+
+    This model tracks a user's interaction with a specific onboarding workflow,
+    including whether the workflow has been visited and how many times it has
+    been completed or re-run. It enables Superset to determine when onboarding
+    experiences should be shown automatically and allows users to re-trigger
+    workflows as needed.
+
+    This table represents user-specific state only and should not contain any
+    workflow definition or UI configuration details.
+    """
+    __tablename__ = "user_onboarding_workflow"
+    user_id = Column(Integer, ForeignKey("ab_user.id"))
+    workflow_id = Column(Integer, ForeignKey("onboarding_workflow.id"))

Review Comment:
   Addressed



-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766135922


##########
superset/models/user_onboarding_workflow.py:
##########
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from flask_appbuilder import Model
+from sqlalchemy import Column, ForeignKey, Integer, Boolean
+from sqlalchemy.orm import relationship
+
+from superset import security_manager
+from superset.models.helpers import AuditMixinNullable
+
+
+class UserOnboardingWorkflow(Model, AuditMixinNullable):
+    """
+    Stores per-user state for onboarding workflows.
+
+    This model tracks a user's interaction with a specific onboarding workflow,
+    including whether the workflow has been visited and how many times it has
+    been completed or re-run. It enables Superset to determine when onboarding
+    experiences should be shown automatically and allows users to re-trigger
+    workflows as needed.
+
+    This table represents user-specific state only and should not contain any
+    workflow definition or UI configuration details.
+    """
+    __tablename__ = "user_onboarding_workflow"
+    user_id = Column(Integer, ForeignKey("ab_user.id"))
+    workflow_id = Column(Integer, ForeignKey("onboarding_workflow.id"))

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Missing Primary Key</b></div>
   <div id="fix">
   
   This SQLAlchemy model lacks a primary key, which is essential for database operations and ORM functionality. Without it, the model cannot be properly queried or updated. Based on the model's purpose tracking per-user per-workflow state, a composite primary key on user_id and workflow_id is appropriate.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
       user_id = Column(Integer, ForeignKey("ab_user.id"), primary_key=True)
       workflow_id = Column(Integer, ForeignKey("onboarding_workflow.id"), primary_key=True)
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #03eb23</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



##########
superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py:
##########
@@ -0,0 +1,85 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add oboarding workflow for creating a dashboard with none existing chart
+
+Revision ID: a55bbb4da9a6
+Revises: 91b151e8dac1
+Create Date: 2026-02-04 17:02:54.527420
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = 'a55bbb4da9a6'
+down_revision = '91b151e8dac1'
+
+from alembic import op

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Module imports not at top of file</b></div>
   <div id="fix">
   
   Imports on lines 29-30 must be moved to the top of the file, before the module docstring. Additionally, imports should be sorted (I001). Move `from alembic import op` and `import sqlalchemy as sa` to lines 1-2 after the license header.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ```
     # under the License.
    +import sqlalchemy as sa
    +
    +from alembic import op
    +
     """Add oboarding workflow for creating a dashboard with none existing chart
    
     Revision ID: a55bbb4da9a6
     Revises: 91b151e8dac1
     Create Date: 2026-02-04 17:02:54.527420
    
    
     """
    
     # revision identifiers, used by Alembic.
     revision = 'a55bbb4da9a6'
     down_revision = '91b151e8dac1'
    -
    -from alembic import op
    -import sqlalchemy as sa
   ```
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #03eb23</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



##########
superset/migrations/versions/2026-02-04_16-32_91b151e8dac1_add_onboarding_workflows.py:
##########
@@ -0,0 +1,57 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add onboarding workflows tables
+
+Revision ID: 91b151e8dac1
+Revises: 9787190b3d89
+Create Date: 2026-02-04 16:32:25.570254
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = '91b151e8dac1'
+down_revision = '9787190b3d89'
+
+from alembic import op
+import sqlalchemy as sa
+
+def upgrade():
+    op.create_table(
+        "onboarding_workflow",
+        sa.Column("created_on", sa.DateTime(), nullable=True),
+        sa.Column("changed_on", sa.DateTime(), nullable=True),
+        sa.Column("id", sa.Integer, primary_key=True),
+        sa.Column("name", sa.String(100), unique=True),
+        sa.Column("description", sa.String(255)),
+    )
+
+    op.create_table(
+        "user_onboarding_workflow",
+        sa.Column("created_on", sa.DateTime(), nullable=True),
+        sa.Column("changed_on", sa.DateTime(), nullable=True),
+        sa.Column("user_id", sa.Integer()),
+        sa.Column("workflow_id", sa.Integer()),
+        sa.Column("visited", sa.Boolean, default=False),
+        sa.Column("visited_times", sa.Integer, default=0),

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Missing Primary Key</b></div>
   <div id="fix">
   
   The user_onboarding_workflow table is a junction table linking users to workflows, but it lacks a primary key. Without one, duplicate associations could be inserted, leading to incorrect onboarding behavior. Add a composite primary key on user_id and workflow_id, as seen in similar tables like sl_dataset_users.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
            sa.Column("visited_times", sa.Integer, default=0),
            sa.PrimaryKeyConstraint(["user_id", "workflow_id"]),
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #03eb23</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3849980229

   ## [Codecov](https://app.codecov.io/gh/apache/superset/pull/37680?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 `0%` with `20 lines` in your changes missing coverage. Please review.
   :white_check_mark: Project coverage is 43.50%. Comparing base ([`e10237f`](https://app.codecov.io/gh/apache/superset/commit/e10237fcc148b963779805c0fd4c8dcc872dd5fa?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`88507d0`](https://app.codecov.io/gh/apache/superset/commit/88507d08067e6a767b504dc482bcd36309ebf5ce?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   | [Files with missing lines](https://app.codecov.io/gh/apache/superset/pull/37680?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/models/user\_onboarding\_workflow.py](https://app.codecov.io/gh/apache/superset/pull/37680?src=pr&el=tree&filepath=superset%2Fmodels%2Fuser_onboarding_workflow.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvbW9kZWxzL3VzZXJfb25ib2FyZGluZ193b3JrZmxvdy5weQ==) | 0.00% | [12 Missing :warning: ](https://app.codecov.io/gh/apache/superset/pull/37680?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
   | [superset/models/onboarding\_workflow.py](https://app.codecov.io/gh/apache/superset/pull/37680?src=pr&el=tree&filepath=superset%2Fmodels%2Fonboarding_workflow.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VwZXJzZXQvbW9kZWxzL29uYm9hcmRpbmdfd29ya2Zsb3cucHk=) | 0.00% | [8 Missing :warning: ](https://app.codecov.io/gh/apache/superset/pull/37680?src=pr&el=tree&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   #37680       +/-   ##
   ===========================================
   + Coverage        0   43.50%   +43.50%     
   ===========================================
     Files           0      648      +648     
     Lines           0    49493    +49493     
     Branches        0     5549     +5549     
   ===========================================
   + Hits            0    21530    +21530     
   - Misses          0    27664    +27664     
   - Partials        0      299      +299     
   ```
   
   | [Flag](https://app.codecov.io/gh/apache/superset/pull/37680/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
   |---|---|---|
   | [hive](https://app.codecov.io/gh/apache/superset/pull/37680/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `41.77% <0.00%> (?)` | |
   | [presto](https://app.codecov.io/gh/apache/superset/pull/37680/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `41.79% <0.00%> (?)` | |
   | [python](https://app.codecov.io/gh/apache/superset/pull/37680/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `43.49% <0.00%> (?)` | |
   | [unit](https://app.codecov.io/gh/apache/superset/pull/37680/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `100.00% <ø> (?)` | |
   
   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 Sentry](https://app.codecov.io/gh/apache/superset/pull/37680?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] feat(db): add onboarding workflows structure [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-5040303834

   Closing this one. Three of us flagged that landing the tables without the surrounding feature (or a SIP) makes this hard to evaluate, and it's been quiet since. Feel free to reopen with that context if you want to keep pushing on it, we're always happy to revisit/reopen/help if we can moe it forward.


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3856251110

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3850881645

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3850142711

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "reynoldmorel (via GitHub)" <gi...@apache.org>.
reynoldmorel commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3888653559

   > Sounds like this is part of a greater plan, this PR bringing models in provides no visibility on what that plan is. PR should probably have the full feature.
   
   There is a TDD with all the plan and all PRs @mistercrunch: https://docs.google.com/document/d/1UI6oDaXoxJcaQm3bH9lW3UHdUNDvBVTh/edit
   
   Sincee there were many changes, we didn't want to add a huge PR showing the change they are split. Let me add you as a reviewer there


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-4699380750

   @reynoldmorel I'm with @michael-s-molina and @mistercrunch here, dropping the tables in without the surrounding feature is hard to evaluate, and per-org onboarding tracking may be a better fit outside core. Can we take the overall plan to a dev-list/SIP discussion first? Happy to dive deeper here once there's alignment on direction. Marking this as draft for now, while we find our way, but please feel free to address the bot comments and rebase if/when needed to keep the PR up to speed.


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766354028


##########
superset/migrations/versions/2026-02-04_16-32_91b151e8dac1_add_onboarding_workflows.py:
##########
@@ -0,0 +1,57 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add onboarding workflows tables
+
+Revision ID: 91b151e8dac1
+Revises: 9787190b3d89
+Create Date: 2026-02-04 16:32:25.570254
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = '91b151e8dac1'
+down_revision = '9787190b3d89'
+
+from alembic import op

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Module imports not at top of file</b></div>
   <div id="fix">
   
   Imports on lines 29-30 must be placed before the module docstring and revision identifiers. Move `from alembic import op` and `import sqlalchemy as sa` to the top of the file after the license header.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ```
     # under the License.
    +from alembic import op
    +import sqlalchemy as sa
     """Add onboarding workflows tables
    
     Revision ID: 91b151e8dac1
    @@ -26,8 +28,6 @@
     revision = '91b151e8dac1'
     down_revision = '9787190b3d89'
    
    -from alembic import op
    -import sqlalchemy as sa
    
     def upgrade():
   ```
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #82c1c7</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3850707840

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed pull request #37680: feat(db): add onboarding workflows structure
URL: https://github.com/apache/superset/pull/37680


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3852969666

   Hi @reynoldmorel. Given that each organization has its own needs and tools for tracking user interactions with Superset, this type of work is more suitable outside of Superset's codebase using logged events.


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3850407396

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766915065


##########
superset/models/onboarding_workflow.py:
##########
@@ -0,0 +1,41 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from flask_appbuilder import Model
+from sqlalchemy import Column, Integer, String
+
+from superset.models.helpers import AuditMixinNullable
+
+
+class OnboardingWorkflow(Model, AuditMixinNullable):
+    """
+    Represents a high-level onboarding workflow definition.
+
+    An onboarding workflow defines a guided user experience (e.g. creating a
+    dashboard or chart) that can be presented to users as part of Superset’s
+    onboarding system. This model stores the static metadata for each workflow
+    and is intended to be reusable across all users.
+
+    User-specific progress and visitation state (e.g. whether a workflow has
+    been completed or how many times it has been viewed) is tracked separately
+    and should not be stored on this model.
+    """
+
+    __tablename__ = "onboarding_workflow"
+    id = Column(Integer, primary_key=True)

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Use UUID primary key for new models</b></div>
   <div id="fix">
   
   New models in this codebase should use UUID primary keys instead of auto-incrementing integers, as outlined in the development standards. This change requires updating the foreign key reference in `user_onboarding_workflow.py` to maintain data integrity.
   </div>
   
   
   </div>
   
   <details>
   <summary><b>Citations</b></summary>
   <ul>
   
   <li>
   Rule Violated: <a href="https://github.com/apache/superset/blob/a247185/.cursor/rules/dev-standard.mdc#L50">dev-standard.mdc:50</a>
   </li>
   
   </ul>
   </details>
   
   
   
   
   <small><i>Code Review Run #6e17fe</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3864768679

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
   
   <details>
   <summary>
   Bito Usage Guide
   </summary>
   
   **Commands**
         
   Type the following command in the pull request comment and save the comment.
         
   - `/review` - Manually triggers a full AI review.
   
   - `/pause` - Pauses automatic reviews on this pull request.
   - `/resume` - Resumes automatic reviews.
   - `/resolve` - Marks all Bito-posted review comments as resolved.
   - `/abort` - Cancels all in-progress reviews.
   
         
   Refer to the <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/available-commands" target="_blank" rel="noopener noreferrer">documentation</a> for additional commands.
         
   **Configuration**
   
   This repository uses `Superset` You can customize the agent settings <a href="https://alpha.bito.ai/home/ai-agents/code-review-agent" target="_blank" rel="noopener noreferrer">here</a> or contact your Bito workspace admin at evan@preset.io.
         
   **Documentation & Help**
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/getting-started/install-run-using-bito-cloud/create-or-customize-an-agent-instance" target="_blank" rel="noopener noreferrer">Customize agent settings</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/implementing-custom-code-review-rules" target="_blank" rel="noopener noreferrer">Review rules</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent" target="_blank" rel="noopener noreferrer">General documentation</a>
   - <a href="https://docs.bito.ai/bito-dev-agents/ai-code-review-agent/faqs" target="_blank" rel="noopener noreferrer">FAQ</a>
   
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "codeant-ai-for-open-source[bot] (via GitHub)" <gi...@apache.org>.
codeant-ai-for-open-source[bot] commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766108878


##########
superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py:
##########
@@ -0,0 +1,79 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add oboarding workflow for creating a dashboard with none existing chart
+
+Revision ID: a55bbb4da9a6
+Revises: 91b151e8dac1
+Create Date: 2026-02-04 17:02:54.527420
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = 'a55bbb4da9a6'
+down_revision = '91b151e8dac1'
+
+from alembic import op
+import sqlalchemy as sa
+
+onboarding_workflow_table = sa.Table(
+    "onboarding_workflow",
+    sa.MetaData(),
+    sa.Column("id", sa.Integer, primary_key=True),
+    sa.Column("name", sa.String(100), unique=True),
+    sa.Column("description", sa.String(255)),
+)
+
+user_onboarding_workflow_table = sa.Table(
+    "user_onboarding_workflow",
+    sa.MetaData(),
+    sa.Column("user_id", sa.Integer, sa.ForeignKey("ab_user.id")),
+    sa.Column("workflow_id", sa.Integer, sa.ForeignKey("onboarding_workflow.id")),
+    sa.Column("visited", sa.Boolean, default=False),
+    sa.Column("visited_times", sa.Integer, default=0),
+)
+
+
+def upgrade():
+    bind = op.get_bind()
+
+    # Insert the new onboarding workflow
+    insert_stmt = onboarding_workflow_table.insert().values(
+        name="CREATE_DASHBOARD_WITH_NO_EXISTING_CHART",
+        description="Onboarding workflow for creating a dashboard with none existing chart"
+    )
+
+    result = bind.execute(insert_stmt)
+    workflow_id = result.inserted_primary_key[0]
+
+    # Insert a user_onboarding_workflow row for each existing user
+    # All active users should have this workflow in their onboarding list,
+    # but Gamma and Public users will not mark this workflow as visited since
+    # they won't have write permissions to the API.
+    insert_user_workflows = sa.text(
+        """
+        INSERT INTO user_onboarding_workflow (user_id, workflow_id, visited, visited_times)
+        SELECT u.id, :workflow_id, false, 0
+        FROM ab_user u
+        WHERE u.active = true
+        """
+    )
+
+    bind.execute(insert_user_workflows, {"workflow_id": workflow_id})

Review Comment:
   **Suggestion:** The raw SQL uses literal boolean values `false` and `true`, which are not valid boolean literals on SQLite and will cause this migration to fail when running tests or using SQLite, so the booleans should be passed as bound parameters that SQLAlchemy can adapt per backend. [type error]
   
   <details>
   <summary><b>Severity Level:</b> Major ⚠️</summary>
   
   ```mdx
   - ❌ Migration fails on SQLite local or test environments.
   - ⚠️ Developer onboarding and unit tests blocked.
   - ⚠️ Postgres production unaffected by this syntax.
   ```
   </details>
   
   ```suggestion
           SELECT u.id, :workflow_id, :visited, :visited_times
           FROM ab_user u
           WHERE u.active = :active
           """
       )
   
       bind.execute(
           insert_user_workflows,
           {
               "workflow_id": workflow_id,
               "visited": False,
               "visited_times": 0,
               "active": True,
           },
       )
   ```
   <details>
   <summary><b>Steps of Reproduction ✅ </b></summary>
   
   ```mdx
   1. Run the migration against a SQLite-backed database (common in local developer setups or
   some test environments). The migration file is
   `superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py`.
   
   2. During upgrade(), execution reaches the raw SQL block defined at lines 66-74 where the
   SQL text contains `false` and `true` literals.
   
   3. bind.execute(insert_user_workflows, {"workflow_id": workflow_id}) is invoked at line
   75. SQLite does not accept the bare `false`/`true` tokens in SQL the same way Postgres
   does; the backend will raise a SQL/Operational error or treat the tokens unexpectedly when
   the DB driver executes the raw SQL.
   
   4. Observe migration failure in local dev or CI that uses SQLite: the upgrade aborts with
   a SQL error at `...:75`, blocking tests or developer workflows. Passing booleans as bound
   parameters (as in the improved code) lets SQLAlchemy adapt them to the backend.
   ```
   </details>
   <details>
   <summary><b>Prompt for AI Agent 🤖 </b></summary>
   
   ```mdx
   This is a comment left during a code review.
   
   **Path:** superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py
   **Line:** 69:75
   **Comment:**
   	*Type Error: The raw SQL uses literal boolean values `false` and `true`, which are not valid boolean literals on SQLite and will cause this migration to fail when running tests or using SQLite, so the booleans should be passed as bound parameters that SQLAlchemy can adapt per backend.
   
   Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
   ```
   </details>



##########
superset/models/user_onboarding_workflow.py:
##########
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from flask_appbuilder import Model
+from sqlalchemy import Column, ForeignKey, Integer, Boolean
+from sqlalchemy.orm import relationship
+
+from superset import security_manager
+from superset.models.helpers import AuditMixinNullable
+
+
+class UserOnboardingWorkflow(Model, AuditMixinNullable):
+    """
+    Stores per-user state for onboarding workflows.
+
+    This model tracks a user's interaction with a specific onboarding workflow,
+    including whether the workflow has been visited and how many times it has
+    been completed or re-run. It enables Superset to determine when onboarding
+    experiences should be shown automatically and allows users to re-trigger
+    workflows as needed.
+
+    This table represents user-specific state only and should not contain any
+    workflow definition or UI configuration details.
+    """
+    __tablename__ = "user_onboarding_workflow"
+    user_id = Column(Integer, ForeignKey("ab_user.id"))

Review Comment:
   **Suggestion:** The ORM model does not define any primary key column, which will cause SQLAlchemy/Flask AppBuilder to fail mapper configuration at import time (e.g., "Mapper ... does not have any primary key columns") and prevent normal CRUD operations on this table; add a primary key column to the model. [logic error]
   
   <details>
   <summary><b>Severity Level:</b> Critical 🚨</summary>
   
   ```mdx
   - ❌ Superset webserver fails to import models on startup.
   - ❌ DB migrations involving this model fail.
   - ⚠️ Onboarding workflow CRUD unusable until fixed.
   ```
   </details>
   
   ```suggestion
       id = Column(Integer, primary_key=True)
   ```
   <details>
   <summary><b>Steps of Reproduction ✅ </b></summary>
   
   ```mdx
   1. Start the Superset process that imports models so SQLAlchemy/FAB maps ORM classes. The
   class mapping in `superset/models/user_onboarding_workflow.py` begins at `class
   UserOnboardingWorkflow` (file lines 25-46) and defines columns at lines 38-45.
   
   2. During module import (application startup), SQLAlchemy inspects
   `UserOnboardingWorkflow` mapping (lines 25 and 38-45). Because no primary key Column is
   declared, SQLAlchemy's mapper validation runs against this class.
   
   3. SQLAlchemy raises a Mapper configuration error (e.g., "Mapper 'UserOnboardingWorkflow'
   has no primary key") while importing `superset/models/user_onboarding_workflow.py` (around
   the same lines), preventing the app from finishing initialization or using the model.
   
   4. As evidence: the only column-like attributes in this file are `user_id`, `workflow_id`,
   `visited`, `visited_times` (lines 39-40 and 44-45) and no `primary_key=True` is present;
   adding `id = Column(Integer, primary_key=True)` fixes the missing-primary-key mapper
   failure.
   ```
   </details>
   <details>
   <summary><b>Prompt for AI Agent 🤖 </b></summary>
   
   ```mdx
   This is a comment left during a code review.
   
   **Path:** superset/models/user_onboarding_workflow.py
   **Line:** 39:39
   **Comment:**
   	*Logic Error: The ORM model does not define any primary key column, which will cause SQLAlchemy/Flask AppBuilder to fail mapper configuration at import time (e.g., "Mapper ... does not have any primary key columns") and prevent normal CRUD operations on this table; add a primary key column to the model.
   
   Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
   ```
   </details>



##########
superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py:
##########
@@ -0,0 +1,79 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add oboarding workflow for creating a dashboard with none existing chart
+
+Revision ID: a55bbb4da9a6
+Revises: 91b151e8dac1
+Create Date: 2026-02-04 17:02:54.527420
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = 'a55bbb4da9a6'
+down_revision = '91b151e8dac1'
+
+from alembic import op
+import sqlalchemy as sa
+
+onboarding_workflow_table = sa.Table(
+    "onboarding_workflow",
+    sa.MetaData(),
+    sa.Column("id", sa.Integer, primary_key=True),
+    sa.Column("name", sa.String(100), unique=True),
+    sa.Column("description", sa.String(255)),
+)
+
+user_onboarding_workflow_table = sa.Table(
+    "user_onboarding_workflow",
+    sa.MetaData(),
+    sa.Column("user_id", sa.Integer, sa.ForeignKey("ab_user.id")),
+    sa.Column("workflow_id", sa.Integer, sa.ForeignKey("onboarding_workflow.id")),
+    sa.Column("visited", sa.Boolean, default=False),
+    sa.Column("visited_times", sa.Integer, default=0),
+)
+
+
+def upgrade():
+    bind = op.get_bind()
+
+    # Insert the new onboarding workflow
+    insert_stmt = onboarding_workflow_table.insert().values(
+        name="CREATE_DASHBOARD_WITH_NO_EXISTING_CHART",
+        description="Onboarding workflow for creating a dashboard with none existing chart"
+    )
+
+    result = bind.execute(insert_stmt)
+    workflow_id = result.inserted_primary_key[0]
+
+    # Insert a user_onboarding_workflow row for each existing user
+    # All active users should have this workflow in their onboarding list,
+    # but Gamma and Public users will not mark this workflow as visited since
+    # they won't have write permissions to the API.
+    insert_user_workflows = sa.text(
+        """
+        INSERT INTO user_onboarding_workflow (user_id, workflow_id, visited, visited_times)
+        SELECT u.id, :workflow_id, false, 0
+        FROM ab_user u
+        WHERE u.active = true
+        """
+    )
+
+    bind.execute(insert_user_workflows, {"workflow_id": workflow_id})
+
+
+def downgrade():
+    pass

Review Comment:
   **Suggestion:** The downgrade function is a no-op, so rolling back this migration will leave the inserted onboarding workflow and all related user-onboarding rows in place, violating the expectation that migrations are reversible and potentially causing duplicate or stale data if a similar workflow is re-added later. [logic error]
   
   <details>
   <summary><b>Severity Level:</b> Major ⚠️</summary>
   
   ```mdx
   - ❌ Alembic migration rollback leaves stale onboarding rows.
   - ⚠️ Re-applying migration may trigger unique constraint error.
   - ⚠️ Local/CI rollback workflow/tests may be blocked.
   ```
   </details>
   
   ```suggestion
       bind = op.get_bind()
   
       # Find the workflow ID created in upgrade
       workflow_id = bind.execute(
           sa.select(onboarding_workflow_table.c.id).where(
               onboarding_workflow_table.c.name
               == "CREATE_DASHBOARD_WITH_NO_EXISTING_CHART"
           )
       ).scalar()
   
       if workflow_id is not None:
           # Remove user onboarding workflow rows for this workflow
           bind.execute(
               user_onboarding_workflow_table.delete().where(
                   user_onboarding_workflow_table.c.workflow_id == workflow_id
               )
           )
           # Remove the onboarding workflow itself
           bind.execute(
               onboarding_workflow_table.delete().where(
                   onboarding_workflow_table.c.id == workflow_id
               )
           )
   ```
   <details>
   <summary><b>Steps of Reproduction ✅ </b></summary>
   
   ```mdx
   1. Apply the migration via Alembic: run `alembic upgrade head`. This executes the
   upgrade() in file
   `superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py`
   starting at line 50; the migration inserts the workflow at lines 54-60 and inserts
   per-user rows at lines 66-75.
   
   2. Attempt to roll back the migration with `alembic downgrade 91b151e8dac1`. Alembic calls
   downgrade() defined at `..._add_create_dashboard_with_none_existing_.py:78-79`. Because
   downgrade() is a no-op (`pass`), the workflow row and user_onboarding_workflow rows
   inserted in step 1 remain in the database.
   
   3. Re-run the migration (another `alembic upgrade head`) which hits the insert at
   `...py:54-60` again. Because the previously inserted workflow still exists, the insert may
   violate the workflow name uniqueness or otherwise lead to unexpected state (upgrade fails
   or produces duplicate-stale state depending on DB constraints).
   
   4. Observe irreversible state: database still contains onboarding entries despite
   downgrade; test/rollback workflows and CI that expect reversible migrations will fail.
   This demonstrates the downgrade being a real, reproducible problem because the file's
   upgrade creates persistent rows but downgrade does not remove them.
   ```
   </details>
   <details>
   <summary><b>Prompt for AI Agent 🤖 </b></summary>
   
   ```mdx
   This is a comment left during a code review.
   
   **Path:** superset/migrations/versions/2026-02-04_17-02_a55bbb4da9a6_add_create_dashboard_with_none_existing_.py
   **Line:** 79:79
   **Comment:**
   	*Logic Error: The downgrade function is a no-op, so rolling back this migration will leave the inserted onboarding workflow and all related user-onboarding rows in place, violating the expectation that migrations are reversible and potentially causing duplicate or stale data if a similar workflow is re-added later.
   
   Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
   ```
   </details>



##########
superset/migrations/versions/2026-02-04_16-32_91b151e8dac1_add_onboarding_workflows.py:
##########
@@ -0,0 +1,57 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Add onboarding workflows tables
+
+Revision ID: 91b151e8dac1
+Revises: 9787190b3d89
+Create Date: 2026-02-04 16:32:25.570254
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = '91b151e8dac1'
+down_revision = '9787190b3d89'
+
+from alembic import op
+import sqlalchemy as sa
+
+def upgrade():
+    op.create_table(
+        "onboarding_workflow",
+        sa.Column("created_on", sa.DateTime(), nullable=True),
+        sa.Column("changed_on", sa.DateTime(), nullable=True),
+        sa.Column("id", sa.Integer, primary_key=True),
+        sa.Column("name", sa.String(100), unique=True),
+        sa.Column("description", sa.String(255)),
+    )
+
+    op.create_table(
+        "user_onboarding_workflow",
+        sa.Column("created_on", sa.DateTime(), nullable=True),
+        sa.Column("changed_on", sa.DateTime(), nullable=True),
+        sa.Column("user_id", sa.Integer()),
+        sa.Column("workflow_id", sa.Integer()),
+        sa.Column("visited", sa.Boolean, default=False),
+        sa.Column("visited_times", sa.Integer, default=0),
+        sa.ForeignKeyConstraint(["user_id"], ["ab_user.id"]),

Review Comment:
   **Suggestion:** The mapping table is created without any primary key, which allows duplicate rows for the same user/workflow pair and can break ORM assumptions that every row is uniquely identifiable, making updates and deletes error-prone. [logic error]
   
   <details>
   <summary><b>Severity Level:</b> Major ⚠️</summary>
   
   ```mdx
   - ❌ Onboarding workflow tracking may store duplicate rows.
   - ⚠️ ORM updates/deletes may target multiple rows unexpectedly.
   ```
   </details>
   
   ```suggestion
           sa.PrimaryKeyConstraint("user_id", "workflow_id"),
   ```
   <details>
   <summary><b>Steps of Reproduction ✅ </b></summary>
   
   ```mdx
   1. Checkout the branch containing the migration file
   `superset/migrations/versions/2026-02-04_16-32_91b151e8dac1_add_onboarding_workflows.py`
   and open the op.create_table for `user_onboarding_workflow` (definition begins at file
   line 42 in the PR hunk).
   
   2. Apply migrations (this migration uses the code at lines 42-52) by running the project's
   normal upgrade step (for example, `superset db upgrade` or the alembic equivalent). The
   `user_onboarding_workflow` table will be created without any primary key because the code
   at lines 42-52 does not declare one.
   
   3. Using a SQL client (psql / mysql client) or SQLAlchemy engine, run two identical
   inserts into the new table, e.g.:
   
      - `INSERT INTO user_onboarding_workflow (user_id, workflow_id, visited, visited_times)
      VALUES (1, 1, true, 1);`
   
      - Run the same INSERT again.
   
      Because there is no primary key or unique constraint on (user_id, workflow_id), both
      INSERTs succeed and two duplicate rows appear.
   
   4. Verify duplicates with `SELECT count(*) FROM user_onboarding_workflow WHERE user_id=1
   AND workflow_id=1;` which returns 2. This demonstrates the concrete problem caused by
   missing PK at the migration code at lines 42-52.
   ```
   </details>
   <details>
   <summary><b>Prompt for AI Agent 🤖 </b></summary>
   
   ```mdx
   This is a comment left during a code review.
   
   **Path:** superset/migrations/versions/2026-02-04_16-32_91b151e8dac1_add_onboarding_workflows.py
   **Line:** 50:50
   **Comment:**
   	*Logic Error: The mapping table is created without any primary key, which allows duplicate rows for the same user/workflow pair and can break ORM assumptions that every row is uniquely identifiable, making updates and deletes error-prone.
   
   Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
   ```
   </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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3849881858

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on code in PR #37680:
URL: https://github.com/apache/superset/pull/37680#discussion_r2766158643


##########
superset/models/user_onboarding_workflow.py:
##########
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+from flask_appbuilder import Model
+from sqlalchemy import Column, ForeignKey, Integer, Boolean
+from sqlalchemy.orm import relationship
+
+from superset import security_manager
+from superset.models.helpers import AuditMixinNullable
+
+
+class UserOnboardingWorkflow(Model, AuditMixinNullable):
+    """
+    Stores per-user state for onboarding workflows.
+
+    This model tracks a user's interaction with a specific onboarding workflow,
+    including whether the workflow has been visited and how many times it has
+    been completed or re-run. It enables Superset to determine when onboarding
+    experiences should be shown automatically and allows users to re-trigger
+    workflows as needed.
+
+    This table represents user-specific state only and should not contain any
+    workflow definition or UI configuration details.
+    """
+    __tablename__ = "user_onboarding_workflow"
+    user_id = Column(Integer, ForeignKey("ab_user.id"))
+    workflow_id = Column(Integer, ForeignKey("onboarding_workflow.id"))

Review Comment:
   <!-- Bito Reply -->
   This question isn’t related to the pull request. I can only help with questions about the PR’s code or comments.



-- 
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] feat(db): add onboarding workflows structure [superset]

Posted by "netlify[bot] (via GitHub)" <gi...@apache.org>.
netlify[bot] commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3849911047

   ### <span aria-hidden="true">✅</span> Deploy Preview for *superset-docs-preview* ready!
   
   
   |  Name | Link |
   |:-:|------------------------|
   |<span aria-hidden="true">🔨</span> Latest commit | 55637a1da57f763eb08286f9a9f86b7c2b17c4cf |
   |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/projects/superset-docs-preview/deploys/6983bcc8a5806e0008635de1 |
   |<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-37680--superset-docs-preview.netlify.app](https://deploy-preview-37680--superset-docs-preview.netlify.app) |
   |<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTM3NjgwLS1zdXBlcnNldC1kb2NzLXByZXZpZXcubmV0bGlmeS5hcHAifQ.khaz1GSC0oKQiANbbXJ06-p2MDsOpMMRYDjrNOAeDys)<br /><br />_Use your smartphone camera to open QR code link._</details> |
   ---
   <!-- [superset-docs-preview Preview](https://deploy-preview-37680--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] feat(db): add onboarding workflows structure [superset]

Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on PR #37680:
URL: https://github.com/apache/superset/pull/37680#issuecomment-3881016554

   Sounds like this is part of a greater plan, this PR bringing models in provides no visibility on what that plan is. PR should probably have the full feature.


-- 
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