Skip to content

Compatibility Fixes Needed for reproduce() Function in Latest Acto Version (Version committed on March 27, 2025) #406

Description

@Nidar53

Description:

While attempting to use the reproduce() function with the latest Acto code, I had to apply the following changes to get it working:
• Removed the line:
• preload_images_ = []
• Updated the call to:
• errors = acto.run()
These manual adjustments suggest that the reproduce.py script might be out of sync with recent changes in the Acto API or internal logic.

 acto = Acto(
        workdir_path=workdir_path,
        operator_config=config,
        cluster_runtime=kwargs["cluster_runtime"],
        # preload_images_=[], <------------------------  Comment this line
        context_file=context_cache,
        helper_crd=None,
        num_workers=1,
        num_cases=1,
        dryrun=False,
        analysis_only=False,
        is_reproduce=True,
        input_model=input_model,
        apply_testcase_f=apply_testcase_f,
        acto_namespace=acto_namespace,
    )
    
    # errors = acto.run(modes=["normal"]) <----------- Comment this line
    errors = acto.run()  <--------------------  Updated  to 
    return [error for error in errors if error is not None]

Question:

Are these modifications expected when using the current version of Acto, or is there an updated reproduction script available?

Thank you

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions