- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Suite release / deliver (push) Has been skipped
Suite release / module (push) Successful in 33s
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / finalize (push) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / check-manifest (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / scope (push) Successful in 19s
Suite release / check-package (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / reserve (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
|
||
| go.mod | ||
| go.sum | ||
| README.md | ||
| sessionnote.go | ||
| sessionnote_test.go | ||
sessionnote
Tells session-index which files a writer just wrote to its shares (AHT-107). session-index reads the shares over the network, where it can't see other machines' writes, so each writer sends a note naming the files, and session-index reads them from the place it stored. A note waits in an outbox until session-index accepts it; the writer's next write sends it again, and session-index's own start reads everything it missed, so nothing runs on a timer. Its calls go through netclient.
It was at-home-tools' sessionnote package until shared packages got repositories of their own
(AGT-85,
AHT-258).
Using it
require forgejo.romaine.life/romaine-life/sessionnote v0.1.0
import "forgejo.romaine.life/romaine-life/sessionnote"
Testing
go test ./..., against httptest servers.
Shipping
A library: the release-module topic in
pipeline-templates' fleet.json
tags each merge that changes the code, and every fleet repository whose go.mod requires it
gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to
builds outside CI.