From e499799c28bcb5346d88b89624e6635efe4caaa2 Mon Sep 17 00:00:00 2001 From: rayhpeng Date: Mon, 27 Jul 2026 10:07:02 +0800 Subject: [PATCH] test(persistence): bump 0007 dedupe test head pin to 0008_feedback_tags Merging main rebased this branch's feedback migration to 0008_feedback_tags on top of main's 0007_scheduled_run_active_index, so the chain head moved past the pin in main's new dedupe test. The test runs `upgrade head` and asserts the chain tip; its actual subject (the dedupe pass + partial unique index) is unaffected. Co-Authored-By: Claude Opus 4.8 --- .../tests/test_migration_0007_scheduled_run_active_dedupe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/test_migration_0007_scheduled_run_active_dedupe.py b/backend/tests/test_migration_0007_scheduled_run_active_dedupe.py index e737697c2..c604aab0d 100644 --- a/backend/tests/test_migration_0007_scheduled_run_active_dedupe.py +++ b/backend/tests/test_migration_0007_scheduled_run_active_dedupe.py @@ -169,7 +169,7 @@ async def test_migration_supersedes_duplicate_active_runs_before_unique_index(tm with sqlite3.connect(db_path) as raw: version_row = raw.execute("SELECT version_num FROM alembic_version").fetchone() - assert version_row[0] == "0007_scheduled_run_active_index" + assert version_row[0] == "0008_feedback_tags" # Sanity: the invariant the index enforces now holds — at most one # active row per task_id.