ci: give the checks job headroom and trim producer tests
Foundation / checks (ecs) (push) Successful in 2m29s
Foundation / checks (deploy) (push) Successful in 5m29s
Foundation / checks (network) (push) Successful in 23m57s
Foundation / checks (client) (push) Successful in 24m50s
Foundation / checks (tsan) (push) Successful in 47m40s
Foundation / checks (postgres) (push) Successful in 1h22m11s
Foundation / checks (checks) (push) Successful in 1h49m20s
Foundation / postgres-tools (push) Successful in 1m13s
Foundation / server-image (push) Successful in 3m45s
Foundation / image (push) Successful in 6m1s
Foundation / checks (ecs) (push) Successful in 2m29s
Foundation / checks (deploy) (push) Successful in 5m29s
Foundation / checks (network) (push) Successful in 23m57s
Foundation / checks (client) (push) Successful in 24m50s
Foundation / checks (tsan) (push) Successful in 47m40s
Foundation / checks (postgres) (push) Successful in 1h22m11s
Foundation / checks (checks) (push) Successful in 1h49m20s
Foundation / postgres-tools (push) Successful in 1m13s
Foundation / server-image (push) Successful in 3m45s
Foundation / image (push) Successful in 6m1s
Run 469 failed only the checks job, at exactly its 90-minute limit; full checks runs had grown from 67 to 78 minutes through M12 and every step passes locally. The limit is now 120 minutes. The producer test checks dark and brighter light on the capture rule instead of growing two extra histories, and the trace test takes over the grown population. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,9 @@ jobs:
|
|||||||
runs-on: ${{ vars.CI_RUNNER_LABEL || 'ubuntu-22.04' }}
|
runs-on: ${{ vars.CI_RUNNER_LABEL || 'ubuntu-22.04' }}
|
||||||
# Captured cold/shared-runner checks reached 59 minutes before the ASan
|
# Captured cold/shared-runner checks reached 59 minutes before the ASan
|
||||||
# cohort timeout, with the remaining fuzz/benchmark steps still pending.
|
# cohort timeout, with the remaining fuzz/benchmark steps still pending.
|
||||||
timeout-minutes: 90
|
# Successful full runs grew from 67 to 78 minutes through M12; run 469
|
||||||
|
# (photosynthesis) reached the old 90-minute limit, so the job has headroom again.
|
||||||
|
timeout-minutes: 120
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- {name: REGION_SESSION, value: "dev"}
|
- {name: REGION_SESSION, value: "dev"}
|
||||||
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
|
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
|
||||||
- {name: REGION_SESSION_WINDOW, value: "dev-20261020T025729-1af37481:1792479449"}
|
- {name: REGION_SESSION_WINDOW, value: "dev-20261020T032129-f93851af:1792480889"}
|
||||||
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
|
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
|
||||||
ports:
|
ports:
|
||||||
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
|
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
|
||||||
|
|||||||
@@ -1,5 +1,16 @@
|
|||||||
# Validation report
|
# Validation report
|
||||||
|
|
||||||
|
## 2026-10-20 - CI checks time limit
|
||||||
|
|
||||||
|
CI run 469 (`108f29e`) failed only its `checks` job, at exactly its 90-minute limit;
|
||||||
|
every other job passed. Successful full `checks` runs had grown from 67 to 78 minutes
|
||||||
|
through M12. Locally the whole job's steps pass: analysis (clang-tidy) build, GCC debug
|
||||||
|
**96/96**, format check, Release, ASan/UBSan **96/96**, both benchmarks, the one-million
|
||||||
|
tick replay and both fuzzers. The job limit is now 120 minutes. The producer test no
|
||||||
|
longer grows two extra histories (dark and twenty-fold light are checked on the capture
|
||||||
|
rule), and the trace test takes over the grown population instead of regrowing it:
|
||||||
|
debug 34.3 -> 30.1 s, ASan 93.0 -> 76.1 s, Release 2.7 s.
|
||||||
|
|
||||||
## 2026-10-19 - Durable photosynthesis regions and session v12 (ADR-0176)
|
## 2026-10-19 - Durable photosynthesis regions and session v12 (ADR-0176)
|
||||||
|
|
||||||
[ADR-0176](../adr/0176-durable-photosynthesis-region.md)/schema 57 adds raw bundle 13,
|
[ADR-0176](../adr/0176-durable-photosynthesis-region.md)/schema 57 adds raw bundle 13,
|
||||||
|
|||||||
@@ -367,21 +367,10 @@ void producers() {
|
|||||||
audit(*joint);
|
audit(*joint);
|
||||||
}
|
}
|
||||||
require(joint->state().captured_light().value > 0, "nested owner stopped capturing");
|
require(joint->state().captured_light().value > 0, "nested owner stopped capturing");
|
||||||
// Without light nothing is captured, and a producer forages as before.
|
// Dark and brighter light are checked on the capture rule itself
|
||||||
auto dark = grow_producers(0);
|
// (photosynthesis-contracts); a third grown history would only repeat it here.
|
||||||
require(dark.captured == 0 && dark.population->state().captured_light().value == 0,
|
|
||||||
"a dark region captured light");
|
|
||||||
// Same history until the plan, then capture scales exactly with irradiance. (These
|
|
||||||
// producers always touch food, so they hold still in any light; the light-driven
|
|
||||||
// holding-still branch is not observable in this rich fixture.)
|
|
||||||
auto bright = grow_producers(cellular_light_trial_irradiance * 20);
|
|
||||||
require(bright.child == trial.child && bright.captured == 20 * trial.captured &&
|
|
||||||
bright.still == trial.still && dark.still == trial.still,
|
|
||||||
"capture did not scale with irradiance or light changed the controller");
|
|
||||||
std::cout << "producers: plan " << trial.plan << ", child " << trial.child << ", captured "
|
std::cout << "producers: plan " << trial.plan << ", child " << trial.child << ", captured "
|
||||||
<< trial.captured << " pJ over " << trial.lit_ticks << " lit ticks (bright "
|
<< trial.captured << " pJ over " << trial.lit_ticks << " lit ticks\n";
|
||||||
<< bright.captured << ", still intents " << bright.still << " vs dark " << dark.still
|
|
||||||
<< ")\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// A full habitat refuses new deposits: bubbles are counted skipped, never deferred.
|
// A full habitat refuses new deposits: bubbles are counted skipped, never deferred.
|
||||||
@@ -433,17 +422,21 @@ std::uint64_t first_wildlife(CellularEnvironment& value) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
void traces() {
|
void traces() {
|
||||||
// A closed probe finds when wildlife first exists; the traced source starts after it,
|
// A closed region grows the first wildlife; the traced owner then takes over that exact
|
||||||
// so infall neither changes that history nor fills the habitat beforehand.
|
// population with a source starting on its next tick, so infall neither changes that
|
||||||
|
// history nor fills the habitat beforehand.
|
||||||
auto probe = environment(founders(), config());
|
auto probe = environment(founders(), config());
|
||||||
const auto genome = first_wildlife(*probe);
|
const auto genome = first_wildlife(*probe);
|
||||||
require(genome != 0, "no wildlife for joint traces");
|
require(genome != 0, "no wildlife for joint traces");
|
||||||
|
const auto& grown = probe->state();
|
||||||
auto value = environment(
|
auto value = environment(
|
||||||
founders(),
|
checked(CellularLives::restore(grown.snapshot(), grown.world(), grown.region(),
|
||||||
|
grown.frame(), grown.tick()),
|
||||||
|
"grown copy"),
|
||||||
config({source(1, 0, 15, energy_and_carbon(1ULL << 40, 1ULL << 40), probe->tick() + 1)},
|
config({source(1, 0, 15, energy_and_carbon(1ULL << 40, 1ULL << 40), probe->tick() + 1)},
|
||||||
13));
|
13));
|
||||||
require(first_wildlife(*value) == genome && value->tick() == probe->tick(),
|
require(value->state().snapshot() == grown.snapshot() && value->tick() == probe->tick(),
|
||||||
"a not-yet-active source changed the region's history");
|
"the traced owner did not take over the grown history");
|
||||||
require(!prepare_environment_interval(*value, header(*value, 8)),
|
require(!prepare_environment_interval(*value, header(*value, 8)),
|
||||||
"active controlled cells entered an unattended interval");
|
"active controlled cells entered an unattended interval");
|
||||||
for (unsigned tick = 0; tick < cellular_linger_ticks + 10; ++tick)
|
for (unsigned tick = 0; tick < cellular_linger_ticks + 10; ++tick)
|
||||||
|
|||||||
@@ -86,6 +86,15 @@ void costs() {
|
|||||||
}
|
}
|
||||||
require(cellular_light_capture(four, 20, {cellular_light_trial_irradiance, 1, {1}}, false) == 0,
|
require(cellular_light_capture(four, 20, {cellular_light_trial_irradiance, 1, {1}}, false) == 0,
|
||||||
"a genome without the capability captured light");
|
"a genome without the capability captured light");
|
||||||
|
// Dark light captures nothing; capture scales exactly with irradiance when it divides.
|
||||||
|
const auto producer = with(four, 100);
|
||||||
|
require(cellular_light_capture(producer, 20, {0, 1, {0}}, false) == 0,
|
||||||
|
"dark light captured energy");
|
||||||
|
const auto trial =
|
||||||
|
cellular_light_capture(producer, 20, {cellular_light_trial_irradiance, 1, {1}}, false);
|
||||||
|
const auto bright =
|
||||||
|
cellular_light_capture(producer, 20, {cellular_light_trial_irradiance * 20, 1, {1}}, false);
|
||||||
|
require(trial == 1'600 && bright == 32'000, "capture did not scale with irradiance");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Schema 5 offers photosynthesis through the appended operators; earlier schemas never do.
|
// Schema 5 offers photosynthesis through the appended operators; earlier schemas never do.
|
||||||
|
|||||||
Reference in New Issue
Block a user