oka_core 0.6.0
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 afterproguard_files; vendor-neutral platform defaults. -
Tree-aware process seam (ADR-0026 decision 8):
ProcessTreeProbe/HostProcessTreeProbedescendant enumeration,stopProcessTree(enumerate before the first signal; graceful→force ladder; verified death; recycled-root refusal), andrunBoundedProcess— a bounded run whose deadline kills the spawned tree instead of abandoning it, with bounded output capture and a terminal cause.
Changed #
SystemProcessRunnerdeadline enforcement now kills the child process tree before raisingTimeoutException; the exception contract is unchanged, but no child is abandoned on timeout.
0.2.0 #
-
Add composable
CacheDiagnosticsproviders, 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.explainDetailshook used by web targets. -
Directory-artifact convention (ADR-0016 W2):
PublishTarget.artifactIsDirectory(defaultfalse— file targets unchanged) andPublishPlan.artifactIsDirectory(typed flag in plans, JSON round-trip,describeLinesmarksartifact … (directory)).auditPublishConformancenow 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/FlutterBuildconfig values withcopyWithandtoConfigMap(ADR-0010);PlatformPipeline.configOverridesseam andmergeConfigMapsprecedence (Dart config > oka.yaml > defaults). Pipeline.runaccepts a pre-seededPipelineState(runtime scope).- Entry-point discovery helper (
findPipelineEntrypoint).
0.1.5 #
- Declarative composition root (
Oka,PlatformPipeline), typed artifact pipeline,okaRunentrypoint (ADR-0006).