npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

lens-github-actions

v0.4.0

Published

See the GitHub Actions runs of your repositories next to what each cluster runs of them: services, Flux image automation, Helm charts and GitOps syncs.

Readme

GitHub Actions for Lens

Keep an eye on the GitHub Actions workflow runs behind each of your clusters, without leaving Lens.

A cluster's dashboard: a service one release behind the latest, and the workflows of each release

Features

  • A GitHub Actions item under every cluster in the navigator, opening that cluster's dashboard of the latest commits or releases of each watched repository, with the status of their workflow runs and whether the cluster already runs them.
  • An item in the status bar saying how the cluster you are looking at, or looked at last, stands: Up to date, Behind, Deploying, Failing or Unreachable, with the reason on hover. Click it to open the cluster's dashboard. It shows only for a cluster something is watched for. While it shows, it keeps that cluster's GitHub checks and cluster watches running, even with the dashboard closed.
  • Notifications in Lens when services go live on a newer version, CI fails on the latest commit or release, something fails to apply, or the cluster or GitHub cannot be read, each with a link to the cluster's dashboard. Only changes notify: what already was when Lens started does not. They come from the clusters followed, those whose dashboard is open or the status bar item shows. Each watch can notify of everything, of failures only, or not at all.
  • GitHub Actions settings in every cluster's right-click menu, where each cluster gets its own list of watched GitHub repositories, each following a branch's commits or the repository's releases, and how often to check it.

Usage

Expand a cluster in the navigator and click GitHub Actions to open its dashboard. If nothing is set up for the cluster yet, click Configure GitHub Actions there, or right-click the cluster and choose GitHub Actions settings.

In the settings, enter a repository as owner/name and choose what to follow: the commits of a branch (main by default), for clusters that deploy every commit, or releases, with or without pre-releases such as release candidates, for clusters that deploy tagged releases. An optional tag pattern keeps only the releases whose tag matches, where * stands for anything: v* for a repository that also releases other things under tags such as artifact-contract/v0.2.0. Pick how often to refresh everything while nothing is happening, and click Add. Watched repositories show on the dashboard. Use Edit to change a repository's branch or check interval, and Remove to stop watching it. Each cluster's list is kept across restarts of Lens.

The dashboard opens with a banner saying how the cluster stands: Up to date, Behind, Deploying, or Failing when CI fails on a branch's latest commit or Flux fails to apply a service. Below it, for each watched repository:

  • Cards for how many services run the latest commit, how many versions are running, and how many recent commits pass their workflows.
  • Services: a table of every service the cluster runs from a build of the last 30 commits or releases, named after its image (such as checkout-api), with the version it runs and how many commits or releases behind the latest it is. Its Deployed by column names the Kustomization, HelmRelease or Argo CD Application that applies it, with its status and, for a HelmRelease, the chart version installed. When Flux has a newer chart, such as one built from a commit to the chart in the repository, the status says so while it waits to install, is installing (database migrations run then, for instance), or failed to install, and the recent commits mark which commit the installed chart was built from. When Flux image automation has picked up a newer build, the status follows it through Flux: selected by an ImagePolicy, committed to the GitOps repository by an ImageUpdateAutomation, applying, or failed to apply, then rolling out. Hover a service to see its workloads and what deploys them, and the message when applying fails. Click a service to open its workload's details, and what deploys it to open its details.
  • GitOps syncs, for a branch a Flux GitRepository or an Argo CD Application of the cluster follows: a table of the Kustomizations and Applications applying it, with the commit each applied and a newer one on its way, fetched, being applied, or failed to apply (the message on hover). This is what a GitOps repository, which deploys manifests rather than images, is followed by: watch it like any branch.
  • Recent commits or Recent releases: a table of the five latest, each with its commit message (for a release, the message of the commit it was tagged on), its workflow results (only the runs it started count: what GitHub records against a commit without the commit starting it, such as Dependabot's updates or Copilot's reviews, is listed apart and counts for nothing; hover for each workflow; for a release with no runs of its own, as when a repository builds on its default branch and tags afterwards, those of the commit it was tagged on, marked "on main") and the services of the cluster that run its build. Click a commit id or tag, or its workflow results, to open its details in a panel that slides in over the dashboard, as a Kubernetes resource's details do: its message, author and date, with a link to GitHub; the services, Kustomizations and Argo CD Applications of the cluster at it, each opening its details; and its workflows, each a card with a timeline of its jobs, how long each took and the step a failed one failed in, with links to the run and to each job's log, and to re-run a failed workflow's failed jobs, after confirming (this needs the GitHub CLI's account to be allowed to run workflows). Successful workflows start folded. Open in a tab in the panel keeps the workflows open in a tab of their own, next to the dashboard, with every step of each job and the end of a failed job's log, errors and warnings marked; it goes on updating a run in progress and comes back after Lens restarts.

A commit's details panel over the dashboard, with a failed workflow's jobs on a timeline

The workflows tab: a failed job's steps and the end of its log

For a branch, a service is recognised by the commit id, in full or abbreviated to at least 7 characters, in its image's tag, as in backend:main-76cd335. For releases, by its image's tag being the release's tag, with or without a leading v, as in backend:v2026.9.3-rc.1. The cluster's Deployments, StatefulSets, DaemonSets and CronJobs are read (a CronJob counts as running its image's version once applied, listed as scheduled or suspended), and Flux's Kustomizations, HelmReleases, ImagePolicies and ImageUpdateAutomations and Argo CD's Applications when the cluster has them. Argo CD finds what an Application deployed by its tracking annotation, or by the app.kubernetes.io/instance label with label tracking, Argo CD 2's default; a plain Helm release named like an Application may then be taken for one of its resources. An Application following HEAD is taken to follow the watched branch; one following a tag or a version range is not shown as syncing a branch. A build counts as committed once an ImageUpdateAutomation next to its ImagePolicy has pushed after the build's commit was made, since Flux does not record which of its commits carries which tag. Opening the dashboard connects Lens to the cluster. If the cluster cannot be read, for instance while its connection is down, the dashboard says so and tries again every 30 seconds.

While the dashboard is open, the cluster is followed live, and GitHub is checked as often as there is something to see. While workflow runs are unfinished, or a service is on its way through Flux or rolling out, it checks every 15 seconds, asking only about the commits whose runs have not finished (live in the header). Otherwise it checks once a minute whether a new commit has landed, and refreshes everything at the branch's check interval. If GitHub's rate limit is reached, it waits for the check interval before trying again. The refresh button checks right away.

Requirements

The workflow runs are read with the GitHub CLI. Install it and sign in with gh auth login before using the dashboard.

When reading GitHub fails, the dashboard says why and what to do: gh not installed or not found by Lens (restart Lens after installing it, so it picks up your shell's PATH), not signed in or its sign-in expired, an organization requiring single sign-on, a repository or branch not found, GitHub's rate limit, or GitHub not reachable. For what needs you to act, checking pauses until you check again with the refresh button.

What changed in each version is in CHANGELOG.md.