Add input-aware durable action lookup
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (ecs) (push) Successful in 1m50s
Foundation / checks (postgres) (push) Failing after 50s
Foundation / checks (tsan) (push) Failing after 31s
Foundation / checks (network) (push) Failing after 3m5s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 4m22s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (ecs) (push) Successful in 1m50s
Foundation / checks (postgres) (push) Failing after 50s
Foundation / checks (tsan) (push) Failing after 31s
Foundation / checks (network) (push) Failing after 3m5s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 4m22s
This commit is contained in:
@@ -477,6 +477,11 @@ void deferred_actions() {
|
||||
return a.admit(session, SessionAction{session, 5, id, 1, tick}, f);
|
||||
};
|
||||
ledger.records.emplace_back(alice, ActionOutcome{9, ActionResult::committed_no_effect, 40, 3});
|
||||
const auto legacy_record = ledger.find_record(alice, 9);
|
||||
CHECK(legacy_record && legacy_record->has_value() &&
|
||||
legacy_record->value().outcome ==
|
||||
ActionOutcome{9, ActionResult::committed_no_effect, 40, 3} &&
|
||||
!legacy_record->value().cellular_input);
|
||||
CHECK(!admit(1, 9, 101) && !admit(1, 20, 101) && !admit(2, 30, 102));
|
||||
// In-memory refusals answer at once; a repeat of a waiting action is a duplicate.
|
||||
CHECK(admit(1, 20, 101) == ActionReceipt{20, AdmitStatus::duplicate, 100, 101});
|
||||
|
||||
Reference in New Issue
Block a user