Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(migrations): short maintainer-approved note on 451 backfill removal (#8240)
Zezhong Zhangafd68a63639b
diff --git a/server/migrations/451_agent_task_comment_thread.up.sql b/server/migrations/451_agent_task_comment_thread.up.sqlindex 291456f34e..a19632c8d0 100644--- a/server/migrations/451_agent_task_comment_thread.up.sql+++ b/server/migrations/451_agent_task_comment_thread.up.sql@@ -32,3 +32,10 @@ FOR EACH ROW EXECUTE FUNCTION set_agent_task_comment_thread();-- Existing rows intentionally retain a NULL thread scope. Pre-migration tasks-- drain under the issue/agent claim fence without rewriting historical data.++-- Do NOT add a backfill here. Migration 451 originally shipped one and it was+-- removed: rewriting the whole historical queue at startup is unsafe against+-- production data volume, and there is nothing to gain — the only rows without+-- a thread scope are the tasks in flight during the rolling deploy, and their+-- historical thread scope has no value. #8229 proposed doing it again as+-- migration 457 and was closed for the same reason.