Orphaned durables: removable by the bus module, left out of the behind check, not composed again.
Design lines
H-A-472 and its three addenda, in hq's lead answers on branch design/47-H1-answers-59: 4f9c6410, 8ae2aab2, e520f4a5, bf02dc3a.
What changed
mesh-catalog (modules/nats), its group member:nats_consumer_remove removes an orphaned durable whose twin is current, and only a durable that is itself an orphan; the bound of a current twin is the setting twin-current-hours.
mesh-delivery (modules/mesh-grants), this pull request: the behind check leaves orphaned durables out and names them apart in the condition durable-orphaned; the composer makes the plain twin (a module's program consumer) only for a module with its own program; the bound of a current twin is the setting twin-current-hours.
Reviewed-by: mesh-code-reviewer@shanks at b2c9e60ac3
Pushed-by: lead-47@shanks
Orphaned durables: removable by the bus module, left out of the behind check, not composed again.
## Design lines
H-A-472 and its three addenda, in hq's lead answers on branch `design/47-H1-answers-59`: 4f9c6410, 8ae2aab2, e520f4a5, bf02dc3a.
## What changed
- **mesh-catalog (modules/nats), its group member:** `nats_consumer_remove` removes an orphaned durable whose twin is current, and only a durable that is itself an orphan; the bound of a current twin is the setting `twin-current-hours`.
- **mesh-delivery (modules/mesh-grants), this pull request:** the behind check leaves orphaned durables out and names them apart in the condition `durable-orphaned`; the composer makes the plain twin (a module's program consumer) only for a module with its own program; the bound of a current twin is the setting `twin-current-hours`.
## Tests run
- Each module's unit suite, whole.
- The integration tests, once.
- `checks/*`.
- The manifest validator, accepting both manifests.
Group: mesh-catalog #737 + mesh-delivery #328 (one merge call)
Reviewed-by: mesh-code-reviewer@shanks at b2c9e60ac371d814e8e6e53b4d6056060247619d
Pushed-by: lead-47@shanks
About 110 durables left by modules that moved into or out of the tool
runner pile up behind their stream's head and raised 'Messages pile up
for a listener' for no real backlog. A durable with no pulls waiting
whose twin on the stream (<node>_<module> and <node>_<module>_tools) has
pulls waiting and delivered within the day is now left out of that check
and named once in mesh-grants.durable-orphaned, cleared when gone.
Builds: design 47 H2 H-A-472 (2), G A-340
The pass made <node>_<module> beside <node>_<module>_tools for every
consuming module, so a module whose events only the tool runner reads
got a durable nobody pulls, which piled up and came back after each
removal. The program's consumer is now composed only for a module with
an account of its own and a process resource with no bus of its own;
the tool runner's twin stays for every consuming module.
Builds: design 47 H2 H-A-472 addendum and second addendum, G A-397
Review round 1: the day after which a twin is no longer current was a
constant here and again in the bus module. It is now the setting
twin-current-hours of the manifest (24 by default), written into a file
the part reads at its start, the field name the bus module's manifest
names too, so the operator sets it once per module alike; the
durable-orphaned condition names the bound. hasOwnProcess no longer sits
under ownServesOf's doc comment.
Builds: design 47 H2 H-A-472 (2) and its third addendum (2); review round 1 findings (2), (3)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Orphaned durables: removable by the bus module, left out of the behind check, not composed again.
Design lines
H-A-472 and its three addenda, in hq's lead answers on branch
design/47-H1-answers-59: 4f9c6410, 8ae2aab2, e520f4a5, bf02dc3a.What changed
nats_consumer_removeremoves an orphaned durable whose twin is current, and only a durable that is itself an orphan; the bound of a current twin is the settingtwin-current-hours.durable-orphaned; the composer makes the plain twin (a module's program consumer) only for a module with its own program; the bound of a current twin is the settingtwin-current-hours.Tests run
checks/*.Group: mesh-catalog #737 + mesh-delivery #328 (one merge call)
Reviewed-by: mesh-code-reviewer@shanks at
b2c9e60ac3Pushed-by: lead-47@shanks