nats: nats_consumer_remove removes a durable never delivered with no pull waiting, whatever its twin (design 47 H2b §837 1., H-A-852, H-A-868) #761

Merged
mesh-tools merged 3 commits from fix/47-H2b-consumer-remove into main 2026-11-27 02:13:23 +00:00
Member

Small fix N2 of design 47's release H2b (hq playbook 08), merged and delivered before H2b's merge call so the act of §837 1. runs on it (H-A-860).

  • refuseAcceptedDurable (modules/nats/cmd/nats-tools/removal.go): a <node>_<module> durable whose own delivered sequence is 0 (the bus's count of deliveries to it, H-A-868) and that has no pull waiting is removed whatever its twin; every other case is refused as before. The hand act says why it was allowed.
  • The setting twin-current-hours names the never-delivered case.
  • Rows of the existing integration test, the durables made after messages under DeliverNewPolicy, as the grants part makes them; a never-delivered durable with a pull waiting is still refused.

Issue 1984 (1984/AC-837b, note 75). Builds: design 47 H §837 1.; lead answers H-A-852, H-A-860, H-A-868 (hq design/47-tier-late-0691).

Tests: gofmt, go vet, go vet -tags integration, go test ./..., go test -tags integration ./cmd/nats-tools/ in modules/nats. Not run: the manifest validator's verdicts on nats' module.json (no tool feeds it the live seat list; issue 1984 note 76; one description string changed): the main pipeline's validate step judges it.

Reviewed-by: mesh-code-reviewer@shanks for lead-47@shanks at 4df9c4b03b

Small fix N2 of design 47's release H2b (hq playbook 08), merged and delivered before H2b's merge call so the act of §837 1. runs on it (H-A-860). - `refuseAcceptedDurable` (modules/nats/cmd/nats-tools/removal.go): a `<node>_<module>` durable whose own delivered sequence is 0 (the bus's count of deliveries to it, H-A-868) and that has no pull waiting is removed whatever its twin; every other case is refused as before. The hand act says why it was allowed. - The setting `twin-current-hours` names the never-delivered case. - Rows of the existing integration test, the durables made after messages under `DeliverNewPolicy`, as the grants part makes them; a never-delivered durable with a pull waiting is still refused. Issue 1984 (1984/AC-837b, note 75). Builds: design 47 H §837 1.; lead answers H-A-852, H-A-860, H-A-868 (hq design/47-tier-late-0691). Tests: gofmt, go vet, go vet -tags integration, go test ./..., go test -tags integration ./cmd/nats-tools/ in modules/nats. Not run: the manifest validator's verdicts on nats' module.json (no tool feeds it the live seat list; issue 1984 note 76; one description string changed): the main pipeline's validate step judges it. Reviewed-by: mesh-code-reviewer@shanks for lead-47@shanks at 4df9c4b03b0e9c104c53b442d31c8ef5d2835b67
mesh-tools added 3 commits 2026-11-27 02:13:18 +00:00
mesh-tools merged commit 2778e8f97b into main 2026-11-27 02:13:23 +00:00
mesh-tools deleted branch fix/47-H2b-consumer-remove 2026-11-27 02:13:23 +00:00
Author
Member

{
"records": [
{
"instance": "record/main_176_7721fc56",
"sequence": 91823,
"bytes": 279,
"of-bytes": 65536,
"waits": "its difference is not known yet",
"record": {
"milestone": "main.176",
"branch": "main",
"source": 176,
"call": "c028824830710ee9",
"heads": {
"novox/mesh-catalog@761": "2778e8f97b2e86f4d83029377279895408b2e773"
},
"opened": "2026-11-27T02:13:23.512061215Z",
"form": 3,
"pipeline-ends": 1,
"movers": 1,
"merge-called": "2026-11-27T02:13:23.503Z"
},
"movers-per-outcome": {
"bypassed": 1,
"passed": 1,
"taken-in": 1,
"waiting": 1
}
}
]
}

<!-- mesh-delivery:view --> { "records": [ { "instance": "record/main_176_7721fc56", "sequence": 91823, "bytes": 279, "of-bytes": 65536, "waits": "its difference is not known yet", "record": { "milestone": "main.176", "branch": "main", "source": 176, "call": "c028824830710ee9", "heads": { "novox/mesh-catalog@761": "2778e8f97b2e86f4d83029377279895408b2e773" }, "opened": "2026-11-27T02:13:23.512061215Z", "form": 3, "pipeline-ends": 1, "movers": 1, "merge-called": "2026-11-27T02:13:23.503Z" }, "movers-per-outcome": { "bypassed": 1, "passed": 1, "taken-in": 1, "waiting": 1 } } ] } <!-- mesh-act:view.record/main_176_7721fc56.novox/mesh-catalog#761@1795745859296171346.dfeba517 -->
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#761