Skip to content

Pinner V1 + node subscription-drop cleanup + clippy pedantic sweep#24

Open
tokahuke wants to merge 9 commits into
mainfrom
pinner-v1
Open

Pinner V1 + node subscription-drop cleanup + clippy pedantic sweep#24
tokahuke wants to merge 9 commits into
mainfrom
pinner-v1

Conversation

@tokahuke

@tokahuke tokahuke commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • samizdat-pinner: new thin sidecar daemon to samizdat-node. Customers POST /pin with a series key + days; pinner adds a FullInventory subscription via the node admin API and records local expiry in LMDB. Expiry loop drops subscriptions whose payment has lapsed. V1 shared API key; Polygon receipts in V2.
  • node: DELETE /_subscriptions/{key} now atomically releases the Reference bookmarks SeriesRef::advance placed on the series's last edition before dropping the row. Closes the storage-leak the pinner depends on.
  • Two pre-existing unit-test fixes uncovered along the way: host_scope now strips bracketed IPv6 literals; cloudflare DNS provider parses result: null correctly on error responses.
  • Workspace [lints.clippy] block enables pedantic by default and silences the high-volume cosmetic lints; the ~20 real findings are fixed.

Breaking changes

  • DELETE /_subscriptions/{key} now also unmarks Reference bookmarks for the series's last edition. Any caller relying on the old "drop subscription record but leave the bookmarks" behavior (none in-tree) is affected.

Version

Stays on 0.3.3.

Pedro Arruda added 7 commits June 8, 2026 17:06
…back; cloudflare parser accepts result=null on error responses
…h-volume cosmetic lints, fix the remaining ~20 real findings
…502 vs Storage->500), NonZeroU32 for pin days, drop 4xx-tolerance on add_subscription, bincode put via ?, PerIpPermit debug_assert, comment on the forced Vec in subscription drop
… ACME renewal checks before sleeping + jitter, drop duplicate ObjectMetadata delete and redundant clone, antibodies for 6 nothingburgers
…E_CAP per bookmark principle, parallel Edition::refresh via FuturesUnordered, InFlightObject/FetchOutcome split, wire-size invariants (CHUNK_SIZE marriage + exact-size + brotli zip-bomb defense), cap-model doc + code-style skill + rustfmt 2024 imports_granularity=Crate
Pedro Arruda added 2 commits June 9, 2026 09:07
…tem docs across crates, clippy -D missing_docs clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant