Page MenuHomeSoftware Heritage

Force recooking of an object when previous vault task failed
ClosedPublic

Authored by anlambert on Feb 14 2020, 4:55 PM.

Details

Summary

Previously, it was not offered to the user to recook an object when its last cooking failed.

So force object recooking by displaying the vault task creation modal.

Previous failed task will be also removed from the vault status page if it is present.

Related to T2283
Related to T2284

Diff Detail

Repository
rDWAPPS Web applications
Branch
vault-force-recooking
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10607
Build 15860: Cypress tests for swh-web diffsJenkins
Build 15859: tox-on-jenkinsJenkins
Build 15858: arc lint + arc unit

Event Timeline

anlambert created this revision.Feb 14 2020, 4:55 PM
vlorentz requested changes to this revision.Feb 14 2020, 5:13 PM
vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/web/assets/src/bundles/vault/vault-create-tasks.js
23–24

The comment doesn't match the code

swh/web/assets/src/bundles/vault/vault-ui.js
212

s/Statuses//?

This revision now requires changes to proceed.Feb 14 2020, 5:13 PM
anlambert added inline comments.Feb 17 2020, 4:02 PM
swh/web/assets/src/bundles/vault/vault-create-tasks.js
23–24

Ack, will improve

swh/web/assets/src/bundles/vault/vault-ui.js
212

I will go for s/Statuses/Info/

anlambert updated this revision to Diff 9572.Feb 17 2020, 4:08 PM

Rebase and address @vlorentz comments

vlorentz accepted this revision.Feb 18 2020, 2:12 PM
This revision is now accepted and ready to land.Feb 18 2020, 2:12 PM
This revision was landed with ongoing or failed builds.Feb 18 2020, 2:17 PM
This revision was automatically updated to reflect the committed changes.