Skip to content

Release 0.1.0#5

Merged
twinn merged 9 commits intomainfrom
release-0.1.0
Apr 10, 2026
Merged

Release 0.1.0#5
twinn merged 9 commits intomainfrom
release-0.1.0

Conversation

@twinn
Copy link
Copy Markdown
Owner

@twinn twinn commented Apr 10, 2026

Summary

  • Adds hex package configuration (package/0, description/0, docs/0, @source_url)
  • Adds ex_doc dependency for hexdocs generation
  • Adds CHANGELOG.md documenting the initial release

Test plan

  • mix precommit — format, credo, 82 tests, 0 failures
  • mix dialyzer — 0 errors
  • mix docs — generates cleanly

twinn added 9 commits April 10, 2026 13:44
- Add package/0, description/0, docs/0, and @source_url to mix.exs
- Add ex_doc dependency for hexdocs generation
- Add CHANGELOG.md documenting the initial release
Cluster tests (4 new tests using :peer):
- Producer discovery across nodes
- Producer list updates after node departure
- Unique job dedup across nodes
- Unique entry transfer on graceful shutdown

Bug fixes found by cluster tests:
- route_unique now calls Unique.check_and_insert on the target node's
  Unique server instead of always checking locally. Without this,
  unique dedup only worked on a single node.
- sync_unique_entries now excludes self() from the rendezvous
  calculation so entries owned by the dying producer are transferred
  to survivors instead of being silently kept.
- do_sync_unique guard changed from "< 2 producers" to "0 survivors"
  so entries transfer correctly when there is exactly one survivor.
- Producer terminate handles PgRegistry being unavailable during
  node shutdown.

Release prep:
- Add hex package config, ex_doc dependency, and CHANGELOG.md
- Add single-node demo script and cluster demo instructions
- Start distribution in test_helper for cluster tests
@twinn twinn merged commit 3f95b4f into main Apr 10, 2026
3 checks passed
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