Skip to content

Move the shop's 999-product catalog out of the Hydra tree - #131

Open
aaronsmulktis wants to merge 1 commit into
mainfrom
aaronsmulktis/shop-catalog-file
Open

aaronsmulktis wants to merge 1 commit into
mainfrom
aaronsmulktis/shop-catalog-file

Conversation

@aaronsmulktis

@aaronsmulktis aaronsmulktis commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  1. Run the tests in parallel: pytest-xdist added next to pytest; CI and the docs use pytest tests/ -n auto (full suite ~5.5 min on a 10-core laptop)
  2. Each xdist worker searches for web-app ports in its own range (tests/conftest.py), as sibling SLURM jobs do by job_id
  3. Fix: the composer preview and the screenshot harness pass launch.py the port they poll; before, the child picked its own and only matched when nothing else was starting a server
  4. scripts/test_timings.py: per-app / per-file / slowest-test report from pytest's JUnit XML, or a before/after comparison

The webshop pack names it (catalog: webshop -> catalogs/webshop.json) and the
shop reads it when it seeds its products; an inline products list still wins.
Every composition of config.yaml parsed the 1.4 MB YAML catalog, ~3 s of each
~3.3 s composition; now ~0.5 s.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 20, 2026
@aaronsmulktis aaronsmulktis self-assigned this Nov 23, 2026
@aaronsmulktis
aaronsmulktis marked this pull request as ready for review November 23, 2026 23:16

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant