test: daily-evaluation auf 1991/1992, jobs-e2e räumt nur eigene Läufe
- Der Ablauf-Schritt der Vorschläge ist ein globales UPDATE. Auf Tagen in 2011 lief er über die offenen 2001-Vorschläge von autopilot und reminders. Vor 2001 nutzt keine andere Suite ein Datum. - jobs.e2e löschte im afterAll alle JobRuns seit Start und nahm rekey die eigenen Läufe weg; jetzt nur cleanup, daily-evaluation, task-templates. Refs #32 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
2395576c88
commit
62ab080725
2 files changed
+111
-104
No files matched your search
@@ -39,8 +39,13 @@ describe('Jobs (e2e)', () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
// Only the jobs this file runs: other files (rekey, app-backup, voice)
|
||||
// record their own runs in the same window and read them back.
|
||||
const runs = await prisma.jobRun.findMany({
|
||||
where: { startedAt: { gte: testStart } },
|
||||
where: {
|
||||
job: { in: ['cleanup', 'daily-evaluation', 'task-templates'] },
|
||||
startedAt: { gte: testStart },
|
||||
},
|
||||
select: { id: true },
|
||||
});
|
||||
const runIds = [...jobRunIds, ...runs.map((run) => run.id)];
|
||||
|
||||
Reference in new issue
Block a user