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

Allow reset-to-base for volume tasks #4276

Merged
merged 5 commits into from
Sep 5, 2019
Merged

Conversation

fm3
Copy link
Member

@fm3 fm3 commented Sep 4, 2019

URL of deployed dev instance (used for testing):

Steps to test:

  • create volume tasktype + task
  • request that task, trace some
  • hit “reset” in task menu on that task
  • should have initial state again

Issues:


@fm3 fm3 added the backend label Sep 4, 2019
@fm3 fm3 self-assigned this Sep 4, 2019
@fm3 fm3 requested review from philippotto and youri-k and removed request for philippotto September 4, 2019 08:42
Copy link
Contributor

@youri-k youri-k left a comment

Choose a reason for hiding this comment

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

LGTM

If you disagree with my comment, I'm also fine with not updating the log.

Fox.failure("annotation.revert.skeletonOnly")
case AnnotationType.Task if annotation.skeletonTracingId.isDefined =>
Fox.failure("annotation.revert.tasksOnly")
case AnnotationType.Task =>
for {
task <- taskFor(annotation)
_ = logger.warn(
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe update the logger call to also show the discarded volumeId

@fm3 fm3 added the automerge label Sep 5, 2019
@bulldozer-boy bulldozer-boy bot merged commit 60614c0 into master Sep 5, 2019
@bulldozer-boy bulldozer-boy bot deleted the reset-volume-tasks branch September 5, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow resetting volume tasks to base
2 participants