Skip to content

Evidence refresh: shorten the ~1 h run (sweep and stale re-proofs are sequential and repeated) #4744

Closed

Description

@squid-protocol

Follow-up to #4743. Measured on completed push-lane refreshes (runs 37859714260, 37866635888), the ~1 h+ refresh is two sequential steps on one 4-vCPU runner:

  • det sweep (proof_sweep.py --det-only --skip-db2 --jobs 4): 2111 s - 2753 s
  • stale-record re-proofs (evidence.py refresh --stale --skip-db2): 2002 s - 2579 s
  • checkout ~50 s, report rebuild ~40 s, the rest under 20 s.

The re-proofs run again in every run until the previous bot PR has merged, so on busy days the same stale records are re-proved repeatedly. Ideas: run sweep and re-proofs as two parallel jobs and merge their outputs; skip re-proofs when an open bot PR already carries records for the same inputs; re-prove only records whose inputs changed since the last bot PR.

Activity

  1. added
    enhancement
    ci-cd
    on Oct 9, 2026
  2. added
    scope:infra
    on Oct 16, 2026
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

    ci-cdenhancementscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions