Execution Engine changelog
Version-by-version changes to the Workflows Execution Engine.
Below you can find the changelog for Execution Engine.
Unreleased
What changed
Add user-facing compile or execution behavior changes here. Maintainers replace this heading with the Execution Engine and inference versions when releasing.
Model-access failures raised while loading local workflow models now preserve HTTP 402, 403, and 423 statuses instead of surfacing as generic HTTP 500 errors.
Execution Engine v1.15.0 | inference 1.3.9
Remote HTTP 501 errors preserve their status without exposing internal URLs — When a remotely executed Workflow step returns HTTP 501, the Execution Engine now surfaces a client-caused Workflow error with the same status and API message instead of a generic HTTP 500 containing the internal producer URL.
Execution Engine v1.14.0 | inference 1.3.8
What changed
Output serialization accepts kinds declared as strings — When an output kind was declared as a plain string (e.g.
"string") instead of aKindobject, output serialization crashed withTypeError: unhashable type: 'list', surfacing as HTTP 500 for the whole Workflow run. Such kinds are now resolved by name, so the matching serializer is applied (or the raw value is passed through when no serializer is registered for that kind).Blocks can declare their dependent resources —
WorkflowBlockManifestgains an instance methoddiscover_dependent_resources() -> Optional[List[DependentResource]]that lets a parsed step declare the external resources its execution will use, so callers (platform, preloading and auth pre-flight tooling) can enumerate them statically from a workflow definition. The envelope is regulated by the Execution Engine: resource typesroboflow_platform_model,roboflow_platform_projectandthird_party_model, each with a typed, serializable (pydantic) metadata entity. Platform-model entries additionally state the nature of usage:required_action(access— the model entity only needs to be reachable on the platform, vsexecution— the model is executed) and, for execution,execution_location(local/remote/environment_definedwhen the locality is decided at runtime byWORKFLOWS_STEP_EXECUTION_MODE). Blocks governed by their own locality override dictate it in place — the SAM3 image blocks declare nothing whenSAM3_EXEC_MODE=remote(proxy execution ignores the configured model id and runs a fixed SAM3 server-side) andenvironment_definedotherwise. ReturningNone(the default) means the block does not declare its dependencies — distinct from[], which declares that no external resources are needed. Field values that are workflow selectors ($inputs.<name>/$steps.<name>.<property>) are reported verbatim; each metadata entity exposesrequires_runtime_resolution()to tell such references apart from concrete identifiers. Declarations whose final id is synthesized from the field value (family prefixes likeclip/<version>, catalog lookups) additionally attach a non-serializablemodel_id_resolvercallable that turns the substituted input value into the executed id — excluded from serialization, JSON schema and equality. All core blocks that reference models, Roboflow projects or third-party hosted models implement the method, and each implementation mirrors the model identifier thatrun()actually loads (including ids synthesized from version fields, e.g.clip/<version>). Project declarations follow their enabling controls, decided from static manifest values: Roboflow model blocks drop the active-learning target whendisable_active_learningis literallyTrue(the default), and dataset-upload blocks declare nothing whendisable_sinkis literallyTrue; selector-fed controls keep the conservative may-need declaration. Introspection stops at theactive_learning_target_datasetproperty — no project is derived from the model id when active learning is enabled without an explicit target. Blocks that load their model weights outside the model manager (the SAM2/SAM3 video trackers, which useAutoModel.from_pretrained) deliberately do not implement the method for now — their dependencies stay undeclared (None).Dynamic (custom python) blocks report unknown dependencies — manifests synthesized for dynamic blocks return
Nonefromdiscover_dependent_resources(): the python body is opaque to static analysis, so "unknown" is the only honest answer.Opt-in pre-loading of declared Roboflow models at engine init —
ExecutionEngine.init(...)accepts a new optional parameterdependencies_pre_init(defaultNone): a list of dependent-resource type names to pre-load, withroboflow_platform_modelas the only supported value for now. When enabled, the engine deduces the declared dependencies of all compiled steps (deduce_blocks_dependenciesin the compiler utils) and registers every concrete Roboflow platform model declared for execution in the model manager (both taken frominit_parameters, as is the API key) duringinit()— before any run, for predictable first-inference latency. Declarations that reference$inputs.<name>cannot be loaded at init; on the firstrun()only — after runtime-input validation, so an invalid request neither consumes the single attempt nor triggers downloads — the engine resolves them against the provided runtime parameters (with input defaults applied), applies the declaration'smodel_id_resolverwhen attached (so e.g. a substituted CLIP version pre-loadsclip/<version>, exactly the id execution uses), and registers the models whose identifiers became concrete. A resolver returningNonedeclares the substituted value statically unresolvable (e.g. Qwen's fine-tuned sentinel label, whose final id depends on another input) — the dependency is skipped and resolves at execution time; a submitted input value the resolver cannot handle (e.g. an unknown catalog label) raisesRuntimeInputError. Registration mirrors each block's actual loader: declarations may carry non-serializablemodel_registration_kwargs(e.g.endpoint_type=CORE_MODELfor CLIP / OCR / SAM2 / YOLO-World-style core models, matchingload_core_model()). After each pre-loading pass the engine verifies the registered models are still present in the model manager and logs a warning when a size/memory-bounded manager evicted some of them (they lazily re-load at execution time). Pre-loading honours the effective step execution mode (explicitstep_execution_modeinit parameter, or theWORKFLOWS_STEP_EXECUTION_MODEdefault):environment_defineddeclarations are pre-loaded only when steps execute locally,localdeclarations always are, and access-only declarations (no weights pulled), remote execution and$steps.…-fed identifiers are never pre-loaded.InferencePipeline.init_with_workflow(...)exposes this as the opt-inworkflows_dependencies_pre_initparameter (defaultNone— no pre-loading) — video processing benefits most from predictable startup.
Execution Engine v1.13.0 | inference v1.3.7
What changed
Offline mode rejects remote Workflow step execution — When
OFFLINE_MODEis enabled, the compiler rejectsStepExecutionMode.REMOTEduring step initialisation (WorkflowEnvironmentConfigurationError) so Workflows cannot open remote inference clients without network access. Local step execution continues to work against warmed caches.Proper model access failure status codes - Model-access failures raised while loading local workflow models now preserve HTTP 402, 403, and 423 statuses instead of surfacing as generic HTTP 500 errors.
Execution Engine v1.12.0 | inference v1.3.2
What changed
Future resolution - Some steps might now emit Future objects which defer output resolution to until outputs are needed by clients. For downstream blocks these futures are being resolved in the step_input_assembler while for output construction in the output_constructor along with coordinate conversion.
Execution Engine v1.11.0 | inference v1.3.1
What changed
Per-case execution branches for dict step selectors - When a flow-control block declares step selectors inside a
Dict[str, StepSelector]property (rather than aList[StepSelector]), the compiler now creates a distinct execution branch per dictionary key. Previously every selector in a single property shared one branch, so a block could not route to its targets independently. Branch names now include the dictionary key (e.g.Branch[$steps.switch -> cases[red]]). Selectors held in list properties (such asnext_steps) keep the prior shared-branch behavior, so existing blocks are unaffected. This change is what enables the newroboflow_core/switch_case@v1block (graph_constructor.establish_control_flow_edge).Fix: non-SIMD flow-control masks with repeated branch names - A non-SIMD flow-control step that selected more than one target through a single list property raised
Attempted to re-register maks for execution branch. Branch-mask registration now deduplicates branch names before registering, fixing the crash (affected e.g.ContinueIfwith multiplenext_steps;execution_data_manager.manager._register_control_flow_output_for_non_simd_step).
Execution Engine v1.10.1 | inference v1.2.12
What changed
Dynamic blocks in nested inner workflows - The compiler now collects
dynamic_blocks_definitionsfrom the root workflow and every nestedinner_workflowchild (depth-first), deduplicates bymanifest.block_type(first occurrence wins; a warning is logged when a duplicate is skipped), and hoists the merged list onto the root definition beforecompile_dynamic_blocksand inlining. Child steps that use custom Python block types defined only on the nested workflow spec compile and run correctly after inlining.
Execution Engine v1.10.0 | inference v1.2.10
What changed
Added capability to recognize dictionaries with values being mix of static values and selectors - in previous versions, only dicts mapping keys to selectors were recognized, making some blocks not correctly wired to referred values in runtime. Change is non-breaking, but fixes certain blocks which was broken in the past.
Execution Engine v1.9.0 | inference v1.2.0
New feature: nested workflows via compile-time inlining
This release adds the roboflow_core/inner_workflow@v1 block so a workflow can embed another workflow definition (inline JSON or resolved from workflow_workspace_id / workflow_id / optional workflow_version_id). Child inputs are wired from the parent with parameter_bindings (child inputs[].name → parent selectors). At compile time the engine inlines nested steps into the parent graph; execution uses the same path as ordinary steps (no separate nested runtime).
What changed
Inner workflow block - New flow-control block type
roboflow_core/inner_workflow@v1registered inroboflow_core. Parent outputs may reference child workflow JsonField outputs as$steps.<inner_step_name>.<child_output_name>until inlining rewrites selectors.Compile pipeline - Before parsing the root definition, the compiler: (1) normalizes references (default: Roboflow API +
workflows_core.api_key, or customworkflows_core.inner_workflow_spec_resolver), (2) validates composition (acyclicity, max nesting depth, max inner-workflow count), (3) inlines all inner workflow steps into ordinary steps, then continues with parse, workflow specification validation, and execution graph construction.Limits (environment variables) -
WORKFLOWS_MAX_INNER_WORKFLOW_DEPTH(default4) caps containment depth from the root;WORKFLOWS_MAX_INNER_WORKFLOW_COUNT(default32) caps the total number ofinner_workflowsteps in the nested definition.Documentation - See Inner workflows (nested definitions) for usage, bindings, limits, and an example.
Execution Engine v1.8.0 | inference v1.1.1
Additive change + one breaking change due to bug fix with minimal expected impact
This release extends the Execution Engine so that steps gated by control flow (e.g. after a ContinueIf block) can run even when they have no data-derived lineage - i.e. when they do not receive batch-oriented inputs from upstream steps. Lineage and execution dimensionality can now be derived from control flow predecessor steps. Existing workflows are unaffected.
One breaking change introduced is due to the bug fix that affects Batch.remove_by_indices with nested batches (see below); impact is expected to be minimal.
What changed
Control flow lineage - The compiler now tracks lineage that comes from control flow steps (e.g. branches after
ContinueIf). A new notion of control flow lineage support is used when a step has no batch-oriented data inputs but is preceded by control flow steps: the step’s execution slices and batch structure are taken from those control flow predecessors.Loosened compatibility check - Previously,
verify_compatibility_of_input_data_lineage_with_control_flow_lineageraisedControlFlowDefinitionErrorfor any step that had control flow predecessors but no data-derived lineage, so such steps could not be compiled. That check is now relaxed: when a step has no input data lineage, compatibility is not enforced and the step’s lineage is derived from the control flow predecessor step lineage instead. The strict check still runs when the step does have data-derived lineage, to ensure control flow and data lineage remain compatible.New step patterns - Steps that are triggered only by control flow and do not consume batch data now run correctly. For example, you can send email notifications (or run other side-effect steps) after a
ContinueIfwithout wiring any data into parameters likemessage_parameters; the step will execute once per control flow branch with lineage and dimensionality taken from the controlling step.Batch.remove_by_indiceswith nested batches (behavioral fix) - When removing indices viaBatch.remove_by_indices, nestedBatchelements are now recursively filtered by the same index set. As a result, entries at removed indices (includingNonevalues) are now correctly dropped from nested batches as well. Previously, only the top-level batch was filtered; nested batches were left unchanged.By default for a
WorkflowBlock,accepts_empty_values()isFalse. While this was bypassed, blocks consuming such inputs where outright failing as for exampleStitchDetectionsBatchBlock:The only core block that this change affects is the
DimensionCollapseBlockV1block, As it was wrapping individual inputs in a batch without filtering for None values.When using the output from this block downstream applications could either outright fail or silently process None values, unless they filtered those values themselves.
Given that above we reckon the impact will be minimal.
Execution Engine v1.7.0 | inference v0.59.0
Breaking change regarding step errors in workflows
To fix a bug related to invalid HTTP responses codes in inference-server handling Workflows execution requests we needed to alter the default mechanism responsible for handling errors in Execution Engine. As a result of change, effective immediately on Roboflow Hosted Platform and in inference>=0.59.0, Workflow blocks interacting with Roboflow platform which fails due to client misconfiguration (invalid Roboflow API key, invalid model ID, etc.) instead of raising StepExecutionError (and HTTP 500 response from the server) will raise ClientCausedStepExecutionError (and relevant HTTP response codes, such as 400, 401, 403, 404).
List of scenarios affected with the change:
Block using Roboflow model defines invalid model ID - now will raise
ClientCausedStepExecutionErrorwith status code 400Block using Roboflow model defines invalid API key - now will raise
ClientCausedStepExecutionErrorwith status code 401Block using Roboflow model defines invalid API key or missing valid key with scpe to access resource - now will raise
ClientCausedStepExecutionErrorwith status code 403Block using Roboflow model defines model which does not exist - now will raise
ClientCausedStepExecutionErrorwith status code 404
Bringing back legacy error handling
It is possible to bring back the legacy behaviour of error handler if needed, which may be halpful in transition period - all it takes is setting environmental variable DEFAULT_WORKFLOWS_STEP_ERROR_HANDLER=legacy.
Execution Engine v1.6.0 | inference v0.53.0
Change may require attention
This release introduces upgrades and new features with no changes required to existing workflows. Some blocks may need to be upgraded to take advantage of the latest Execution Engine capabilities.
Prior versions of the Execution Engine had significant limitations when interacting with certain types of blocks - specifically those operating in Single Instruction, Multiple Data (SIMD) mode. These blocks are designed to process batches of inputs at once, apply the same operation to each element, and return results for the entire batch.
For example, the run(...) method of such a block might look like:
In the manifest, the image field is declared as accepting batches.
The issue arose when the input image came from a block that did not operate on batches. In such cases, the Execution Engine was unable to construct a batch from individual images, which often resulted in frustrating compilation errors such as:
In Execution Engine v1.6.0, this limitation has been removed, introducing the following behaviour:
When it is detected that a given input must be batch-oriented, a procedure called Auto Batch Casting is applied. This automatically converts the input into a
Batch[T]. Since all batch-mode inputs were already explicitly denoted in manifests, most blocks (with exceptions noted below) benefit from this upgrade without requiring any internal changes.The dimensionality (level of nesting) of an auto-batch cast parameter is determined at compilation time, based on the context of the specific block in the workflow as well as its manifest. If other batch-oriented inputs are present (referred to as lineage supports), the Execution Engine uses them as references when constructing auto-casted batches. This ensures that the number of elements in each batch dimension matches the other data fed into the step (simulating what would have been asserted if an actual batch input had been provided). If there are no lineage supports, or if the block manifest requires it (e.g. input dimensionality offset is set), the missing dimensions are generated similarly to the
torch.unsqueeze(...)operation.Step outputs are then evaluated against the presence of an Auto Batch Casting context. Based on the evaluation, outputs are saved either as batches or as scalars, ensuring that the effect of casting remains local, with the only exception being output dimensionality changes introduced by the block itself. As a side effect, it is now possible to:
create output batches from scalars (when the step increases dimensionality), and
collapse batches into scalars (when the block decreases dimensionality).
The two potential friction point arises - first when a block that does not accept batches (and thus does not denote batch-accepting inputs) decreases output dimensionality. In previous versions, the Execution Engine handled this by applying dimensionality wrapping: all batch-oriented inputs were wrapped with an additional
Batch[T]dimension, allowing the block’srun(...)method to perform reduce operations across the list dimension. With Auto Batch Casting, however, such blocks no longer provide the Execution Engine with a clear signal about whether certain inputs are scalars or batches, making casting nondeterministic. To address this, a new manifest method was introduced:get_parameters_enforcing_auto_batch_casting(...). This method must return the list of parameters for which batch casting should be enforced when dimensionality is decreased. It is not expected to be used in any other context.
Impact of new method on existing blocks
The requirement of defining get_parameters_enforcing_auto_batch_casting(...) method to fully use Auto Batch Casting feature in the case described above is non-strict. If the block will not be changed, the only effect will be that workflows wchich were previously failing with compilation error may work or fail with runtime error, dependent on the details of block run(...) method implementation.
The second friction point arises when there is a block declaring input fields supporting batches and scalars using
get_parameters_accepting_batches_and_scalars(...)- by default, Execution Engine will skip auto-casting for such parameters, as the method was historically always a way to declare that block itself has ability to broadcast scalars into batches - see implementation ofroboflow_core/detections_transformation@v1block. In a way, Auto Batch Casting is redundant for those blocks - so we propose leaving them as is and upgrade to useget_parameters_enforcing_auto_batch_casting(...)instead ofget_parameters_accepting_batches_and_scalars(...)in new versions of such blocks.In earlier versions, a hard constraint existed: dimensionality collapse could only occur at levels ≥ 2 (i.e. only on nested batches). This limitation is now removed. Dimensionality collapse blocks may also operate on scalars, with the output dimensionality “bouncing off” the zero ground.
There is one key change in how outputs are built. In earlier versions of Execution Error, a block was not allowed to produce a Batch[X] directly at the first dimension level - that space was reserved for mapping onto input batches. Starting with version v1.6.0, this restriction has been removed.
Previously, outputs were always returned as a list of elements:
aligned with the input batches, or
a single-element list if only scalars were given as inputs.
This raised a question: what should happen if a block now produces a batch at the first dimension level? We cannot simply zip(...) it with input-based outputs, since the size of these newly generated batches might not match the number of input elements - making the operation ambiguous.
To resolve this, we adopted the following rule:
Treat the situation as if there were a "dummy" input batch of size 1.
Consider all batches produced from scalar inputs as being one level deeper than they appear.
This follows the principle of broadcasting, allowing such outputs to expand consistently across all elements.
Input batch may vanish as a result of execution, but when this happens and new first-level dimension emerges, it is still going to be virtually nested to ensure outputs consistency.
Example:
It is important to note that results generated from previously created workflows valid will be the same and the change will only affect new workflows created to utilise new functionalities.
Migration guide
Adding `get_parameters_enforcing_auto_batch_casting(...)` method
Blocks which decrease output dimensionality and do not define batch-oriented inputs needs to declare all inputs which implementation expects to have wrapped in Batch[T] with the new class method of block manifest called get_parameters_enforcing_auto_batch_casting(...)
in lines
34-36one needs to add declaration of fields that will be subject to enforced auto-batch castingas a result of the above, input parameters of run method (lines
53-54) will be wrapped intoBatch[T]by Execution Engine.
Execution Engine v1.5.0 | inference v0.38.0
Change does not require any action
This change does not require any change from Workflows users. This is just performance optimisation.
Exposed new parameter in the init method of
BaseExecutionEngineclass -executorwhich can accept instance of PythonThreadPoolExecutorto be used by execution engine. Thanks to this change, processing should be faster, as eachBaseExecutionEngine.run(...)will not require dedicated instance ofThreadPoolExecutoras it was so far. Additionally, we are significantly limiting threads spawning which may also be a benefit in some installations.Despite the change, Execution Engine maintains the limit of concurrently executed steps - by limiting the number of steps that run through the executor at a time (since Execution Engine is no longer in control of
ThreadPoolExecutorcreation, and it is possible for the pool to have more workers available).
Execution Engine v1.4.0 | inference v0.29.0
Added new kind -
secretto represent credentials. No action needed for existing blocks, yet it is expected that over time blocks developers should use this kind, whenever block is to accept secret value as parameter.Fixed issue with results serialization introduced in
v1.3.0- by mistake, Execution Engine was not serializing non-batch oriented outputs.Fixed Execution Engine bug with preparing inputs for steps. For non-SIMD steps before, while collecting inputs in runtime,
WorkflowBlockManifest.accepts_empty_input()method result was being ignored - causing the bug when one non-SIMD step was feeding empty values to downstream blocks. Additionally, in the light of changes made inv1.3.0, thanks to which non-SIMD blocks can easily feed inputs for downstream SIMD steps - it is needed to check if upstream non-SIMD block yielded non-empty results (as SIMD block may not accept empty results). This check was added. No action needed for existing blocks, but this fix may fix previously broken Workflows.
Execution Engine v1.3.0 | inference v0.27.0
Introduced the change that let each kind have serializer and deserializer defined. The change decouples Workflows plugins with Execution Engine and make it possible to integrate the ecosystem with external systems that require data transfer through the wire. Blocks bundling page was updated to reflect that change.
Kinds defined in
roboflow_coreplugin were provided with suitable serializers and deserializersWorkflows Compiler and Execution Engine were enhanced to support batch-oriented inputs of any kind, contrary to versions prior
v1.3.0, which could only takeimageandvideo_metadatakinds as batch-oriented inputs (as a result of unfortunate and not-needed coupling of kind to internal data format introduced at the level of Execution Engine). As a result of the change:new input type was introduced:
WorkflowBatchInputshould be used from now on to denote batch-oriented inputs (and clearly separate them fromWorkflowParameters).WorkflowBatchInputlet users define both kind of the data and it's dimensionality. New input type is effectively a superset of all previous batch-oriented inputs:WorkflowImageandWorkflowVideoMetadata, which remain supported, but will be removed in Execution Enginev2. We advise adjusting to the new input format, yet the requirement is not strict at the moment - as Execution Engine requires now explicit definition of input data kind to select data deserializer properly. This may not be the case in the future, as in most cases batch-oriented data kind may be inferred by compiler (yet this feature is not implemented for now).new selector type annotation was introduced - named simply
Selector(...).Selector(...)is supposed to replaceStepOutputSelector,WorkflowImageSelector,StepOutputImageSelector,WorkflowVideoMetadataSelectorandWorkflowParameterSelectorin block manifests, letting developers express that specific step manifest property is able to hold either selector of specific kind. Mentioned old annotation types should be assumed deprecated, we advise to migrate intoSelector(...).as a result of simplification in the selectors type annotations, the old selector will no longer be providing the information on which parameter of blocks'
run(...)method is shipped by Execution Engine wrapped intoBatch[X]container. Instead of old selectors type annotations andblock_manifest.accepts_batch_input()method, we propose the switch into two methods explicitly defining the parameters that are expected to be fed with batch-oriented data (block_manifest.get_parameters_accepting_batches()) and parameters capable of taking both batches and scalar values (block_manifest.get_parameters_accepting_batches_and_scalars()). Return value ofblock_manifest.accepts_batch_input()is built upon the results of two new methods. The change is non-breaking, as any existing block which was capable of processing batches must have implementedblock_manifest.accepts_batch_input()method returningTrueand use appropriate selector type annotation which indicated batch-oriented data.
As a result of the changes, it is now possible to split any arbitrary workflows into multiple ones executing subsets of steps, enabling building such tools as debuggers.
Breaking change planned - Execution Engine v2.0.0
WorkflowImageandWorkflowVideoMetadatainputs will be removed from Workflows ecosystem.StepOutputSelector,WorkflowImageSelector,StepOutputImageSelector,WorkflowVideoMetadataSelectorandWorkflowParameterSelector` type annotations used in block manifests will be removed from Workflows ecosystem. {% endhint %}
Migration guide
Kinds' serializers and deserializers
Creating your Workflows plugin you may introduce custom serializers and deserializers for Workflows kinds. To achieve that end, simply place the following dictionaries in the main module of the plugin (the same where you place load_blocks(...) function):
New type annotation for selectors - blocks without `Batch[X]` inputs
Blocks manifest may optionally be updated to use Selector in the following way:
should just be changed into:
New type annotation for selectors - blocks with `Batch[X]` inputs
Blocks manifest may optionally be updated to use Selector in the following way:
should be changed into:
Please point out that:
the
dataproperty in the original example was able to accept both batches of data and scalar values due to selector of batch-orienetd data (StepOutputSelector) and scalar data (WorkflowParameterSelector). Now the same is manifested bySelector(...)type annotation and return value fromget_parameters_accepting_batches_and_scalars(...)method.
New inputs in Workflows definitions
Anyone that used either WorkflowImage or WorkflowVideoMetadata inputs in their Workflows definition may optionally migrate into WorkflowBatchInput. The transition is illustrated below:
should be changed into:
Leaving kind field empty may prevent some data - like images - from being deserialized properly.
Note
If you do not like the way how data is serialized in roboflow_core plugin, feel free to alter the serialization methods for kinds, simply registering the function in your plugin and loading it to the Execution Engine - the serializer/deserializer defined as the last one will be in use.
Execution Engine v1.2.0 | inference v0.23.0
The
video_metadatakind has been deprecated, and we strongly recommend discontinuing its use for building blocks moving forward. As an alternative, theimagekind has been extended to support the same metadata asvideo_metadatakind, which can now be provided optionally. This update is non-breaking for existing blocks, but some older blocks that produce images may become incompatible with future video processing blocks.
Potential blocks incompatibility
As previously mentioned, adding video_metadata as an optional field to the internal representation of image kind (WorkflowImageData class) may introduce some friction between existing blocks that output the image kind and future video processing blocks that rely on video_metadata being part of image representation.
The issue arises because, while we can provide default values for video_metadata in image without explicitly copying them from the input, any non-default metadata that was added upstream may be lost. This can lead to downstream blocks that depend on the video_metadata not functioning as expected.
We've updated all existing roboflow_core blocks to account for this, but blocks created before this change in external repositories may cause issues in workflows where their output images are used by video processing blocks.
While the deprecated
video_metadatakind is still available for use, it will be fully removed in Execution Engine versionv2.0.0.
Breaking change planned - Execution Engine v2.0.0
video_metadata kind got deprecated and will be removed in v2.0.0
As a result of the changes mentioned above, the internal representation of the
imagekind has been updated to include a newvideo_metadataproperty. This property can be optionally set in the constructor; if not provided, a default value with reasonable defaults will be used. To simplify metadata manipulation within blocks, we have introduced two new class methods:WorkflowImageData.copy_and_replace(...)andWorkflowImageData.create_crop(...). For more details, refer to the updatedWoorkflowImageDatausage guide.
Last updated
Was this helpful?