Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Incremental scheduling and determinism - Verification and traceability

Platform spec article

Incremental scheduling and determinism - Verification and traceability

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This article documents verification and traceability for Incremental scheduling and determinism.

  • Anchor: compiler/crates/beskid_analysis/src/analysis/rules/staged/ — precedent for staged invalidation.
  • Anchor: compiler/crates/beskid_lsp/ — incremental document models and rescan triggers.
  • Key tuple replay — Tests under compiler/crates/beskid_tests/src/projects/ (or a dedicated meta_incremental/ subdirectory) must assert that when syntax_generation_id, capture_fingerprint, manifest_generation_id, and capability_set_id match a prior run, the host skips re-execution of process-only work; when any id changes, caches miss deterministically.
  • Isolating vs aggregating — Pairwise fixtures demonstrate narrow vs wide dirty sets as described in design model.
  • LSP alignment — Mirror at least one replay scenario through compiler/crates/beskid_lsp session tests so soft vs hard invalidation matches Snapshot and refresh contract.
  • Golden traces (optional) — Record ordered phase ids + cache hits for regression when mod host complexity grows.
  • Update this bundle whenever public Beskid.Compiler.* shapes or host policies change.