Skip to content

Design discussion: do we need to run snippets in a sandbox? #9

Description

@spboyer

Migrated from spboyer/waza#183

The original CLI, inline script assertions being written in Python, would read and eval the python code, so scoping it down to just a few built-ins made sense.

Now that we're running these externally we don't have to worry about this anymore. I propose just removing the sandbox altogether, for both JS and Python.

This also eliminates some arbitrary restrictions, like not being able to use generator expressions in your assertions, which isn't something we intend to restrict.

Metadata

Metadata

Assignees

No one assigned

    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