ROpdebee / mb-userscripts

Collection of userscripts for MusicBrainz
MIT License
117 stars 9 forks source link

Re-record PollyJS HTTP recordings #788

Closed github-actions[bot] closed 1 month ago

github-actions[bot] commented 1 month ago

This is a scheduled reminder to re-record the PollyJS HTTP recordings used in the tests.

Why?

We use HTTP recordings to ensure fast, reliable and deterministic test and CI results. However, as upstream services change their HTTP responses, our test data becomes outdated and our tests may not uncover actual problems. Therefore, these recordings should be recreated periodically, and unfortunately we don't have an automated setup for this yet.

How?

  1. Remove tests/test-data/__recordings__
  2. Run the tests again (npm t)
  3. Commit the changes in tests/test-data/__recordings__

Thank you!

:robot: Beep boop, this issue was filed automatically because of a scheduled CI job.

ROpdebee commented 1 month ago

Recently covered in #786