diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/bus_test.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/bus_test.go index 2b98c54f..a4ad1cf6 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/bus_test.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/bus_test.go @@ -895,8 +895,13 @@ func TestTheGateCarriesALiveCapturesDeliveriesAndGroupsOnceOverARealBus(t *testi if err := json.Unmarshal(e.Value(), &got); err != nil { t.Fatal(err) } - if g, w := string(mustJSON(got)), string(mustJSON(d)); g != w { - t.Fatalf("the delivery %s changed in the carry:\n got %s\nwant %s", key, g, w) + // What is compared is what the carry copies and the gate never rewrites: who the delivery is. By the time this reads, the + // gate holds the seat and acts on the delivery (it asks a check, owes a note), which changes its check ask, its owed + // effects and its transitions, so a whole-value comparison depends on timing. The carry's own exactness is shown without a + // bus by TestTheCarryCopiesWhatItDoesNotClearByteForByte and TestTheGateCarriesTodaysStateOnceWhenItFirstHoldsTheSeat. + if got.ID != d.ID || got.Repository != d.Repository || got.Commit != d.Commit || got.Number != d.Number || got.Base != d.Base || + got.Group != d.Group || !got.Created.Equal(d.Created) { + t.Fatalf("the delivery %s changed in the carry:\n got %s\nwant %s", key, mustJSON(got), mustJSON(d)) } } for _, one := range capture.Groups { diff --git a/modules/mesh-issues/files/settings.json b/modules/mesh-issues/files/settings.json index dd487d3d..66abd38f 100644 --- a/modules/mesh-issues/files/settings.json +++ b/modules/mesh-issues/files/settings.json @@ -58,6 +58,7 @@ "mesh-catalog modules/memory-pressure", "mesh-catalog modules/mesh-catalog", "mesh-catalog modules/mesh-cli", + "mesh-catalog modules/mesh-delivery", "mesh-catalog modules/mesh-delivery-gate", "mesh-catalog modules/mesh-issues", "mesh-catalog modules/mesh-vault", diff --git a/modules/mesh-issues/module.json b/modules/mesh-issues/module.json index 8d17cea4..592e81c9 100644 --- a/modules/mesh-issues/module.json +++ b/modules/mesh-issues/module.json @@ -152,6 +152,7 @@ "mesh-catalog modules/memory-pressure", "mesh-catalog modules/mesh-catalog", "mesh-catalog modules/mesh-cli", + "mesh-catalog modules/mesh-delivery", "mesh-catalog modules/mesh-delivery-gate", "mesh-catalog modules/mesh-issues", "mesh-catalog modules/mesh-vault",