Repository navigation
ci: run the test suite on every push and pull request - #5
Open
postpersonality wants to merge 2 commits into
Open
postpersonality wants to merge 2 commits into
postpersonality wants to merge 2 commits into
Conversation
added 2 commits
November 17, 2026 01:12
The extension settles a window whose reset has passed, so the fixed timestamps from the 0.9.3 capture made the extension test pass only before 2026-10-31 and fail afterwards. The normalization tests keep the fixed timestamps; the extension test now derives resets from the clock.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two build-infrastructure changes, no product code:
.github/workflows/ci.ymlrunsnpm teston every branch push and pull request on Node 24, the version the publish workflow uses. No dependencies are installed: the tests stub the Pi SDK.test/claude-bridge.test.ts"extension shows observed Claude usage without any request" failed onmainsince 2026-10-31. The fixture carries the reset timestamps captured from pi-claude-bridge 0.9.3, and the extension settles a window whose reset has passed, so the test read5h 100% · 1w 100%instead of5h 80% · 1w 87%. The normalization tests keep the fixed timestamps, since they pass an explicit clock; the extension test now derives its resets from the running clock.Evidence: the first CI run on this branch's predecessor failed on exactly that test (https://github.com/postpersonality/pi-subscription-usage/actions/runs/43967588567), and the run after the second commit is green (https://github.com/postpersonality/pi-subscription-usage/actions/runs/43967779534).
npm teston this branch: 117 pass, 0 fail.