Tracker
Roadmap search
Versions, deliverables, workstreams, tasks, and pages
Build and run orchestration - Flow and algorithm
articleStandard
src/content/docs/platform-spec/compiler/build-pipeline/build-and-run-orchestration/flow-and-algorithm.mdx
import SpecArticleChrome from '@beskid/beskid-ui/platform-spec/SpecArticleChrome.astro';
<SpecArticleChrome />This article documents flow and algorithm for build and run orchestration in the reference compiler.
What this covers
For newcomers, this page explains where the contract shows up in day-to-day compiler work and which code paths are most useful first reads.
Anchored code paths
compiler/crates/beskid_cli/src/commands/coordinates compile, run, and doc commands.compiler/crates/beskid_engine/src/jit_module.rsexecutes JIT pipelines from compiled artifacts.compiler/crates/beskid_tests/src/runtime/jit.rsand e2e fixtures verify orchestration behavior.
Practical notes
- Prefer tracing from CLI/test entry points into analysis/codegen crates before changing internals.
- Treat diagnostics and tests as part of the contract, not optional implementation details.
- If behavior changes, update this article and add/adjust tests in
compiler/crates/beskid_testsorcompiler/crates/beskid_e2e_tests.