Commit 3a5b346
Add info-level logging to all MCP tools (#250)
* Add info-level logging to all MCP tools and upload proxy
- Log entry params for browse_lists, use_list, progress, results,
list_sessions, balance, and cancel (previously only logged on error)
- Log success outcomes (result counts, artifact_ids, balance amounts)
- Log upload_id + filename on presigned URL request
- Log upload_id + size on proxy start, artifact_id on proxy completion
- Log proxy error responses with status and body
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use debug-level logging for progress polling, info only on terminal
Avoids log noise from the tight polling loop (~every 3s). Only logs
at INFO when the task reaches a terminal state (completed/failed/revoked).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Log first and last progress poll, skip intermediate calls
Uses a module-level set to track which task_ids are being polled.
Logs at INFO on the first call ("polling started") and when the task
reaches a terminal state. Cleans up the set on terminal so re-polling
after a retry still logs correctly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Revert in-memory progress set, use debug+terminal INFO instead
The in-memory set doesn't work with multiple replicas — different
pods don't share state. Instead: log every poll at DEBUG level
(invisible at default INFO), log at INFO only on terminal state.
Task submission already logs when polling starts implicitly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix tuple unpacking bug in everyrow_use_list
_fetch_task_result returns (df, session_id, artifact_id) but the call
site only unpacked 2 values, causing ValueError at runtime every time
everyrow_use_list was called.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Add logging to everyrow_list_session_tasks
New tool added on main was missing info-level logging.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4e4ac8b commit 3a5b346
2 files changed
Lines changed: 72 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
193 | 199 | | |
194 | 200 | | |
195 | 201 | | |
| 202 | + | |
196 | 203 | | |
197 | 204 | | |
198 | 205 | | |
| |||
204 | 211 | | |
205 | 212 | | |
206 | 213 | | |
207 | | - | |
| 214 | + | |
208 | 215 | | |
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
212 | 219 | | |
213 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
214 | 226 | | |
215 | 227 | | |
216 | 228 | | |
| |||
993 | 1005 | | |
994 | 1006 | | |
995 | 1007 | | |
| 1008 | + | |
996 | 1009 | | |
997 | 1010 | | |
998 | 1011 | | |
| |||
1033 | 1046 | | |
1034 | 1047 | | |
1035 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
1036 | 1052 | | |
1037 | 1053 | | |
1038 | 1054 | | |
| |||
1044 | 1060 | | |
1045 | 1061 | | |
1046 | 1062 | | |
| 1063 | + | |
1047 | 1064 | | |
1048 | 1065 | | |
1049 | 1066 | | |
| |||
1092 | 1109 | | |
1093 | 1110 | | |
1094 | 1111 | | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1095 | 1118 | | |
1096 | 1119 | | |
1097 | 1120 | | |
| |||
1186 | 1209 | | |
1187 | 1210 | | |
1188 | 1211 | | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
1189 | 1217 | | |
1190 | 1218 | | |
1191 | 1219 | | |
| |||
1251 | 1279 | | |
1252 | 1280 | | |
1253 | 1281 | | |
| 1282 | + | |
1254 | 1283 | | |
1255 | 1284 | | |
1256 | 1285 | | |
| |||
1266 | 1295 | | |
1267 | 1296 | | |
1268 | 1297 | | |
| 1298 | + | |
1269 | 1299 | | |
1270 | 1300 | | |
1271 | 1301 | | |
| |||
1293 | 1323 | | |
1294 | 1324 | | |
1295 | 1325 | | |
| 1326 | + | |
1296 | 1327 | | |
1297 | 1328 | | |
1298 | 1329 | | |
| |||
1341 | 1372 | | |
1342 | 1373 | | |
1343 | 1374 | | |
| 1375 | + | |
1344 | 1376 | | |
1345 | 1377 | | |
1346 | 1378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
141 | 148 | | |
142 | 149 | | |
143 | 150 | | |
| |||
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| 215 | + | |
208 | 216 | | |
209 | 217 | | |
210 | 218 | | |
211 | 219 | | |
212 | 220 | | |
213 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
214 | 228 | | |
215 | 229 | | |
216 | 230 | | |
217 | 231 | | |
218 | | - | |
| 232 | + | |
219 | 233 | | |
220 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
221 | 258 | | |
222 | 259 | | |
223 | 260 | | |
| |||
0 commit comments