gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Use the dev server for the Lite E2E test instead of the built version…

Open whitphx opened this issue 1 year ago • 3 comments

… so we can see more informative logs when an error occurs

Description

Error logs and stack trace on the built and minified files are not good for debugging.

whitphx avatar Apr 15 '24 21:04 whitphx

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website building...
Storybook failed! Details
:unicorn: Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/27d4742770755ba7cbe582fd163f431226662b26/gradio-4.28.3-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@27d4742770755ba7cbe582fd163f431226662b26#subdirectory=client/python"

gradio-pr-bot avatar Apr 15 '24 21:04 gradio-pr-bot

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/app minor
@gradio/tootils minor
gradio minor
  • [ ] Maintainers can select this checkbox to manually select packages to update.

With the following changelog entry.

Use the dev server for the Lite E2E test instead of the built version…

Maintainers or the PR author can modify the PR title to modify this entry.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

gradio-pr-bot avatar Apr 15 '24 21:04 gradio-pr-bot

~~This PR makes the functional test take +20mis, which is not acceptable... Will keep the CI as-is, and add this dev-server mode as an option for local dev.~~

The original problem behind this issue was solved without running the dev-server, so will close this PR at this moment. Will refer to this code when it becomes necessary.

whitphx avatar Apr 19 '24 14:04 whitphx