question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: enable users restart executions

See original GitHub issue

The 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:

  1. 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.
  2. 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 flag execute_without_cache. Another option would be to introduce a new InvocationType. Not sure if that’s the right place though. @cburgdorf ?
  3. One the server we need to check if a run is a forced run or not. Probably somewhere here.
  4. Checking if the user is allowed to force re-run is already covered here

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
CarmenPopoviciucommented, Jun 6, 2017

awesome, ty! i’ll do that one next

1reaction
0x-r4bbitcommented, Jun 6, 2017

It is a good idea and still on my list! Gonna create an issue really quick

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found