You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sadpandajoe (via GitHub)" <gi...@apache.org> on 2024/07/25 00:50:45 UTC

[I] Ephemeral instances no longer have any example data [superset]

sadpandajoe opened a new issue, #29694:
URL: https://github.com/apache/superset/issues/29694

   ### Bug description
   
   When you spin up an ephemeral instance in a PR, example data such as dashboard, charts, etc. no longer exist.
   
   ### How to reproduce the bug
   
   1. Go to a PR
   2. Spin up an ephemeral
   3. Log into the ephemeral
   4. Go to the dashboard list
   
   Notice that the dashboard list is empty where we used to have example dashboards.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
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.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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #29694:
URL: https://github.com/apache/superset/issues/29694#issuecomment-2256608733

   @michael-s-molina I've created this PR to revert in case if you can't get to this before 4.1 is ready: https://github.com/apache/superset/pull/29766. Will hold off from merging for now.


-- 
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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed issue #29694: Ephemeral instances no longer have any example data
URL: https://github.com/apache/superset/issues/29694


-- 
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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #29694:
URL: https://github.com/apache/superset/issues/29694#issuecomment-2250958704

   @michael-s-molina we tracked it down to your PR: https://github.com/apache/superset/pull/28789 that was causing this. Wondering if you have time to take a look at this?


-- 
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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "michael-s-molina (via GitHub)" <gi...@apache.org>.
michael-s-molina commented on issue #29694:
URL: https://github.com/apache/superset/issues/29694#issuecomment-2253218361

   @sadpandajoe @eschutho I executed the load examples command many times in my dev environment so I believe if might be something with the ephemeral environment. Do you have any additional information about the error? Any logs? 
   
   I'm really busy for the next days so feel free to revert the PR if needed.


-- 
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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #29694:
URL: https://github.com/apache/superset/issues/29694#issuecomment-2249132157

   <!-- Greeting -->
   Hey @sadpandajoe! I'm here to assist you with any bugs, questions, or contributions while we wait for a human maintainer. Let's tackle this together!
   
   <!-- Answer -->
   The example data such as dashboards and charts no longer exist when spinning up an ephemeral instance in a PR because the provided workflow configuration does not include any steps to load or initialize example data. To include example data, you need to add steps in the workflow to load the example data after the environment is spun up. You can use scripts like `misc_dashboard.py` to load example dashboards and charts, or leverage the `ImportAssetsCommand` from the `superset.commands.importers.v1.assets` module to import predefined configurations for databases, datasets, charts, and dashboards <sup>[[1]](https://github.com/apache/superset/blob/master/.github/workflows/ephemeral-env.yml)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/examples/misc_dashboard.py)</sup><sup>[[3]](https://github.com/apache/superset/blob/master/tests/unit_tests/commands/importers/v1/assets_test.py)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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: [I] Ephemeral instances no longer have any example data [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29694:
URL: https://github.com/apache/superset/issues/29694#issuecomment-2256594737

   This might be a clue for anyone looking into this: https://github.com/apache/superset/issues/27633


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