Skip to content

Component instance limit blocks an extension-heavy Python component #2656

Description

@noobHappylife

I’m building a Python component with Eryx 0.7.2 using this site-packages layer, which contains 246 native extensions. With wasmparser 0.259, component encoding fails:

failed to validate component output:
instances count exceeds limit of 1000

Our older downstream build worked around this by raising MAX_WASM_INSTANCES to 4096, but I’d prefer not to carry a patched wasmparser.

Is there a supported way to opt into a higher limit? If not, would you prefer a higher fixed limit or a configurable one? I can help test against this layer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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