Currently, the Spawn Args error is reported in codegen; a pre-check can be added during the graph build stage with span.