Commit 17c5922
committed
fix(connectors): second validation pass
Re-validated every connector against live provider docs. The second pass
found defects in the first pass's own fixes, so several entries below are
regressions introduced during validation rather than in the original code.
Regressions from the first validation pass:
- trello: the >1000-card `before` walk rests on an ordering guarantee Trello
does not document. The route declares no query params, and list cards are
returned in `pos` order, so the 1000-result truncation is not guaranteed to
keep the newest 1000 — while the rewrite had stopped setting listingCapped
for multi-page lists, re-enabling reconciliation against an unverifiable
set. Extra pages are still collected, but the listing is flagged again.
- trello: the batching loop only broke on reaching the document target, so a
workspace of many small lists issued thousands of sequential requests in
one call. Capped per call.
- zoho-desk: the new probe requests one record past the cap, which walks into
Zoho's hard `from` <= 4999 ceiling and 422s the whole listing at the
documented 5000 maximum. Guarded, flagging capped instead of throwing.
- pagerduty: the incremental window was only half pinned — `until` was cached
but the since-versus-date_range decision was recomputed per page, so a run
near the 180-day threshold could flip mid-pagination and carry an offset
into a different result set.
- sftp: a fingerprint that is non-blank but normalizes away (`SHA256:`)
installed no host verifier at all, silently trusting any host.
- sftp: depth-limit pruning set listingCapped on every sync of a deep tree,
permanently suppressing deletion reconciliation.
- mintlify: the HTML fallback used the shared htmlToPlainText, which strips
tags but not script contents — 294KB of RSC payload per page on the very
site the fallback exists for.
- mintlify: a sitemap-index child that 404s was skipped despite a comment
claiming failure was fatal, and the origin-level index returned early with
a fraction of a sub-path site's pages. Both silently collapse a listing.
Claims the second pass refuted:
- google-vault: the cursor bug the first pass "fixed" was unreachable. The
engine reads sourceConfig once before the pagination loop, so the enabled
kinds cannot change mid-sync. The defensive branch is removed.
- google-vault: the real defect was page budget. One call per matter per kind
truncated at roughly 249 matters, silently never indexing the rest. Now
batches matters per call, raising the ceiling to roughly 3500.
- mintlify: `.well-known/llms.txt` 404s on every site checked.
- pagerduty: a postmortem GET does exist, but StatusPagePost.linked_resource
carries no documented incident join, so it belongs in its own connector
rather than the incident walk.
Other fixes:
- microsoft-excel: dates and currency indexed as raw serial numbers. Graph
documents that Range.text is independent of cell width, so the `#######`
objection does not apply; the connector now prefers text, matching the
Google Sheets connector. A content-format token forces one re-index, since
the hash is metadata-only and would otherwise keep stale content.
- google-slides: a deck with no extractable text returned null, which the
engine drops with no reason recorded. Now surfaces a skipped row.
- google-vault: saved queries scoped by Chat space, Sites URL, or Drive
document rendered no target at all.
- zoho-desk: declare Desk.organization.READ, which validateConfig needs.
- oauth: a granted read-write scope now satisfies a required `.readonly`
sibling, so narrowing a consumer to least privilege does not ask every
existing credential to re-consent for nothing.
- copilot: drop the adapter-local credential check that made a keyless
connector creatable in the UI but not through Chat. The use case decides.1 parent a0d3abb commit 17c5922
12 files changed
Lines changed: 536 additions & 218 deletions
File tree
- apps/sim
- app/api/tools/sftp
- connectors
- google-slides
- google-vault
- microsoft-excel
- mintlify
- pagerduty
- sftp
- trello
- zoho-desk
- lib
- copilot/tools/server/knowledge
- oauth
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
188 | 201 | | |
189 | 202 | | |
190 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
373 | 376 | | |
374 | 377 | | |
375 | 378 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
390 | 393 | | |
| 394 | + | |
| 395 | + | |
391 | 396 | | |
392 | 397 | | |
393 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
15 | 35 | | |
16 | 36 | | |
17 | 37 | | |
| |||
73 | 93 | | |
74 | 94 | | |
75 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
76 | 100 | | |
77 | 101 | | |
78 | 102 | | |
| |||
96 | 120 | | |
97 | 121 | | |
98 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
99 | 126 | | |
100 | 127 | | |
101 | 128 | | |
| |||
104 | 131 | | |
105 | 132 | | |
106 | 133 | | |
| 134 | + | |
107 | 135 | | |
108 | | - | |
109 | | - | |
110 | 136 | | |
111 | 137 | | |
112 | 138 | | |
| |||
249 | 275 | | |
250 | 276 | | |
251 | 277 | | |
252 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
253 | 286 | | |
254 | 287 | | |
255 | 288 | | |
| |||
312 | 345 | | |
313 | 346 | | |
314 | 347 | | |
| 348 | + | |
| 349 | + | |
315 | 350 | | |
316 | 351 | | |
317 | 352 | | |
| |||
320 | 355 | | |
321 | 356 | | |
322 | 357 | | |
323 | | - | |
| 358 | + | |
324 | 359 | | |
325 | 360 | | |
326 | 361 | | |
| |||
409 | 444 | | |
410 | 445 | | |
411 | 446 | | |
412 | | - | |
413 | | - | |
414 | | - | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
415 | 453 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
430 | 474 | | |
431 | | - | |
432 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
433 | 497 | | |
434 | | - | |
435 | | - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
436 | 512 | | |
437 | | - | |
| 513 | + | |
| 514 | + | |
438 | 515 | | |
439 | 516 | | |
440 | 517 | | |
| |||
469 | 546 | | |
470 | 547 | | |
471 | 548 | | |
472 | | - | |
473 | 549 | | |
474 | 550 | | |
475 | 551 | | |
476 | 552 | | |
477 | 553 | | |
478 | 554 | | |
479 | 555 | | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
519 | 570 | | |
520 | 571 | | |
521 | 572 | | |
| |||
0 commit comments