Skip to content

release: v0.1.27 — legacy flock LOCK_SH hotfix#446

Merged
memtomem merged 1 commit intomainfrom
release/v0.1.27
Apr 24, 2026
Merged

release: v0.1.27 — legacy flock LOCK_SH hotfix#446
memtomem merged 1 commit intomainfrom
release/v0.1.27

Conversation

@memtomem
Copy link
Copy Markdown
Owner

Summary

Hotfix release for the multi-instance bug landed in #445 (closes #444).

Single fix, no new features. 0.1.26 users who tried to use memtomem in more than one Claude Code session simultaneously (e.g. different projects) hit "Failed to connect" on every session after the first — because _try_hold_legacy_flock took LOCK_EX and sys.exit(1)'d on contention. 0.1.27 swaps that for LOCK_SH: two 0.1.26+ servers coexist, pre-0.1.25 cross-version mutex is preserved.

Changes

  • packages/memtomem/pyproject.toml: 0.1.26 → 0.1.27
  • uv.lock workspace entry
  • CHANGELOG: [Unreleased] → [0.1.27] — 2026-04-24

Feature commit on main: #445.

Release mechanics

  1. Merge this PR.
  2. TestPyPI dry-run: test-v0.1.27a1 tag → approve pypi env → verify on test.pypi.org.
  3. Production: v0.1.27 tag → approve → verify on pypi.org.
  4. gh release create v0.1.27.

Per project_release_workflow.md, behavior-change releases get a dry-run. This one touches process-lifecycle semantics on POSIX, covered by the test_server_sigterm.py suite including a live two-subprocess coexistence test. Dry-run still recommended.

🤖 Generated with Claude Code

…xistence

Single-fix hotfix. Brings #445 (closes #444) to PyPI so 0.1.26 users
who hit "one Claude Code session blocks all others" get a clean
upgrade path.

Co-Authored-By: Claude <[email protected]>
@memtomem memtomem merged commit 4fc3767 into main Apr 24, 2026
7 checks passed
@memtomem memtomem deleted the release/v0.1.27 branch April 24, 2026 01:58
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

server: legacy flock uses LOCK_EX so two 0.1.26 instances can't coexist (should be LOCK_SH)

2 participants