Deliver cellular tick diagnostics to owners
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (checks) (push) Failing after 39s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (postgres) (push) Failing after 52s
Foundation / checks (tsan) (push) Failing after 33s
Foundation / checks (network) (push) Failing after 3m1s
Foundation / checks (client) (push) Failing after 4m30s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-11 02:04:55 -04:00
parent fe03a0f8e4
commit ab9fbdec8f
16 changed files with 408 additions and 188 deletions
+2
View File
@@ -45,6 +45,7 @@ void maintenance_motion_and_intake_conserve_one_tick() {
CHECK(step->begin_tick == 12 && step->end_tick == 13);
CHECK(step->position == CellularPosition{10, 0});
CHECK(step->maintenance_cost.value == 5 && step->movement_cost.value == 50);
CHECK(step->movement_status == CellularMovementStatus::moved);
CHECK(step->heat_after.energy.value == 55);
CHECK(step->reserve_after == Inventory{{195}, {{{5}, {2}, {1}, {0}}}});
if (step->intake_status != CellularIntakeStatus::acquired || !step->intake)
@@ -73,6 +74,7 @@ void maintenance_precedes_motion_and_intake() {
CHECK(step);
CHECK(step->position == CellularPosition{0, 0});
CHECK(step->movement_cost.value == 0);
CHECK(step->movement_status == CellularMovementStatus::insufficient_reserve);
CHECK(step->maintenance_cost.value == 5 && step->heat_after.energy.value == 5);
CHECK(step->intake_status == CellularIntakeStatus::acquired);
CHECK(step->reserve_after.energy.value == 99); // Intake cannot fund this tick's move.