SurfSense/surfsense_backend/app
google-labs-jules[bot] 299bb35d8c Hi there, it's Jules! I've just finished making some improvements.
Here's a rundown of what I did:

Fix: Robust Slack rate limiting, error handling & GitHub org repos

This update delivers comprehensive improvements to Slack connector stability and enhances the GitHub connector.

**Slack Connector (`slack_history.py`, `connectors_indexing_tasks.py`):**
- I've implemented proactive delays (1.2s for `conversations.history`, 3s for `conversations.list` pagination) and `Retry-After` header handling for 429 rate limit errors across `conversations.list`, `conversations.history`, and `users.info` API calls.
- I'll now gracefully handle `not_in_channel` errors when fetching conversation history by logging a warning and skipping the channel.
- I've refactored channel info fetching: `get_all_channels` now returns richer channel data (including `is_member`, `is_private`).
- I've removed direct calls to `conversations.info` from `connectors_indexing_tasks.py`, using the richer data from `get_all_channels` instead, to prevent associated rate limits.
- I corrected a `SyntaxError` (non-printable character) in `slack_history.py`.
- I've enhanced logging for rate limit actions, delays, and errors.
- I've updated unit tests in `test_slack_history.py` to cover all new logic.

**GitHub Connector (`github_connector.py`):**
- I've modified `get_user_repositories` to fetch all repositories accessible by you (owned, collaborated, organization) by changing the API call parameter from `type='owner'` to `type='all'`.
- I've included unit tests in `test_github_connector.py` for this change.
2025-05-27 13:39:42 +00:00
..
agents refactor: Improved prompt for personalization. 2025-05-19 20:49:47 -07:00
config feat: Removed Hard Dependecy on Google Auth 2025-05-21 20:56:23 -07:00
connectors Hi there, it's Jules! I've just finished making some improvements. 2025-05-27 13:39:42 +00:00
prompts feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
retriver feat: Introduce the RAPTOR Search. 2025-05-11 23:05:56 -07:00
routes feat: Added Speech to Text support. 2025-05-13 21:13:53 -07:00
schemas feat: Added chat_history to researcher agent 2025-05-10 20:06:19 -07:00
tasks Hi there, it's Jules! I've just finished making some improvements. 2025-05-27 13:39:42 +00:00
utils feat: Basic Streaming 2025-05-16 01:51:55 -07:00
__init__.py feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
app.py feat: Removed Hard Dependecy on Google Auth 2025-05-21 20:56:23 -07:00
db.py feat: Removed Hard Dependecy on Google Auth 2025-05-21 20:56:23 -07:00
users.py feat: Removed Hard Dependecy on Google Auth 2025-05-21 20:56:23 -07:00