Skip to content
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

Pausing job #395

Open
4 tasks
toan-quach opened this issue Apr 14, 2022 · 3 comments
Open
4 tasks

Pausing job #395

toan-quach opened this issue Apr 14, 2022 · 3 comments
Labels
Core: Job & Orchestrator Core Related to Taipy Core ✨New feature 🟩 Priority: Low Low priority and doesn't need to be rushed 🔒 Staff only Can only be assigned to the Taipy R&D team

Comments

@toan-quach
Copy link
Member

toan-quach commented Apr 14, 2022

Description

  • Expose methods in Job_manager to pause and resume a job from its id or the entity.
_JobManager.pause(job.id)
_JobManager.resume(job.id)
_JobManager.pause(job)
_JobManager.resume(job)
  • Expose method in Taipy to pause and resume a job from its id or the entity.
tp.pause(job.id)
tp.resume(job.id)
tp.pause(job)
tp.resumue(job)
  • Expose method in Job to pause and resume itself.
job.pause()
job.resume()

Acceptance Criteria

  • Ensure new code is unit tested, and check code coverage is at least 90%
  • Propagate any change in the demos and run all of them to ensure there is no breaking change
  • Propagate any change in taipy-rest
  • Ensure any change is well documented
@jrobinAV jrobinAV added ✨New feature 🟩 Priority: Low Low priority and doesn't need to be rushed labels Jun 23, 2023
@jrobinAV
Copy link
Member

Question about the added value:
What would be the interest for a end user to pause a job?

@toan-quach
Copy link
Member Author

I don't even remember creating this PR, it has been more than a year now it seems 🤣 But I'd say it's can be beneficial to pause the job temporarily and continue it later, especially when the job is heavy. In cases like power outage or system failure, being able to resume the job when the system restarts is also good to have 😃

@jrobinAV jrobinAV transferred this issue from Avaiga/taipy-core Nov 13, 2023
@jrobinAV jrobinAV added Core Related to Taipy Core 🔒 Staff only Can only be assigned to the Taipy R&D team Core: Job & Orchestrator labels Nov 17, 2023
@jrobinAV
Copy link
Member

The added value is not clear to me.

dinhlongviolin1 added a commit that referenced this issue Dec 4, 2023
* update flask to 2.2

* update to json provider class

* add json provider class

* add simple webscoket as optional dependencies

* reorganize

* ignore mypy error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core: Job & Orchestrator Core Related to Taipy Core ✨New feature 🟩 Priority: Low Low priority and doesn't need to be rushed 🔒 Staff only Can only be assigned to the Taipy R&D team
Projects
None yet
Development

No branches or pull requests

2 participants