P3: the mesh bridge (Refs #7) #8

Closed
uranus wants to merge 0 commits from uranus/7-bridge into main
Member

Refs #7 (P3, the mesh bridge; design docs/DESIGN.md §3, §9 "P3 as built").

  • bridge => true: only that LAN node runs the mesh pool, the D25 claim (exported orgs only) and advertisements. A member runs none of them, and {mesh, required} asks nothing of it. With the LAN off, a node behaves as before.
  • export => mesh: the bridge advertises it from any cluster node and forwards each mesh call into the LAN through mcl_core_lan:call_as/6, with the mesh caller. The guard runs once, at the serving member.
  • A member's mesh calls and publishes are relayed to the bridge node.

Local: lint, xref, eunit 549/0, ct 39/39 (new mcl_core_bridge_SUITE, 7 cases), dialyzer, ex_doc. 13 mutants on the guards, all caught. No tag.

🤖 Generated with Claude Code

Refs #7 (P3, the mesh bridge; design docs/DESIGN.md §3, §9 "P3 as built"). - `bridge => true`: only that LAN node runs the mesh pool, the D25 claim (exported orgs only) and advertisements. A member runs none of them, and `{mesh, required}` asks nothing of it. With the LAN off, a node behaves as before. - `export => mesh`: the bridge advertises it from any cluster node and forwards each mesh call into the LAN through `mcl_core_lan:call_as/6`, with the mesh caller. The guard runs once, at the serving member. - A member's mesh calls and publishes are relayed to the bridge node. Local: lint, xref, eunit 549/0, ct 39/39 (new mcl_core_bridge_SUITE, 7 cases), dialyzer, ex_doc. 13 mutants on the guards, all caught. No tag. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
One node per LAN cluster is the mesh bridge (Refs #7)
Some checks failed
advisories / erlang in . (pull_request) Has been skipped
advisories / erlang in . (container) (pull_request) Successful in 13s
advisories / Dependency advisories (pull_request) Successful in 0s
template-lint-image / scaffold lint toolchain runs in its pinned image (pull_request) Failing after 5s
docs / doc snippets (erlang) (push) Failing after 1m55s
docs / doc snippets (erlang) (pull_request) Failing after 1m54s
lint-and-test / lint + eunit + ct (OTP 28.4.3) (pull_request) Successful in 7m9s
78ee6b0761
`bridge => true` marks it. Only the bridge runs the mesh pool, sends the
D25 claim (once per org it exports) and advertises; a LAN member runs none
of them and `{mesh, required}` asks nothing of it. With the LAN off a node
is its own bridge, as in 1.9.0.

`export => mesh` on a capability: the bridge advertises it from whichever
cluster node hosts it (a pg export group carrying the capability without
its handler) and forwards each mesh call into the LAN through the new
mcl_core_lan:call_as/6, with the mesh caller as `caller`. The serving
member decides `auth` against the mesh caller and runs the guard once.
A member's mesh calls and publishes are relayed to the bridge node.

The pool's start moves to mcl_core_bridge:start_mesh_pool/0.
The bridge guide's sys.config snippet compiles (Refs #7)
Some checks failed
advisories / erlang in . (pull_request) Has been skipped
advisories / erlang in . (container) (pull_request) Successful in 13s
advisories / Dependency advisories (pull_request) Successful in 0s
template-lint-image / scaffold lint toolchain runs in its pinned image (pull_request) Failing after 2s
docs / doc snippets (erlang) (pull_request) Successful in 2m33s
lint-and-test / lint + eunit + ct (OTP 28.4.3) (pull_request) Successful in 7m19s
advisories / erlang in . (push) Has been skipped
advisories / erlang in . (container) (push) Successful in 10s
advisories / Dependency advisories (push) Successful in 0s
docs / doc snippets (erlang) (push) Successful in 2m38s
template-lint-image / scaffold lint toolchain runs in its pinned image (push) Failing after 7s
lint-and-test / lint + eunit + ct (OTP 28.4.3) (push) Has been cancelled
e728bd5926
Member

Landed by fast-forward: main is e728bd5926 (from a697a9bd). This repository does not allow the manually-merged style, so the PR is closed by hand.

Landed by fast-forward: main is e728bd59268d8c4a1ff01ab9035b7ac86131a8aa (from a697a9bd). This repository does not allow the manually-merged style, so the PR is closed by hand.
terra closed this pull request 2026-12-02 12:48:23 +00:00
Some checks failed
advisories / erlang in . (pull_request) Has been skipped
advisories / erlang in . (container) (pull_request) Successful in 13s
advisories / Dependency advisories (pull_request) Successful in 0s
template-lint-image / scaffold lint toolchain runs in its pinned image (pull_request) Failing after 2s
docs / doc snippets (erlang) (pull_request) Successful in 2m33s
lint-and-test / lint + eunit + ct (OTP 28.4.3) (pull_request) Successful in 7m19s
advisories / erlang in . (push) Has been skipped
advisories / erlang in . (container) (push) Successful in 10s
advisories / Dependency advisories (push) Successful in 0s
docs / doc snippets (erlang) (push) Successful in 2m38s
template-lint-image / scaffold lint toolchain runs in its pinned image (push) Failing after 7s
lint-and-test / lint + eunit + ct (OTP 28.4.3) (push) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
macula-services/mcl-core!8
No description provided.