service: the org is the service's own, and the mcl_om pin is 1.9 (#16) #18
Loading…
Reference in a new issue
No description provided.
Delete branch "hygiea/16-bundle-member"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The last piece of the wave-2 package for macula-services/mcl-stations#16, on hex mcl_om 1.9.0 (mcl-om#8). Follows PR 17, which landed as
12b164d.Changed:
{mcl_om, "~> 1.9"}— the release where one node hosts several services, a service's org comes from its owninfo/0, andmcl_om_singletonexists.dependency_floors_testsmoves with it to 1.9.0, so a build on 1.8 fails by name.org => <<"mcl-stations">>ininfo/0(C6): the service advertises under its own org, which is what lets a bundle host several without one shared env.{org, ...}literal leavesconfig/sys.config.src(C9). It no longer overrides anything; a test parses the baked config and fails if it comes back.Not changed, deliberately:
ingest_node_recordsis not wrapped inmcl_om_singleton, by Mars's ruling (2026-12-02, option a), after this package's own code showed the wrap would break serving:list_stationsanswers from this node's read model —station_read_model:fold/2(station_read_model.erl:117) foldsstation_store's ETS table,protected, written only by its owner (station_store.erl:57);ingest_node_recordsis that table's only writer;Org/list_stations, and its health would be permanently{degraded, not_subscribed_to_records}(subscribed/0andlinks_up/0catchnoprocand answer false).The reasoning is in
mcl_stations_sup's module doc beside the feeder, and on the issue.Mutants M6 (org out of
info/0) and M7 (org back into the shared env) each turn their named test red; M1–M5 from the switch commit still hold. Local on OTP 28.4.3:lint,xref,eunit(142 tests),dialyzer,as prod release— green.Refs #16.
The last piece of the wave-2 package, on hex mcl_om 1.9.0 (mcl-om#8): - `{mcl_om, "~> 1.9"}`, the release where one node hosts several services, a service's org comes from its own info/0, and mcl_om_singleton exists. The floor test moves with it to 1.9.0, so a build on 1.8 fails by name. - `org => <<"mcl-stations">>' in info/0 (C6): the service advertises under its own org, which is what lets a bundle host several without one shared env. - the `{org, ...}' literal leaves config/sys.config.src (C9). It used not to override info/0 and would only look authoritative; a test parses the baked config and fails if it comes back. - ingest_node_records is NOT wrapped in mcl_om_singleton, by Mars's ruling (2026-12-02, option a) after this package's own code showed the wrap would break serving: list_stations answers from this node's ETS read model (station_read_model.erl:117 folding station_store.erl:57), the feeder is its only writer, and a singleton would leave every other node empty while advertising the procedure and permanently degraded (not_subscribed_to_records). The reasoning sits in mcl_stations_sup beside the feeder, so it is not "fixed" back. Mutants M6 (org out of info/0) and M7 (org back into the shared env) each turn their named test red; M1-M5 from the switch commit still hold. Local on OTP 28.4.3: lint, xref, eunit (142 tests), dialyzer and `as prod release` green. Refs macula-services/mcl-stations#16, macula-services/mcl-om#8.Landed by fast-forward: main is
520a811c06(from12b164d9). This repository does not allow the manually-merged style, so the PR is closed by hand.Pull request closed