Skip to content

Fix: the Kits gauge test checks the sample lease on the version it was read on - #2121

Merged
repeat98 merged 2 commits into
mainfrom
fix/kits-gauge-test-version
Nov 24, 2026
Merged

repeat98 merged 2 commits into
mainfrom
fix/kits-gauge-test-version

Conversation

@repeat98

Copy link
Copy Markdown
Owner
  • What was wrong: resource-indicators.test.ts expected Kits' measured memory (the 21 November pool reading, 2,085.232 kB in two pools) for whatever Kits version is current. The gauge binds that reading to Kits 0.1.0's version and package, so every Kits update failed the test. It fails today on Kits 0.1.1 (Kits 0.1.1-experimental: SAVE KIT, RELOAD KIT and RENAME KIT in the shared Part Edit menu #2066).
  • What this changes: the test checks the two pools while Kits is the version the reading names. For any later version it checks that the gauge shows no measured figure. When 0.1.1's pool is read and the record moves to it, the two-pools check comes back with the new figures. Changelog: changelog/2026-11-24-kits-gauge-test-version.md.
  • How I checked it: npx vitest run src/catalog/resource-indicators.test.ts (17 pass on main, Kits 0.1.0), and npm run pr:ready.
  • Tested on a unit: not applicable, a test change only.
  • Edge cases: none: nothing that runs on a unit or on the site changes.
  • What the guides lacked or got wrong: nothing.

🤖 Generated with Claude Code

…s read on

The 21 November pool reading is Kits 0.1.0's package, and the gauge binds a
reading to its version and package, so any Kits update made the test fail
(Kits 0.1.1, #2066). The test now checks the two pools while Kits is the
measured version and, after that, that the gauge shows no measured figure.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label Nov 24, 2026
@repeat98
repeat98 enabled auto-merge (squash) November 24, 2026 16:19
@repeat98
repeat98 merged commit a916eb0 into main Nov 24, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant