Closed antonok-edm closed 4 months ago
@mschfh can we host the validator logic on EC2 instead of lambda? It seems like we're running into lambda issues that are proving pretty expensive (in terms of engineering time) to resolve and it doesn't look like we really have a path forward: https://github.com/brave/brave-core-crx-packager/pull/918#discussion_r1621186621
@mschfh can we host the validator logic on EC2 instead of lambda? It seems like we're running into lambda issues that are proving pretty expensive (in terms of engineering time) to resolve and it doesn't look like we really have a path forward: #918 (comment)
The Lambda was running out of memory, please let me know if the 400
responses occur again.
we can set up an endpoint that accepts compressed payloads
done, it supports zstd now
Updated to support zstd-compressed payloads. The only ignored failure now comes from Blocklists Anti-Porn
due to Too many rules in JSON array
. We might do something about that in the future, but I think this is great for the time being.
This will block publishing for any adblock component if the list cannot be converted to the syntax needed by iOS.
~Known limitation: a few of the lists are too large for lambda payloads and can't really be checked this way; we ignore them for now. In the future we can set up an endpoint that accepts compressed payloads.~ Resolved!