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.

feature: add OS distro name and version to runner context

See original GitHub issue

Similar to #1185, it would be nice to have OS distro name and version in runner context.

For example, the value of runner.os is used by actions/cache as part of the cache key, so that the cache for Windows won’t be reused on MacOS. Surely, it also makes sense to use runner.arch as binary artefacts from ARM won’t work on e.g. X64 (filed

What’s missing is OS distro name (such as “ubuntu”, in case other distros will be used in the future) and the distro version (such as “20.04” or “22.04”. This is needed because the code (object files, for example) compiled on Ubuntu 22.04 won’t work on Ubuntu 20.04. I guess this may also be true for Windows and Mac OS X (e.g. binaries for Mac OS 12 might not work on Mac OS 11).

Making this available might help solve problems like (and avoid similar hard-to-debug issues in the future).

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

kolyshkincommented, Aug 9, 2023

For the sake of people reading this, this information is actually available from the GHA environment since March 2020, see For usage example, see

kolyshkincommented, Apr 13, 2023

@nikola-jokic thanks for the detailed explanation! I think I will concede the honor of opening this feature request discussion to whoever is going to fix and similar issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ's about Windows Subsystem for Linux - WSL
Find answers to frequently asked questions (FAQs) about the Windows Subsystem for Linux, such as 'What can I do with WSL?'.
Read more >
GitLab Runner feature flags
Read more >
Registering runners | GitLab
You must use a Runner version that is appropriate for the GitLab version, or upgrade the GitLab application. Runner registration is the process...
Read more >
Manual installation steps for older versions of WSL
Step by step instructions to manually install WSL on older versions of Windows, rather than using the wsl install command.
Read more >
The Ultimate Guide to Windows Subsystem for Linux ...
Learn how to natively work within Linux on Windows 10 with Windows Subsystem for Linux (WSL in Windows) in this HUGE guide!
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 Post

No results found

github_iconTop Related Hashnode Post

No results found