Remove object_type parameter from actions¶
The evaluate_graph action (and perhaps other actions) has an object_type parameter
which is probably no longer required as workflow caches can now only contain
one object type.
Please check it is safe to remove this parameter from any actions that use it, and if so, devise a plan to remove it.
Possible future work out of scope for this task¶
-
Use
_aggregation_entriesinstead of re-reading every cache per matrix job (theO(groups × caches)scan on the roadmap). -
retire the now-redundant
len(entries) != 1checks insideevaluate_graph/best_graph -
Shared
ActionMetadatabuilder acrossbest_graph,summarise,merge_graphs,plot. -
Cross-repo refresh of
causaliq-workflow/docs/architecture/cache_type_model.md. -
Decide the fate of
validation.validate_metric_specs: it is public API but now has no caller insidesrcaftersummariseadopted its alias-aware parser. -
Optionally, apply
header/format/footerto the CLI terminal table (cli/common._print_summary_table) so it matches the file outputs. -
Cross-repo — refresh
causaliq-workflow/docs/architecture/cache_type_model.md(it still showsresult.referenceandresult.evaluated_graph). -
Later audit — shared
ActionMetadatabuilder oncebest_graph,summarise,merge_graphsandplotadopt the same contract.