Commit b4bd4df
fix(usage): correct success semantics, env-agnostic test, doc wording
Address the latest review pass:
- routes/graphs: success = is_valid AND no error. error_message-None alone
counted off-topic / not-SQL-translatable results (is_valid=False, no error)
as successes, inflating success_count.
- tests: assert against usage_tracking.ORGANIZATIONS_GRAPH instead of the
hardcoded "Organizations" so the suite passes when the env var is set.
- usage_tracking: reword the task_sink docstring — it no longer ships in the
SDK, so drop the QueryWeaver.close() reference for a generic description.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e47e580 commit b4bd4df
3 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | | - | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments