Bug #21413
closedOOM retry is confusing
Added by Peter Amstutz 10 months ago. Updated about 2 months ago.
Description
The CWL OOM retry feature is confusing for a couple of reasons:
It shows up as a warning, suggesting something is wrong, when nothing is wrongfixed in #19982- You have both a failed step and a successful step, but people see the failed step and think there's a problem.
It should:
- Use the "arv:failed_container_resubmitted" to render an orange badge (for warning) instead of red (for failed) to give a little bit better indication that something happened.
Related issues
Updated by Peter Amstutz 10 months ago
- Category changed from Workbench2 to CWL
- Description updated (diff)
- Subject changed from OOM retry is confusing in workbench to OOM retry is confusing
Updated by Peter Amstutz 10 months ago
- Target version changed from Development 2024-02-14 sprint to Development 2024-02-28 sprint
Updated by Peter Amstutz 9 months ago
- Target version changed from Development 2024-02-28 sprint to Development 2024-03-13 sprint
Updated by Peter Amstutz 9 months ago
- Target version changed from Development 2024-03-13 sprint to Development 2024-03-27 sprint
Updated by Peter Amstutz 9 months ago
- Target version changed from Development 2024-03-27 sprint to To be scheduled
Updated by Peter Amstutz 9 months ago
- Target version changed from To be scheduled to Development 2024-04-24 sprint
Updated by Peter Amstutz 8 months ago
- Target version changed from Development 2024-04-24 sprint to Development 2024-05-08 sprint
Updated by Peter Amstutz 8 months ago
- Target version changed from Development 2024-05-08 sprint to Development 2024-06-05 sprint
Updated by Peter Amstutz 6 months ago
- Target version changed from Development 2024-06-05 sprint to 439
Updated by Peter Amstutz 6 months ago
- Target version changed from 439 to Development 2024-07-03 sprint
Updated by Peter Amstutz 5 months ago
- Target version changed from Development 2024-07-03 sprint to Development 2024-07-24 sprint
Updated by Peter Amstutz 5 months ago
- Target version changed from Development 2024-07-24 sprint to Development 2024-08-07 sprint
Updated by Peter Amstutz 5 months ago
- Target version changed from Development 2024-08-07 sprint to Development 2024-08-28 sprint
Updated by Peter Amstutz 4 months ago
- Target version changed from Development 2024-08-28 sprint to Development 2024-09-25 sprint
Updated by Peter Amstutz 4 months ago
- Related to Feature #19982: Ability to know when a container died because of spot instance reclamation and option to resubmit added
Updated by Peter Amstutz 4 months ago
- Target version changed from Development 2024-09-25 sprint to Development 2024-08-07 sprint
Updated by Peter Amstutz 3 months ago
- Target version changed from Development 2024-08-07 sprint to Development 2024-08-28 sprint
Updated by Peter Amstutz 3 months ago
- Category changed from CWL to Workbench2
- Description updated (diff)
Updated by Peter Amstutz 3 months ago
21413-retried-badge @ 4ce5db8508377bd5d4825cc263957bcab1cd2ee1
Updated by Peter Amstutz 3 months ago
21413-retried-badge @ ef508246d95c9fe90579adfa8bd22e6cc1eaafc4
- All agreed upon points are implemented / addressed.
- Now gives better feedback that a workflow step was resubmitted automatically
- Anything not implemented (discovered or discussed during work) has a follow-up story.
- n/a
- Code is tested and passing, both automated and manual, what manual testing was done is described
- passes existing tests, I did not add any new tests.
- Documentation has been updated.
- n/a
- Behaves appropriately at the intended scale (describe intended scale).
- no changes to scale
- Considered backwards and forwards compatibility issues between client and server.
- Only has an effect when an newer arvados-cwl-runner that sets "arv:failed_container_resubmitted" property is used
- Follows our coding standards and GUI style guidelines.
- yes
Updated by Lucas Di Pentima 3 months ago
- I think your editor is misconfigured and using TABs for identation instead of spaces: there's some weird indentation at least in
process.ts
- File
services/workbench2/src/views/process-panel/process-details-attributes.tsx
- Line 115: Instead of using the literal string, we could use the enum like in line 118 for consistency.
- Weird mix of tab and space indentation going on here too.
- I believe you should be able to easily add a test case for this new badge in
services/workbench2/src/views-components/data-explorer/renderers.test.tsx
Updated by Peter Amstutz 3 months ago
Lucas Di Pentima wrote in #note-23:
- I think your editor is misconfigured and using TABs for identation instead of spaces: there's some weird indentation at least in
process.ts
Yea, I had a hook to automatically fix tabs-to-spaces but it wasn't hooked to the right mode. Fixed.
- File
services/workbench2/src/views/process-panel/process-details-attributes.tsx
- Line 115: Instead of using the literal string, we could use the enum like in line 118 for consistency.
Fixed.
- Weird mix of tab and space indentation going on here too.
Fixed.
- I believe you should be able to easily add a test case for this new badge in
services/workbench2/src/views-components/data-explorer/renderers.test.tsx
I was actually avoiding adding unit tests on purpose to avoid having merge conflicts with #21720
We can keep the ticket open and add tests when the big wb2 branch lands.
Updated by Lucas Di Pentima 3 months ago
Some missing comments from the previous review pass:
- At
services/workbench2/src/views/process-panel/process-details-attributes.tsx
line 118, it seems that ifgetResourceUrl()
fails, we build an empty link. I think it would be better to not render the link in that case, instead. - Our workbench color guidelines suggest that colors should have some minimal contrast between each other. Not sure if this orange color complies with the suggestion, but wanted to point it out just in case.
Apart from the above observations, it LGTM.
Updated by Peter Amstutz 3 months ago
Lucas Di Pentima wrote in #note-25:
Some missing comments from the previous review pass:
- At
services/workbench2/src/views/process-panel/process-details-attributes.tsx
line 118, it seems that ifgetResourceUrl()
fails, we build an empty link. I think it would be better to not render the link in that case, instead.
Now won't render the notice if getResourceUrl returns undefined.
- Our workbench color guidelines suggest that colors should have some minimal contrast between each other. Not sure if this orange color complies with the suggestion, but wanted to point it out just in case.
Now uses a "dark orange" which has a 4.5 contrast ratio with white text.
Apart from the above observations, it LGTM.
21413-retried-badge @ abdc66377cccd1e87617ca333d0cd1d2883f1591
Updated by Peter Amstutz 3 months ago
- Status changed from In Progress to Resolved