Bind cellular actions to tick traces
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
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 1m27s
Foundation / checks (ecs) (push) Canceled after 1m19s
Foundation / checks (network) (push) Canceled after 54s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
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 1m27s
Foundation / checks (ecs) (push) Canceled after 1m19s
Foundation / checks (network) (push) Canceled after 54s
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "evo/network/intent_admission.hpp"
|
||||
#include "evo/server/lifecycle/cellular_batch.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <expected>
|
||||
#include <span>
|
||||
#include <vector>
|
||||
|
||||
namespace evo::server {
|
||||
enum class CellularSessionBatchError : std::uint8_t {
|
||||
tick,
|
||||
intents,
|
||||
action,
|
||||
life,
|
||||
duplicate_action
|
||||
};
|
||||
|
||||
struct CellularSessionTick {
|
||||
CellularTickIntents intents;
|
||||
std::vector<CellularActionRecord> actions;
|
||||
};
|
||||
|
||||
// Overlays authenticated v7 actions onto the scheduler's complete per-life input set.
|
||||
// The scheduler owns all non-player and no-message behavior; this adapter only binds a
|
||||
// durable action to the one live account-owned life and preserves its canonical bytes.
|
||||
[[nodiscard]] std::expected<CellularSessionTick, CellularSessionBatchError>
|
||||
prepare_cellular_session_tick(const CellularLives& state, std::uint64_t tick,
|
||||
std::span<const CellularLifeIntent> baseline,
|
||||
std::span<const network::CarriedAction> actions);
|
||||
} // namespace evo::server
|
||||
Reference in New Issue
Block a user