Motivation
The test test_replace_links_commit has been failing after #3783. As this was blocking us from testing in the pipeline, the test was skipped by #4069.
In the long run however, we want to re-enable this test again.
Proposed solution
- Fix
test_replace_links_commit