A run keeps the inputs its flow declared at submit

Run.declared (migration 2e7ca7d10044) snapshots the declarations on submit
and import. The run detail's Inputs panel reads them, and a run from before
falls back to the flow's current declarations.
This commit is contained in:
2026-10-15 10:20:29 +02:00
parent eca3fa0049
commit caa2cff6b1
10 changed files with 77 additions and 6 deletions
+12
View File
@@ -3498,6 +3498,18 @@ export const RunDetailSchema = {
title: 'Flow Version',
default: 1
},
declared: {
anyOf: [
{
additionalProperties: true,
type: 'object'
},
{
type: 'null'
}
],
title: 'Declared'
},
nodes: {
items: {
'$ref': '#/components/schemas/RunNodeRow'
+3
View File
@@ -1189,6 +1189,9 @@ export type RunDetail = {
[key: string]: unknown;
};
flow_version?: number;
declared?: ({
[key: string]: unknown;
} | null);
nodes?: Array<RunNodeRow>;
artifacts?: Array<ArtifactRow>;
};