验证:修复前 pg1 上 TestConversationFlagsAndTaskList 报 SQLSTATE 42883。修复后 AGENT_PG_TEST_DSN=<pg1> go test ./internal/store -count=1 通过;backend go vet ./... && go test ./... -count=1 通过;Dev 仓 make test 通过(2026-10-05)。
Why: the default unarchived task list still compared a BOOLEAN column
to the integer literal 0, so GET /api/conversations returned 500 on
the postgres tier after the previous dialect fix.
Evidence: backend PR #65 (8d82408). Before the fix, TestConversationFlagsAndTaskList
on pg1 failed with SQLSTATE 42883; after, go test ./internal/store -count=1
passed on pg1. Dev make test passed on this pin.
Impact: modules/backend gitlink moves to 8d82408. No other surface changes.
Refs: Agent-System-Backend#65
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: the task card is the main record and needs the Dev PR link
alongside the backend PR.
Evidence: Dev PR #194 is open; make test already passed after task-sync.
Impact: task card text only.
Refs: Agent-System-Dev#194, Agent-System-Backend#65
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen
merged commit 1a033b41a6 into main2026-10-05 03:21:22 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
feature/store-pg-archived-literal 任务卡
任务主记录:Agent-System-Backend PR #65 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Backend/pulls/65;状态:进行中;owner:weichen
基线与授权
989ed378ddGET /api/conversations500,推进 backend 与 Dev gitlink PR。合入与 dev 部署在 PR 就绪后执行。不改 schema,不处理登录前 401。目标与非目标
ListTasks默认未归档视图把archived绑成 Go bool,消除 PGboolean = integer(42883)。同步记录
989ed378dd989ed378dd结果与验证(完成后填写)
8d82408将ListTasks的archived=0改为archived=?绑定false;openTestStore兼容 URL 与键值对 DSN,search_path 保留 public。TestConversationFlagsAndTaskList报 SQLSTATE 42883。修复后AGENT_PG_TEST_DSN=<pg1> go test ./internal/store -count=1通过;backendgo vet ./... && go test ./... -count=1通过;Dev 仓make test通过(2026-10-05)。modules/backendgitlink。backend PR #65 与本仓 PR 待所有者合入;合入后重新部署 dev 并用GET /api/conversations验收。401 不在本次范围。| 同步前验收 |
989ed378dd|e1ec73941e| 2026-10-05T03:20:05Z |