Skip to content

build(deps): bump lodge kit to v0.3.1 - #109

Merged
bketelsen merged 1 commit into
mainfrom
chore/lodge-kit-v0.3.1
Oct 28, 2026
Merged

bketelsen merged 1 commit into
mainfrom
chore/lodge-kit-v0.3.1

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Bumps github.com/frostyard/lodge/kit from v0.3.0 to v0.3.1 (lodge#40, tag kit/v0.3.1 at 488fe6e). In v0.3.1, kit/jsonrpc's client delivers a reply that arrives as the connection closes, so the answer to rpc.shutdown is not lost to the close.

Changes:

  • go.mod, go.sum: kit v0.3.1.
  • packaging/flatpak/go-sources.json: regenerated with go run ./tools/flatpakgo (the Go part of make flatpak-sources; no lockfile changed, so the cargo and node sources stay the same).

Evidence:

  • make check: passes.
  • go test -race -count=500 -run '^TestShutdown' ./internal/rpcserver/: 500 runs, all pass.
  • go test -race -count=500 -run '^TestShutdown' ./cmd/notesctl/: see the comment below.

kit/jsonrpc v0.3.1 delivers a reply that arrives as the connection
closes (lodge#40), so rpc.shutdown's answer is never lost to the close.
go-sources.json is regenerated for the Flatpak build.
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Evidence at head bba6721:

  • go test -race -count=500 -run '^TestShutdown' ./internal/rpcserver/: ok (500 × 3 tests, 102 s).
  • go test -race -count=500 -timeout=90m -run '^TestShutdown' ./cmd/notesctl/: ok (500 × 6 tests, 1235 s). A first run with the default 10 m timeout ran out of time with no test failing; the running test had been going 0 s.
  • make check: passes. Note: under umask 0077, internal/secrets TestFileRefusesReadableFile fails on main too (os.WriteFile(..., 0o644) makes a 0600 file). It is not related to this PR.
  • CI: all required checks pass.
  • Cross-review (coder Claude Opus 5.5, reviewer openai/gpt-6.1-sol), base 12b111c, head bba6721: Ready, Blocking: none, no findings. Kit v0.3.0 → v0.3.1 changes only the client's reply handling at close, its test and the toolchain line; the exported API stays the same. frostnotes keeps no workaround for the old race.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Oct 28, 2026
@bketelsen
bketelsen merged commit 33704cb into main Oct 28, 2026
9 checks passed
@bketelsen
bketelsen deleted the chore/lodge-kit-v0.3.1 branch October 28, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants