Roadmap search

Versions, deliverables, workstreams, tasks, and pages

Beskid

Jump to a Beskid service

Incremental scheduling and determinism - Verification and traceability

articleStandard

src/content/docs/platform-spec/compiler/compiler-mods/incremental-scheduling-determinism/verification-and-traceability.mdx

import SpecArticleChrome from '@beskid/beskid-ui/platform-spec/SpecArticleChrome.astro';

<SpecArticleChrome />

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

Traceability matrix

  • Anchor: compiler/crates/beskid_analysis/src/analysis/rules/staged/ — precedent for staged invalidation.
  • Anchor: compiler/crates/beskid_lsp/ — incremental document models and rescan triggers.

Verification expectations

  • 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.

Review cadence

  • Update this bundle whenever public Beskid.Compiler.* shapes or host policies change.