Тест проектного канала: is_enabled задаётся явно (по умолчанию теперь false)
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m38s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 21:17:37 +03:00
parent a88b0c9ebf
commit b91aa4bbbf

View File

@@ -230,7 +230,7 @@ d("консольные агенты (временная БД, фейковый
calls = [];
const posted: string[] = [];
script = [ok("## Ответ менеджеру\nответ проект llmtest\n## Память\nм7")];
await db.pool.query("insert into project_channel (channel_id, jt_job_id, channel_name) values ('CPROJ1','llmtest-job','proj-llmtest') on conflict do nothing");
await db.pool.query("insert into project_channel (channel_id, jt_job_id, channel_name, is_enabled) values ('CPROJ1','llmtest-job','proj-llmtest', true) on conflict do nothing");
const deps = {
ctx: ctx(), timezone: "America/New_York",
slack: { postMessage: async (_c: string, t: string) => { posted.push(t); return true; }, fileInfo: async () => null, download: async () => 0 },