Engineering Hygiene: OTP 28 upgrade, peer-app deps (E5), start-type handling (E2)#24
Merged
Merged
Conversation
CI now pins OTP 28 (was 27) and rebar3 3.27 (was 3.24). All 320 tests pass clean on OTP 28 / ERTS 16.4, zero warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
graphdb and dictionary are now independent OTP applications started by application_master in dependency order, not included_applications of database. graphdb.app.src gains mnesia and nref as explicit deps; database.app.src gains graphdb and dictionary as regular applications. database_sup is now empty — kept as an attachment point for future database-level services. ARCHITECTURE.md §5 supervision tree updated. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
{takeover, Node} and {failover, Node} now delegate to the normal start
path rather than hitting ?NYI. Full distributed takeover/failover
semantics deferred until a distributed deployment is planned.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
E3 (code_change/3 hot upgrades): deferred until a versioned hot-upgrade deployment is planned. E4 (start_phases): deferred until an externally- visible API port is added to seerstone that requires phased startup to close the bootstrap-window. Both retain their trigger conditions in TASKS.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
included_applicationswith peer-app dependencies.graphdbanddictionaryare now real OTP applications started byapplication_masterin dependency order via theapplications:key.database_supis now intentionally empty (placeholder for future database-level coordination work).seerstone:start/2andnref:start/2now delegate non-normal start types ({takeover, _},{failover, _}) to the normal start path instead of?NYI-exiting. This is the correct behavior until distributed startup is needed.TASKS.mdwith trigger conditions documented (E3: first hot-upgrade deployment; E4: externally-visible API port added toseerstone).Documentation refreshed:
ARCHITECTURE.md§1 / §5 reflect 5-peer-app supervision tree; per-appCLAUDE.mdfiles updated.Test plan
rebar3 compileclean on OTP 28rebar3 ct— 217 CT cases passrebar3 eunit— 103 EUnit cases passnref → graphdb → dictionary → database → seerstone🤖 Generated with Claude Code