Commit 533018a
fix: resolve all 25 pre-existing test failures
Root cause 1: stale compiled test-db-helper.js didn't match .ts source.
Tests got strict DEFAULTS (acceptance.mode: 'block', verification.enabled:
true) instead of permissive test config, blocking task creation/completion.
Fix: sync .js with .ts — write config.json with enforcement disabled.
Root cause 2: loadConfig DEFAULTS cascade defeated isTest guard in
complete.ts. verification.enabled always resolved to true from DEFAULTS,
never falling through to the !isTest fallback.
Fix: use getRawConfigValue (project-only, no cascade) so test mode
correctly defaults to disabled when no explicit config set.
Defense-in-depth: migration SQL for external_task_links now uses
CREATE TABLE IF NOT EXISTS for idempotent re-runs.
Also fixed: retry.ts timing tolerance, session-safety page mode
expectation, admin/parity operation count expectations.
Result: 4857 tests passing, 0 failures, 5 skipped.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8c7487f commit 533018a
23 files changed
Lines changed: 156 additions & 63 deletions
File tree
- .cleo
- agent-outputs
- packages
- cleo
- .cleo
- src/dispatch
- __tests__
- domains/__tests__
- engines/__tests__
- core
- migrations/drizzle-tasks/20260320013731_wave0-schema-hardening
- src
- agents
- store/__tests__
- tasks
- __tests__
- skills/.cleo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | | - | |
| 68 | + | |
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments