Commit 758d41f
Bump to 0.6.33 — one version per app in the shared OTP root (MOB-143) (#60)
The OTP root is keyed by OTP hash rather than by project, so every app on the
machine shares one lib/. Installing a dependency without removing its other
versions left them side by side, and the code server resolves an application to
the highest version it finds there — while the app's own beams come from its
lock. An app locking exqlite 0.38.0 loaded 0.38.0's beams and 0.40.0's
sqlite3_nif.so, on_load failed with bad_lib, every database connection died and
the boot never reached a root screen. The visible error blamed database
credentials.
Non-local too: an app that built fine yesterday broke because a different app
upgraded a dependency. Three of four local projects were already mismatched.
pythonx always swept by wildcard and never had this. exqlite, emlx and the
generic installer removed only a malformed empty-version dir and let real
versions accumulate. All four now sweep, keep the target, and log removals.
The first native build after upgrading may report removing stale versions.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1e754f7 commit 758d41f
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
13 | 39 | | |
14 | 40 | | |
15 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments