RecordRunSessionStep class
Records run_session.json next to the packaged artifact (APK/AAB) at
the end of the no-Gradle pipelines (ADR-0011 H1).
Requires apkPath (the final artifact, already provided by
package-and-sign / package-and-sign-aab); provides
runSessionPath. Flutter SDK path + engine revision resolve through the
ResolvedToolchain policy (explicit config wins) so the manifest records
exactly what built the kernel.
Constructors
- RecordRunSessionStep({ResolvedToolchain? toolchain, String? flutterSdkPathOverride})
Properties
- flutterSdkPathOverride → String?
-
Injectable Flutter SDK path (tests / explicit config).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Unique step name, used in logs and YAML overrides (
pipeline.steps). Keep it stable: incremental-build caches and pipeline overrides refer to steps by name.no setteroverride -
provides
→ Set<
Artifact< Object> > -
Artifacts this step makes available to downstream steps. Ids must be
unique across the pipeline.
no setteroverride
-
requires
→ Set<
Artifact< Object> > -
Artifacts this step needs from upstream steps. Declared up front so the
whole chain is validated before any tool runs.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolchain → ResolvedToolchain?
-
Null →
PipelineState.resolvedToolchain→ default policy.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
BuildContext ctx, PipelineState state) → Future< StepResult> -
Executes the step. Read upstream values from
state, write this step's outputs back into it, and return StepResult.success or StepResult.failure. Throw only for programming errors — expected tool/build failures are reported via the result.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited