Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.99k stars 1.7k forks source link

Mock external services in libcdb CI tests #2348

Open peace-maker opened 8 months ago

peace-maker commented 8 months ago

The libcdb module relies on multiple external services in the tests.

They can each individually fail and take the CI with them. Maybe mock their API locally so the tests won't fail if one of them goes down.

The debug symbols can be cached using @actions/cache and a local simple proxy serving the cached file if it exists or passes the request on to the real service instead.

I'm not sure about the other ones.