fix: carry immutable hash in command dispatch

This commit is contained in:
cabbage committed 2026-09-06 07:35:51 +00:00
1 parent 467ca65f60
commit f2d89d5b45
7 files changed
+30 -13

No files matched your search

@@ -106,7 +106,7 @@ func TestWebSocketDispatchAfterReconciliation_HP_DISPATCH_03(t *testing.T) {
t.Fatalf("dispatch envelope = %#v, %v", envelope, err)
}
dispatch := envelope.GetCommandDispatch()
if dispatch == nil || dispatch.GetIssueUuid() != issue.String() || dispatch.GetCommandRevision() != 1 || dispatch.GetTargetSessionGeneration() != accepted.Generation || !proto.Equal(dispatch.GetSpec(), spec) {
if dispatch == nil || dispatch.GetIssueUuid() != issue.String() || dispatch.GetCommandRevision() != 1 || dispatch.GetTargetSessionGeneration() != accepted.Generation || !proto.Equal(dispatch.GetSpec(), spec) || string(dispatch.GetImmutableRequestSha256()) != string(requestHash[:]) {
t.Fatalf("dispatch = %#v", dispatch)
}
}