Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Registry and overrides contract - Contracts and edge cases

Platform spec article

Registry and overrides contract - Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

This article documents contracts and edge cases for registry and overrides contract in the reference compiler.

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.

  • compiler/crates/beskid_tests/src/projects/corelib/mod.rs validates project source selection behavior.
  • compiler/crates/beskid_cli/src/commands/ provides CLI-level switches for registry interaction.
  • pckg/src/Server/ is the registry-side system consumed by compiler/project tooling.
  • 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_tests or compiler/crates/beskid_e2e_tests.