Skip to content

oracle-gaps: three determinism units are each predicted near or past 10 min alone in CI #324

Backlog

Description

@KyleAMathews

What

Three determinism units of the end-to-end gap oracle (oracle-gaps/gap-report-oracle.property.test.mjs) each take 287–438 s of Vitest time in CI. Because of this, the CI packer (packages/oracles/scripts/pack-shards-from-ci.mjs, calibrated in #323) puts each one in a job of its own, and predicts each job past the 10 min limit:

Unit (determinism: constructed history: …) CI Vitest times in six runs (s) Predicted job alone
a property test's later run spins into bounded work 288 311 438 327 287 356 624 s
a non-judging property test's later run spins into bounded work 431 438 335 416 368 294 624 s
a property test's count cut lands in its first part after a run with no positive n… 348 308 428 368 338 288 612 s

The prediction stacks three worst cases: the partition's slowest setup (90 s, an outlier; usually 15–30 s), each test's slowest time, and the partition's calibration factor (×1.22). The first unit's job, when it ran alone, measured 352–459 s wall. So these are predicted breaches, not observed ones.

Why it matters

P12 says CI jobs never run over 10 minutes, and the cost is paid by cutting cost first and sharding second. These units cannot be split further by sharding. M-28 / L9 asks that a job at risk of a breach has an owner until its cost is cut. This issue is that owner.

What would close it

  • Each unit costs less, with equal reach and equal kills: for example, a cheaper history that enters the same states, or less repeated work between the determinism unit's two runs.
  • Or CI shows each unit's job well under the limit across many runs, and the packer's prediction for it is brought closer to that.

Found while repacking the CI jobs in #323 (Session 3 of the post-#99 handoff).

This issue was written by Isaac.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions