Carry bud actions and the v5 bundle through protocol and persistence
Foundation / checks (ecs) (push) Successful in 2m30s
Foundation / checks (deploy) (push) Successful in 4m0s
Foundation / checks (tsan) (push) Successful in 10m37s
Foundation / checks (client) (push) Failing after 13m56s
Foundation / checks (network) (push) Successful in 19m9s
Foundation / checks (checks) (push) Successful in 42m54s
Foundation / checks (postgres) (push) Successful in 44m9s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

M11.5c (ADR-0125): v10 cellular actions, the canonical input and the trace carry
target kind 3 (bud), matched to durable actions; below rules 4 the owner
ignores it. The v5 version bundle is admitted in C++ and by schema v36, which
also admits kind 3 in SQL action inputs; the provisioner offers cellular-v3.
A PostgreSQL test publishes a bud from a fed founder and recovers it after a
host restart. The publication tests now use commit ids no other suite produces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-14 06:42:41 -04:00
co-authored by Claude Opus 5.5
parent 5b255ad940
commit f22a540135
28 changed files with 529 additions and 69 deletions
+20
View File
@@ -102,6 +102,26 @@ void actions_bind_to_owned_life_and_preserve_other_inputs() {
stripped.ticks[0].lives[0].intent.engulf = false;
CHECK(!match_cellular_actions_to_trace(**state, stripped, engulfing->actions));
// ADR-0125: a bud action becomes the life's bud intent, kept as kind 3 in the trace.
const auto bud_input =
network::encode_cellular_action_input({2, 0, 0, false, 0, 0, false, true});
const network::CarriedAction bud_action{network::AccountId{controlled.account}, 80, 2,
network::ActionKind::cellular, bud_input};
const std::array bud_actions{bud_action};
const auto budding = prepare_cellular_session_tick(**state, 2, baseline, bud_actions);
CHECK(budding && budding->intents.lives[0].intent.bud &&
!budding->intents.lives[0].intent.engulf &&
!budding->intents.lives[0].intent.intake_target);
auto bud_batch = engulf_batch;
bud_batch.ticks[0] = budding->intents;
CHECK(match_cellular_actions_to_trace(**state, bud_batch, budding->actions));
const auto bud_bytes = encode_cellular_batch(bud_batch);
CHECK(bud_bytes);
const auto bud_decoded = decode_cellular_batch(*bud_bytes);
CHECK(bud_decoded && *bud_decoded == bud_batch);
auto unbudded = bud_batch;
unbudded.ticks[0].lives[0].intent.bud = false;
CHECK(!match_cellular_actions_to_trace(**state, unbudded, budding->actions));
CellularBatch batch;
batch.header = {(*state)->world(), (*state)->region(), (*state)->frame(), {}, {}, 1, 2};
batch.header.predecessor.fill(1);