Read the credit series and the unread notification count #5
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/credit-read"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two reads the tray needs and nothing consumed yet. Server halves: the credit endpoint has been live since the toggle work; the notification count is new in the platform repo's PR.
Credit— balance plus the recent hourly debits. Burn and runway are derived here rather than sent, because the platform states facts and the projection is the client's to make. Both answer honestly when there is nothing to project: no metered usage and an exhausted balance are different from a runway of infinity, and a client that conflates them draws one. A positive row in the debit series is a credit filed under the wrong type, and counting it would flatter the rate.Notifications— the unread count and the newest few. The web UI carries this as a badge on every page; a resident client is where it earns its keep, being the surface a person has open when a deploy they started finishes badly.go build,go vet,go test ./...clean; client coverage up to 86.9%.