From 3c24e51e0477c82dc7592064eac5134f1ef0e4af Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 29 Oct 2026 05:22:11 -0700 Subject: [PATCH] test(perf): require only the always-built request-log indexes in the nightly database upgrade test The error code index is size-capped and left for an operator on tables over 4 GiB, so the full-size upgrade snapshot never gets it and the lane's index assertion would fail every night. --- tests/e2e/perf/setup/upgrade_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/perf/setup/upgrade_worker.py b/tests/e2e/perf/setup/upgrade_worker.py index e69e841814f..52ce14e222e 100644 --- a/tests/e2e/perf/setup/upgrade_worker.py +++ b/tests/e2e/perf/setup/upgrade_worker.py @@ -102,7 +102,7 @@ def main() -> int: UNION (SELECT request_id FROM "LiteLLM_SpendLogs" ORDER BY request_id DESC LIMIT 32)""").fetchall() ids: Final = tuple(row[0] for row in _STRINGS.validate_python(sample)) assert ids, "Restored baseline has no spend logs" - names: Final = tuple(index.name for index in request_log_indexes.REQUEST_LOG_INDEXES) + names: Final = tuple(index.name for index in request_log_indexes.REQUEST_LOG_INDEXES if index.max_bytes is None) migrations: Final = Path(request_log_indexes.__file__).parent / "migrations" initial: Final = UpgradeState( phase="schema",