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.
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:
Our older downstream build worked around this by raising
MAX_WASM_INSTANCESto 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.