Compare in the carry bed what the carry copies, not what the gate does after it; keep today's module among mesh-issues' owners
mesh/repo-check head 1d9c72c476f8 merged into trunk a3a9b8749d12 beside mesh-tools#37@06e6721e — pass: its merge-check.sh passed, each part in its toolchai…
mesh/merge-gate head 1d9c72c476f8 merged into trunk a3a9b8749d12 — pass: group feat/r3e-the-gate composed: every machine composes with the change as it did…
mesh/delivery covered after its failure: a later walk that contains it was delivered: plan-1792499270059758752 (novox/mesh-catalog at db32f8ac into main,…
mesh/delivery-group group feat/r3e-the-gate delivered: every member is delivered
mesh/repo-check head 1d9c72c476f8 merged into trunk a3a9b8749d12 beside mesh-tools#37@06e6721e — pass: its merge-check.sh passed, each part in its toolchai…
mesh/merge-gate head 1d9c72c476f8 merged into trunk a3a9b8749d12 — pass: group feat/r3e-the-gate composed: every machine composes with the change as it did…
mesh/delivery covered after its failure: a later walk that contains it was delivered: plan-1792499270059758752 (novox/mesh-catalog at db32f8ac into main,…
mesh/delivery-group group feat/r3e-the-gate delivered: every member is delivered
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user