Spaces:
Running
Running
Commit History
-
fix(config): one helper for the test-only arXiv addresses, tested without a reload
siddhm11 +1: Claude Opus 5.5The previous commit's test reloaded app.config, which reset every setting for the tests that ran after it (two feed tests lost their database). Both arXiv addresses now go through _test_override(), honoured only when RESEARCHIT_ENV=test, and the test calls it directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>cb02b51 -
test(e2e): keep the test world's searches off the real arXiv API
siddhm11 +1: Claude Opus 5.5The seeded sidecar had no word index, so a search in the test world found nothing and fell back to export.arxiv.org: browser tests would have reached the real arXiv. The seed now builds papers_fts like the real sidecar, and ARXIV_API_URL, like ARXIV_HTML_BASE, can be pointed at the stand-in site only when RESEARCHIT_ENV=test; a test checks it cannot be redirected otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>92f723d
-
feat(features): switches with off, shadow, preview and on
siddhm11 +1: Claude Opus 5.5Every redesign feature reads one Space variable through app/features.py, so a bad change is undone by a switch rather than a deploy. preview shows a feature only to the browser that visited ?preview=<PREVIEW_TOKEN>; the cookie holds a hash of the token, and ?preview=off clears it. Also adds OUTBOUND_USER_AGENT for every outside request the redesign makes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>bfe47b9