Persist primitive life outcomes across control moves
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m57s
Foundation / checks (client) (push) Successful in 12m36s
Foundation / checks (network) (push) Successful in 13m43s
Foundation / checks (tsan) (push) Successful in 8m14s
Foundation / checks (postgres) (push) Failing after 17m26s
Foundation / checks (checks) (push) Successful in 33m23s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m57s
Foundation / checks (client) (push) Successful in 12m36s
Foundation / checks (network) (push) Successful in 13m43s
Foundation / checks (tsan) (push) Successful in 8m14s
Foundation / checks (postgres) (push) Failing after 17m26s
Foundation / checks (checks) (push) Successful in 33m23s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
This commit is contained in:
@@ -400,9 +400,15 @@ void session_codec() {
|
||||
CHECK(std::get<SessionIntention>(*decode_session(encode_session(intent))) == intent);
|
||||
const ActionOutcome outcome{5, ActionResult::not_committed, 0, 0};
|
||||
CHECK(std::get<ActionOutcome>(*decode_session(encode_session(outcome))) == outcome);
|
||||
const std::array<SessionMessage, 4> life_messages{
|
||||
PrimitiveLifeRequest{7, 8, 9}, PrimitiveLifeReceipt{9, AdmitStatus::admitted, 10},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::born, 11, 12}, PrimitiveLifeQuery{9}};
|
||||
const std::array<SessionMessage, 8> life_messages{
|
||||
PrimitiveLifeRequest{7, 8, 9},
|
||||
PrimitiveLifeReceipt{9, AdmitStatus::admitted, 10},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::born, 11, 12},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::existing_life, 0, 0},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::cancelled, 0, 0},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::pending, 0, 0},
|
||||
PrimitiveLifeOutcome{9, PrimitiveLifeResult::unknown, 0, 0},
|
||||
PrimitiveLifeQuery{9}};
|
||||
for (const auto& message : life_messages) {
|
||||
const auto bytes = encode_session(message);
|
||||
std::uint16_t version{};
|
||||
|
||||
Reference in New Issue
Block a user