• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lancekrogers / claude-code-go
81%

Build:
DEFAULT BRANCH: main
Repo Added 22 Sep 2026 01:33AM UTC
Token moMgm4UFCSFRpX7mHAiymKoLvaPRfFqbw regen
Build 7 Last
Files 15
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • ci/awesome-go-coverage
  • ci/remove-retired-report-card
  • docs/vhs-demo-recordings
  • main

29 Sep 2026 03:57PM UTC coverage: 81.455% (+0.01%) from 81.445%
36594190724

push

github

web-flow
VHS demo recordings, demo fixes, and resumed-session budget accounting (#28)

## Summary

Switches demo recording from expect + asciinema + agg to
[VHS](https://github.com/charmbracelet/vhs) and re-records all nine
GIFs. Recording showed several bugs in the demos and one in the SDK;
this PR fixes them too.

### SDK fix: resumed sessions were charged repeatedly (`pkg/claude`)

The CLI's `total_cost_usd` is a session's **running total**. A forked
session's total also includes its parent's. `BudgetTracker` (through the
completion hooks) and `MetricsPlugin` added that value on every run, so
each resumed turn charged all earlier spend again. With the CLI, two
resumed turns of about $0.11 each were tracked as $0.33.

- New `BudgetTracker.RecordSessionTotal(sessionID, parentSessionID,
total)` records only the increase over the last total seen for that
session. A fork starts from its parent's last total. The completion
hooks call it with `RunOptions.ResumeID` as the parent.
- `MetricsPlugin` adds only the per-session increase. It can't see the
parent, so a fork's first run still counts from 0 (documented).
- `AddSpend` is unchanged for callers that track per-run amounts.
`Reset`/`ResetSession` keep the per-session baselines, so a later resume
doesn't re-charge history.
- Tests: tracker cases (resume, fork, unrelated sessions, reset,
exceeded) and a `RunPromptCtx` resume test. With the fix reverted, the
integration test fails with 0.35 instead of 0.25.

### VHS recording

- `scripts/demo-tapes/`: one tape per demo, plus shared settings
(Catppuccin Mocha, window bar, padding, 1280×760) and a hidden setup
step.
- **Time-lapsed waits:** for each step that calls Claude, the GIF shows
the prompt being sent, skips the wait, and resumes on the reply. GIFs
now run 15–37s instead of minutes of idle time.
- The setup step pre-builds the demos and sets
`ENABLE_CLAUDEAI_MCP_SERVERS=false`, so the recorder's claude.ai
connectors don't leak into replies.
- `scripts/record-d... (continued)

24 of 28 new or added lines in 3 files covered. (85.71%)

2240 of 2750 relevant lines covered (81.45%)

0.93 hits per line

Relevant lines Covered
Build:
Build:
2750 RELEVANT LINES 2240 COVERED LINES
0.93 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
36594190724 main VHS demo recordings, demo fixes, and resumed-session budget accounting (#28) ## Summary Switches demo recording from expect + asciinema + agg to [VHS](https://github.com/charmbracelet/vhs) and re-records all nine GIFs. Recording showed several b... push 29 Sep 2026 03:58PM UTC web-flow github
81.45
36531700650 docs/vhs-demo-recordings Merge fab133517 into fd9a83817 Pull #28 29 Sep 2026 06:34AM UTC web-flow github
81.45
36527953840 docs/vhs-demo-recordings Merge 7c6e76452 into fd9a83817 Pull #28 29 Sep 2026 05:49AM UTC web-flow github
81.44
35697584647 main docs: drop the retired Go Report Card badge (#27) ## Summary Go Report Card was shut down on July 1, 2026. The badge on this README reads "retired". Remove that link. pkg.go.dev and Coveralls stay. ## Verification The README diff is the one ba... push 22 Sep 2026 07:02AM UTC web-flow github
81.44
35693739196 ci/remove-retired-report-card Merge 1f6e15ea6 into 75dcf5cbe Pull #27 22 Sep 2026 06:12AM UTC web-flow github
81.44
35692242767 main ci: publish test coverage and report-card links (#26) ## Summary - The existing coverage recipe now writes `coverage.out` from `go test -coverprofile`, and CI uploads that file to Coveralls with `secrets.GITHUB_TOKEN` only. - The README badge row... push 22 Sep 2026 05:50AM UTC web-flow github
81.44
35676146489 ci/awesome-go-coverage Merge 086325e23 into fb4296c73 Pull #26 22 Sep 2026 01:33AM UTC web-flow github
81.44
See All Builds (7)

Badge your Repo: claude-code-go

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc