#Can we schedule action retrier with scheduler ?
22 messages · Page 1 of 1 (latest)
@inland lily one thing to note is that you can call retrier.run from within a mutation already, if that's what you're looking for.
I put up a PR here.
Jamie's new abstraction (which combines the retrier with workpool) is slick, but also would need a function to schedule something in the future, if you don't want the wrapper
you mean with the initialDelayMs? I at first thought that was a backoff config
it'd be nice if it was runAfter to match the scheduler syntax
yeah, I can add that as a wrapper function
I think you want it internal so it can still return the ID
er.. wrapper method I suppose
maybe we should talk in person so I can make sure I follow you
Jamie was right, and I just updated my PR back to convenience functions.
Here's an alpha if you want to try it @inland lily @convex-dev/action-retrier@0.1.7-alpha.1
it also adds a runId argument to onComplete
What a masterclass in collaboration!
Thanks @frosty crane will integrate it today
Lmk if it meets your needs so I can release it as a non-alpha
I will test it for a few days in prod but looking at PR it does meet the requirement
@frosty crane Hi Ian,
wanted to flag a security issue in the dependency chain. The current convex package depends on esbuild@0.24.2 which has a known vulnerability (CVE-2023-45131). The patched version is 0.25.0.
Impact:
Dev servers could be exposed to DNS rebinding attacks during local development.
https://github.com/advisories/GHSA-67mh-4wv8-2f99