Skip to content

Stop relying on origin ids unless necessary.

This completely stops using origin ids, except when an endpoint that depends on origin ids is used.

Related: swh-storage!907 (closed)

Test Plan

lang=bash
# Test with origin ids
pytest --hypothesis-profile=swh-web-fast swh/web/

# Disable origin ids
cd ../swh-storage/
arc patch swh/devel/swh-storage!907
cd ../swh-web/

# Test without origin ids (and disable tests that require origin ids)
SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false pytest --hypothesis-profile=swh-web-fast swh/web/ -m "not origin_id"

Migrated from D1691 (view on Phabricator)

Merge request reports