Skip to content

FDull 0.3.0-preview.1

Pre-release
Pre-release

Choose a tag to compare

@PhilipChen PhilipChen released this 30 Oct 19:58
· 6 commits to main since this release
c6361a8

FDull 0.3.0-preview.1 adds scoped verification for service-owned monorepos, an opt-in shared result cache, and a configurable analysis worker memory limit.

  • Service-owned policies. A monorepo can have a separate fdull.json for each service or shared library, with no root policy required. Version-two policies add Repository.Root, pinned SharedInputs, and exact cross-workspace project references, each pinned by a normalized PolicyDigest. Constructor approvals, capabilities and contracts stay with the owning policy. Existing version-one standalone policies remain supported.
  • Scoped commands. lint <workspace> checks one workspace plus repository ownership and graph consistency. verify <workspace> verifies that service and its dependencies. verify . --since <commit> verifies changed owners and their transitive consumers, builds unchanged dependencies without re-analyzing them, and skips unrelated workspaces. verify . or --all verifies everything. Reports mark each workspace as selected, build-only or skipped. Repository-wide ownership and graph checks still run on every scoped invocation.
  • Opt-in result cache. Authoritative verify stays uncached by default. Repository verify --cache reuses lint's unchanged per-project analyses. Cache keys cover source, compiler, reference and build inputs, the observable policy slice, worker identity and runtime. Unused entries are pruned after 30 days, and least-recently-used entries are pruned beyond 256 MiB per workspace.
  • Single restore and build. Repository verification does one locked restore and one Release build for the whole selection. Each selected policy is read and pinned once. Final validation rejects any byte-level policy change during the run with BUILD004.
  • Worker memory limit. lint, review and verify accept --memory <256-16384> (MiB) for each analysis worker's managed heap ceiling. The default stays at 512 MiB. Library callers set WorkspaceOptions.MemoryMiB.
  • Large policy baselines. Historical policy blobs read through --since use the same 64 MiB limit as ordinary policy loading.

Upgrade the local tool:

dotnet tool update FDull.Tool --version 0.3.0-preview.1

All three packages share this version: FDull, FDull.Tool and FDull.Analyzers. Assembly versions are now 0.3.0.0. This remains an experimental preview; see the README for the monorepo model, cache trust requirements, compatibility and limitations.

The release was built from merged commit c6361a8 with the pinned SDK 10.0.403. Formatting, locked restore, the Release build, all 278 tests, self-verification of all seven projects, packing, local tool installation, the independent consumer smoke check and the coverage inventory check passed.

Changes: v0.2.0-preview.4...v0.3.0-preview.1