#4 PR 10: DW3 rows: no unused aggregate stream_id/1, envelope stripped before the fold, a no-cookie/loopback guard #27

Closed
mercurius wants to merge 0 commits from mercurius/4-pr10-dw3 into main
Member

Refs macula-services/mcl-bookclub-phoenix#4 (PR 10, the open DW3 rows Jupiter named).

(a) The four aggregates' unused stream_id/1 is removed (the handlers use .stream_id/1).
(b) A state's event_data/1 drops the envelope keys from a flat event, as bookclub_state.erl:114-117 does (all four states).
(c) release_cookie_test.exs: "no cookie ships, and distribution stays on loopback", the twin's mcl_bookclub_service_tests.erl:364, reading the Containerfile, mix.exs, rel/vm.args.eex, rel/env.sh.eex and deploy/docker-compose.yml.
(d) getters stay out (Supervisor ruling D, accepted idiom difference).

Refs macula-services/mcl-bookclub-phoenix#4 (PR 10, the open DW3 rows Jupiter named). (a) The four aggregates' unused stream_id/1 is removed (the handlers use <Command>.stream_id/1). (b) A state's event_data/1 drops the envelope keys from a flat event, as bookclub_state.erl:114-117 does (all four states). (c) release_cookie_test.exs: "no cookie ships, and distribution stays on loopback", the twin's mcl_bookclub_service_tests.erl:364, reading the Containerfile, mix.exs, rel/vm.args.eex, rel/env.sh.eex and deploy/docker-compose.yml. (d) getters stay out (Supervisor ruling D, accepted idiom difference).
#4 PR 10: the DW3 rows: no unused aggregate stream_id/1, a flat event's envelope is stripped before the fold, and a guard that no cookie ships and distribution stays on loopback
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 2s
c4 model / c4-model (pull_request) Successful in 0s
wall tree / wall-tree-1 (pull_request) Successful in 4s
ci / guard-1 (pull_request) Successful in 7s
wall tree / wall-tree (pull_request) Successful in 0s
ci / guard (pull_request) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (pull_request) Successful in 6m1s
ci / Release (forge, v* tag) (pull_request) Has been skipped
c4 model / c4-model-1 (push) Successful in 1m30s
wall tree / wall-tree-1 (push) Successful in 1m30s
c4 model / c4-model (push) Successful in 0s
wall tree / wall-tree (push) Successful in 0s
ci / guard-1 (push) Successful in 8s
ci / guard (push) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (push) Successful in 7m34s
ci / Release (forge, v* tag) (push) Has been skipped
63d4a71162
(a) The four aggregates' stream_id/1 had no caller: the handlers take the
stream id from the command (<Command>.stream_id/1), as in the Erlang twin.
(b) A state's event_data/1 on a flat event (no data map) drops the envelope
keys, as mcl-bookclub's bookclub_state.erl:114-117 (book, member, reading too).
(c) release_cookie_test.exs reads the shipped files, the twin's
no_cookie_ships_and_distribution_stays_on_loopback_test
(mcl_bookclub_service_tests.erl:364): no cookie in the Containerfile, mix.exs
or compose file, the image starts through the release script that sources
rel/env.sh.eex, dist on 127.0.0.1 (rel/vm.args.eex) and epmd too.

Refs macula-services/mcl-bookclub-phoenix#4
Member

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

Landed by fast-forward: main is 63d4a711622e6fc452d77d7b52f457642e0cb5dc (from 8c86a55e). This repository does not allow the manually-merged style, so the PR is closed by hand.
terra closed this pull request 2026-12-01 18:10:35 +00:00
All checks were successful
c4 model / c4-model-1 (pull_request) Successful in 2s
c4 model / c4-model (pull_request) Successful in 0s
wall tree / wall-tree-1 (pull_request) Successful in 4s
ci / guard-1 (pull_request) Successful in 7s
wall tree / wall-tree (pull_request) Successful in 0s
ci / guard (pull_request) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (pull_request) Successful in 6m1s
ci / Release (forge, v* tag) (pull_request) Has been skipped
c4 model / c4-model-1 (push) Successful in 1m30s
wall tree / wall-tree-1 (push) Successful in 1m30s
c4 model / c4-model (push) Successful in 0s
wall tree / wall-tree (push) Successful in 0s
ci / guard-1 (push) Successful in 8s
ci / guard (push) Successful in 0s
ci / gates (OTP 28.4.3 / Elixir 1.18.4) (push) Successful in 7m34s
ci / Release (forge, v* tag) (push) Has been skipped

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-bookclub-phoenix!27
No description provided.