-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow force run app on cloud if loading locally errors #15019
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
isn't
a blocker for co-locating work and flow on the same nodes? |
It depends on how it is implemented, if it requires the load of the app() before running on the cloud then yes it won't be compatible with this PR. I believe that ideally we should try to avoid loading app() as much as we can. |
…x/app/allow-run-without-loading-app
for more information, see https://pre-commit.ci
…:Lightning-AI/lightning into manskx/app/allow-run-without-loading-app
for more information, see https://pre-commit.ci
…x/app/allow-run-without-loading-app
…:Lightning-AI/lightning into manskx/app/allow-run-without-loading-app
This message could be improved. we want to inform the user that it's better to make sure the app runs locally first before running on cloud because it might contain errors. @edenafek what do you think ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving for now, but we would need a smarter mechanism to better collect the specs.
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, a tiny nit
Co-authored-by: Luca Antiga <[email protected]>
What does this PR do?
User story:
As a user, I want to be able to run lightning apps on the cloud and I don't need to install the dependencies locally.
If the app() cannot be loaded locally, it shows the following (the message needs to be revisited to tell the user it's better to save debugging time torun the app locally before running on cloud):
Limitations:
TODO:
Add e2e test for this feature or add it to one of the apps.
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Did you have fun?
Make sure you had fun coding 🙃
cc @Borda