03b7c95c9c
Extract output forwarding logic to a helper method and standardize response unwrapping. Update tests to explicitly set rerun_on_resume=True where re-running is expected. Change-Id: I9af28ceee5d74a1086d13bbc13ccaae87936817f