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

cuegui: Make frames and layers readonly after job is done #1167

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

akim-ruslanov
Copy link
Contributor

@akim-ruslanov akim-ruslanov commented Jul 6, 2022

Link the Issue(s) this Pull Request is related to.
Retrying a frame in a finished job will cause the frame to go back into the waiting state and the job will return to the cue. This even bypasses checks on duplicate job names, so two jobs with the same name can be running at the same time. Hence, it should be disallowed to retry frames on finished jobs, and the finished jobs should be read only.

Summarize your change.
The cuegui buttons that retry frames, edit dependencies, reorder, etc. are grayed out if the jobs is finished. This should make sure we treat the job as read only once the job is finished.
The new feature can be toggled through adding a prop to cue_resources.yaml. By default, the feature will be off and can only be toggled on by explicitly including the prop.

@akim-ruslanov akim-ruslanov changed the title Make frames and layers readonly after job is done cuegui: Make frames and layers readonly after job is done Jul 6, 2022
@akim-ruslanov akim-ruslanov force-pushed the cuegui_readonly branch 3 times, most recently from 008419b to bd96fc7 Compare July 7, 2022 18:25
Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for adding the config setting!

Signed-off-by: Diego Tavares da Silva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants