feat(lifecycle): add opt-in funded cellular maturation
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (network) (push) Successful in 21m0s
Foundation / checks (client) (push) Successful in 22m13s
Foundation / checks (tsan) (push) Successful in 26m35s
Foundation / checks (postgres) (push) Successful in 1h1m27s
Foundation / checks (checks) (push) Successful in 1h14m29s
Foundation / postgres-tools (push) Successful in 1m19s
Foundation / server-image (push) Successful in 3m46s
Foundation / image (push) Successful in 4m57s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (network) (push) Successful in 21m0s
Foundation / checks (client) (push) Successful in 22m13s
Foundation / checks (tsan) (push) Successful in 26m35s
Foundation / checks (postgres) (push) Successful in 1h1m27s
Foundation / checks (checks) (push) Successful in 1h14m29s
Foundation / postgres-tools (push) Successful in 1m19s
Foundation / server-image (push) Successful in 3m46s
Foundation / image (push) Successful in 4m57s
This commit is contained in:
@@ -179,6 +179,25 @@ void manifests() {
|
||||
raw_mislabeled.payload_bytes = future->state().snapshot().size();
|
||||
require(!restore_cellular_payload(future->state().snapshot(), raw_mislabeled),
|
||||
"portable owner 7 bypassed raw durable bundle admission");
|
||||
// ADR-0157: portable maturation must not acquire durable rules-8 authority.
|
||||
auto maturation = checked(future->maturation_upgrade_candidate(), "portable maturation");
|
||||
auto rules8_population = next;
|
||||
rules8_population.cellular_versions = cellular_v10_versions;
|
||||
rules8_population.payload_bytes = future->snapshot().size();
|
||||
require(restore_population_payload(future->snapshot(), rules8_population).has_value() &&
|
||||
!restore_population_payload(maturation->snapshot(), rules8_population),
|
||||
"rules 9 bypassed durable population admission");
|
||||
auto rules8_raw = source;
|
||||
rules8_raw.cellular_versions = cellular_v10_versions;
|
||||
rules8_raw.payload_bytes = future->state().snapshot().size();
|
||||
require(restore_cellular_payload(future->state().snapshot(), rules8_raw).has_value() &&
|
||||
!restore_cellular_payload(maturation->state().snapshot(), rules8_raw),
|
||||
"rules 9 bypassed durable raw admission");
|
||||
auto unsupported_rules = rules8_population;
|
||||
unsupported_rules.cellular_versions.rules = cellular_lives_maturation_rules;
|
||||
require(!supported(unsupported_rules) && !encode_manifest(unsupported_rules) &&
|
||||
population_envelope_version(unsupported_rules.cellular_versions) == 0,
|
||||
"portable rules 9 silently entered a durable bundle");
|
||||
auto back = checked(population_profile_transition_manifest(
|
||||
next, filled<32>(11), filled<16>(12), lease, source.build,
|
||||
state->snapshot().size(), filled<32>(13)),
|
||||
|
||||
Reference in New Issue
Block a user