feat: enable users restart executions
See original GitHub issueThe idea is simple:
When viewing a lab that has a cached run, the cached is being replayed so a user doesn’t have to pay for it. However, it’s possible to have cases and labs where the output is random and might be different per run. In such cases, users with a (beta) plan should be able to force a re-run of the lab.
Here’s what’s needed:
- We need a UI component that enables re-run. Right now we have “Run” button. One idea would be to extend this button to have a dropdown so users can choose option “Run without cache” (wording tbd). This can be a separate task, we can start with a new button for now. This button should only be shown when there’s a cached run.
- To inform the backend that it’s a forced re-run we need to pass that information as part of the
invocation
that is created here. Probably introduced a new flagexecute_without_cache
. Another option would be to introduce a new InvocationType. Not sure if that’s the right place though. @cburgdorf ? - One the server we need to check if a run is a forced run or not. Probably somewhere here.
- Checking if the user is allowed to force re-run is already covered here
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
Soft Restarts | Android Open Source Project
Android 11 supports soft restarts, which are runtime restarts of processes in the user space used to apply updates that require a reboot...
Read more >Configure updates and reboot options for Windows 10 using ...
Since version 1903, Windows 10 determines the active hours automatically based on user activity. If you want to use this feature, you should ......
Read more >about Execution Policies - PowerShell | Microsoft Learn
PowerShell's execution policy is a safety feature that controls the ... Execution policies for the local computer and current user are ...
Read more >Enable and disable GitLab features deployed behind feature ...
These features can be enabled and disabled to allow or prevent users from using them. It can be done by GitLab administrators with...
Read more >Setting up and enabling Enhanced Monitoring
The user that enables Enhanced Monitoring must be granted the PassRole ... to turn on Enhanced Monitoring, you don't need to reboot your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
awesome, ty! i’ll do that one next
It is a good idea and still on my list! Gonna create an issue really quick