oka_core 0.6.0 copy "oka_core: ^0.6.0" to clipboard
oka_core: ^0.6.0 copied to clipboard

Core contracts for oka: typed build context, composable pipeline (BuildStep, Artifact, Pipeline), the declarative Oka composition root, and typed oka.yaml config values.

0.4.0 #

Added #

  • AndroidBuild.r8Rules (android.r8_rules): inline, per-app R8/ProGuard rules applied after proguard_files; vendor-neutral platform defaults.

  • Tree-aware process seam (ADR-0026 decision 8): ProcessTreeProbe / HostProcessTreeProbe descendant enumeration, stopProcessTree (enumerate before the first signal; graceful→force ladder; verified death; recycled-root refusal), and runBoundedProcess — a bounded run whose deadline kills the spawned tree instead of abandoning it, with bounded output capture and a terminal cause.

Changed #

  • SystemProcessRunner deadline enforcement now kills the child process tree before raising TimeoutException; the exception contract is unchanged, but no child is abandoned on timeout.

0.2.0 #

  • Add composable CacheDiagnostics providers, typed reports and partial, read-only registry inspection. PID-zero leases remain unknown and preserved.

  • Add a persistent cache project registry, best-effort build registration and saved cleanup plans that revalidate current ownership and filesystem state.

  • Add platform-neutral storage inventory and preview/apply pruning contracts, with overlap accounting, protected locations and filesystem safety checks.

  • Fix absent-store GC, include extracted payload bytes and count only successful deletions; reject sweep paths that escape the shared store.

  • Release the platform-neutral Target.explainDetails hook used by web targets.

  • Directory-artifact convention (ADR-0016 W2): PublishTarget.artifactIsDirectory (default false — file targets unchanged) and PublishPlan.artifactIsDirectory (typed flag in plans, JSON round-trip, describeLines marks artifact … (directory)). auditPublishConformance now asserts the declared artifact kind when the artifact path exists on disk: a directory-artifact target must point at a directory, a file target must not point at a directory.

0.1.6 #

  • Typed AndroidBuild/FlutterBuild config values with copyWith and toConfigMap (ADR-0010); PlatformPipeline.configOverrides seam and mergeConfigMaps precedence (Dart config > oka.yaml > defaults).
  • Pipeline.run accepts a pre-seeded PipelineState (runtime scope).
  • Entry-point discovery helper (findPipelineEntrypoint).

0.1.5 #

  • Declarative composition root (Oka, PlatformPipeline), typed artifact pipeline, okaRun entrypoint (ADR-0006).
0
likes
145
points
983
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Core contracts for oka: typed build context, composable pipeline (BuildStep, Artifact, Pipeline), the declarative Oka composition root, and typed oka.yaml config values.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#build-system #cli #configuration #dart #pipeline

License

MIT (license)

Dependencies

args, crypto, from_json_to_json, meta, path, resource_composition, yaml

More

Packages that depend on oka_core