Feature · Codespaces & storage

Codespaces and storage waste: idle environments and the gigabytes nobody owns.

Short answer

FinOpsAid lists every Codespace with its machine type, state and last use, flags idle and oversized ones, and breaks GitHub storage spend into categories — Git LFS, packages, shared storage and Actions artifacts. The Codespaces and storage totals come from GitHub's billing API; GitHub doesn't price individual Codespaces, so per-environment cost isn't shown as billed.

Updated

What it does

Codespaces bill for compute while running and storage while they exist, so a stopped environment nobody deletes still costs money, and a large machine type picked once keeps costing more every hour it runs. FinOpsAid shows the inventory with those two failure modes flagged: idle (not used recently) and oversized (a bigger machine than its use suggests).

Storage gets the same treatment by category, because "storage went up" is not actionable until you know whether it was LFS objects, package versions or Actions artifacts.

What data it reads

The Codespaces inventory — owner, repository, machine type, state and timestamps — from GitHub's Codespaces API, snapshotted nightly so you can see how long an environment has sat idle. The Codespaces and storage dollar totals come from GitHub's billing usage API, by product and category.

Billed versus modeled

The org-level Codespaces and storage totals are billed fact. Per-Codespace cost is not something GitHub attributes, so FinOpsAid doesn't present one as billed; the idle and oversized flags are observations to act on, not invoice lines.

How to read the numbers

For Codespaces, sort by idle time and delete what's abandoned, then review machine types on the longest-running environments; GitHub's own retention and idle-timeout settings stop it recurring. For storage, find the largest category and its trend — then fix retention or clean up package versions at the source.

FinOpsAid connects through a GitHub App with read-only scopes. It changes no seats, edits no permissions, pushes no code, and never stores your source. Because only Read is granted, writing back to GitHub is not a policy we promise — it is technically impossible.

What FinOpsAid doesn't do

  • It doesn't stop, resize or delete Codespaces — it's read-only.
  • It doesn't show a billed cost per individual Codespace, because GitHub doesn't attribute one.
  • It doesn't delete artifacts or package versions; storage clean-up happens in GitHub.

FAQ

Frequently asked questions

How do I find idle GitHub Codespaces?

Compare each Codespace's last-used timestamp with today and look at its state: stopped environments still bill for storage until deleted. FinOpsAid snapshots the Codespaces inventory nightly, flags idle and oversized environments, and lists their owners so you know who to ask before deleting.

What makes up GitHub storage costs?

GitHub storage covers Git LFS objects, GitHub Packages, shared storage and Actions artifacts and caches. Each grows for a different reason. FinOpsAid breaks billed storage into these categories so you can see which one is growing and fix it at the source.

Can FinOpsAid show the cost of each Codespace?

Not as a billed figure. GitHub bills Codespaces at the organization level and doesn't attribute cost to individual environments, so FinOpsAid shows the billed total plus an inventory with idle and oversized flags, rather than inventing a per-Codespace invoice line.

Try it

See these numbers for your own org

Connect your organization read-only and FinOpsAid meters it nightly — seats, credits, minutes, Codespaces and storage, attributed to teams and reconciled against your billing API. Every modeled figure is labelled an estimate, with the date it was computed.