Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

zip_size can be undefined #54

@awlong

Description

@awlong

if variables['fail_on_too_big'] and zip_size > variables['max_lambda_size']:

if the shutil.make_archive call fails (due to a multiprocessing race condition on mkdir), the process will throw out of the initial try/catch block and then throw again which blocks a return code from being captured by the Process.

Need to either check the process exitcode when joining or account for that undefined zip_size and return a breaking error code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions