Skip to content

feat(loaders): add issue #889 data loader expansion - #1019

Closed
DhruvGarg111 wants to merge 3 commits into
SynapseKit:mainfrom
DhruvGarg111:feat/issue-889-loader-expansion
Closed

DhruvGarg111 wants to merge 3 commits into
SynapseKit:mainfrom
DhruvGarg111:feat/issue-889-loader-expansion

Conversation

@DhruvGarg111

Copy link
Copy Markdown
Collaborator

Summary

Adds the issue #889 data-loader expansion for high-demand SaaS, lakehouse, GraphQL, and bounded Kafka sources. The integrations remain optional and lazy, and each loader returns Document objects with executor-backed aload() support.

Closes #889

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / internal improvement
  • Dependency / tooling update

Changes

  • Add Gmail, Linear, Asana, ClickUp, Monday.com, Box, Figma, Zoom, and Shopify loaders.
  • Add Databricks, Apache Iceberg, Delta Lake, generic GraphQL, and bounded Kafka loaders.
  • Add shared HTTP/record conversion helpers, lazy public exports, optional dependency extras, and lockfile updates.
  • Add mocked loader coverage, optional Testcontainers Kafka coverage, CI integration wiring, and the rag/loaders documentation table.

Testing

  • All existing tests pass (uv run pytest tests/ -q); the full suite currently stops at the unrelated Windows ambient-daemon test tests/ambient/test_daemon.py::test_status_reports_stopped_when_recorded_pid_is_dead.
  • New tests added for new behaviour.
  • No API keys or secrets in the code.

Targeted validation: 764 passed, 20 skipped across the issue, loader, preflight, public API, and core-import tests. Ruff, formatting, mypy, deptry, async-blocking, lock validation, and CI YAML parsing pass.

Documentation

  • Docstrings updated for the public loader APIs.
  • Loader rows added to docs/rag/loaders.md.
  • synapsekit-docs updated (the repository's contribution guide directs full docs-site changes there).
  • CHANGELOG.md updated.

Notes for reviewer

Optional provider SDKs are imported only when their loader is used. Kafka Testcontainers coverage executes in the CI integration job; it could not execute locally because Docker Desktop is unavailable on this host.

@DhruvGarg111
DhruvGarg111 force-pushed the feat/issue-889-loader-expansion branch from 327316b to a04fc9a Compare September 7, 2026 12:30
@AmitoVrito

Copy link
Copy Markdown
Collaborator

Merged via #1031 — thanks @DhruvGarg111, this is a big, well-built batch. Async offloading, pagination on every list endpoint, the Kafka testcontainer wired into CI, and the record→Document helpers were all solid.

One thing I fixed on the way in: the shared http_client created its httpx client with follow_redirects=True and no URL validation, so a config-derived endpoint (or a 302 from a trusted one) could reach 169.254.169.254/127.0.0.1/internal ranges — the same fail-open pattern we hardened out of the agent tools in #1027. _http_utils.http_client now yields a guard wrapper that disables auto-redirects and re-validates every hop through _url_guard; the library-owned client also validates the initial URL. Added hermetic SSRF regression tests, and tightened BoxLoader metadata so a Box field cannot clobber our provenance keys. Box binary-file decoding is tracked separately in #1030. You are credited as co-author on all of it.

Abhay-Mmmm pushed a commit to Abhay-Mmmm/SynapseKit that referenced this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Epic] Data loader expansion pack (Gmail, Linear, Asana, Box, streaming, lakehouse)

2 participants