Commit graph

3935 commits

Author SHA1 Message Date
Anish Sarkar
f52090391a feat: Add testing documentation and update meta.json 2026-02-25 17:54:03 +05:30
Anish Sarkar
03d8788241 chore: Enhance pytest configuration and add custom markers in pyproject.toml 2026-02-25 17:51:33 +05:30
Anish Sarkar
d350f47ee7 chore: Update pytest configuration in pyproject.toml to enhance test output
- Added command-line options to pytest configuration for verbose output, short tracebacks, and duration reporting of the slowest tests.
2026-02-25 17:34:49 +05:30
Anish Sarkar
4ff712578d refactor: Enhance test utilities for document upload by integrating search space handling
- Updated test fixtures to include search space ID retrieval for improved document upload tests.
- Refactored authentication and document upload functions to accept search space ID as a parameter.
- Removed hardcoded search space ID references to streamline test configurations.
2026-02-25 17:29:09 +05:30
CREDO23
ca870cf660 add fallback document sumary 2026-02-25 13:47:36 +02:00
Anish Sarkar
41eb68663a feat: Add end-to-end tests for document upload pipeline and shared test utilities
- Introduced new test files for end-to-end testing of document uploads, including support for .txt, .md, and .pdf formats.
- Created shared fixtures and helper functions for authentication, document management, and cleanup.
- Added sample documents for testing purposes.
- Established a conftest.py file to provide reusable fixtures across test modules.
2026-02-25 16:39:45 +05:30
CREDO23
36d1fba75f fix: isolate per-document errors in prepare_for_indexing 2026-02-25 13:00:34 +02:00
Anish Sarkar
b7447b26f9 Refactor dependency management in pyproject.toml and uv.lock to include testing libraries and update pytest configuration 2026-02-25 16:06:16 +05:30
Anish Sarkar
d576e93f2a Update dependencies in pyproject.toml and uv.lock for testing and package management 2026-02-25 15:36:29 +05:30
CREDO23
e6b7ce7345 fix: handle IntegrityError in prepare_for_indexing and add within-batch content dedup test 2026-02-25 12:03:00 +02:00
Rohan Verma
80be9f26c4
Merge pull request #835 from MODSetter/codesandbox_integration
feat: codesandbox(daytona) integration
2026-02-25 01:59:20 -08:00
DESKTOP-RTLN3BA\$punk
96595d3ff7 refactor: remove security notes from system prompt
- Eliminated the security notes section from the code execution system prompt to streamline the instructions and focus on user guidance.
2026-02-25 01:56:16 -08:00
DESKTOP-RTLN3BA\$punk
e574a7c38b feat: update .env.example for Daytona sandbox integration
- Removed Uvicorn server configuration options.
- Added new agent-specific configuration for Daytona sandbox, including API key and URL settings.
2026-02-25 01:54:24 -08:00
DESKTOP-RTLN3BA\$punk
d198c8b89d chore; linting 2026-02-25 01:50:28 -08:00
DESKTOP-RTLN3BA\$punk
70686a1eb2 feat: enhance code execution system prompt
- Added detailed instructions for prioritizing code execution over text responses in specific scenarios, such as data visualization and file generation.
- Included examples to illustrate correct and incorrect approaches to handling user requests involving code execution.
- Emphasized the importance of printing file paths for user downloads and clarified the handling of sandbox-generated files.
2026-02-25 01:48:54 -08:00
DESKTOP-RTLN3BA\$punk
d570cae3c6 feat: added file handling for daytona sandboxes
- Added _TimeoutAwareSandbox class to handle per-command timeouts in DaytonaSandbox.
- Updated _find_or_create function to manage sandbox states and restart stopped/archived sandboxes.
- Enhanced get_or_create_sandbox to return the new sandbox class.
- Introduced file download functionality in the frontend, allowing users to download generated files from the sandbox.
- Updated system prompt to include guidelines for sharing generated files.
2026-02-25 01:36:30 -08:00
CREDO23
1b4ed35de3 fix: correct test fixtures and add missing summarizer tests 2026-02-25 11:15:48 +02:00
CREDO23
c5ae62140d fix: rescue stuck documents with unchanged content on next indexing run 2026-02-25 11:13:25 +02:00
DESKTOP-RTLN3BA\$punk
a6563f396a chore: moved to daytona due to lack of windows support in microsandbox 2026-02-25 00:38:27 -08:00
DESKTOP-RTLN3BA\$punk
421bb29466 chore: update microsandbox command to bind to all interfaces and add compatibility shims for missing types 2026-02-24 23:53:03 -08:00
Anish Sarkar
d7a548622d chore: pinning version for electricsql in both docker-compose files; edit .env.example 2026-02-25 13:00:05 +05:30
DESKTOP-RTLN3BA\$punk
8095cec37e refactor: enable microsandbox service in docker-compose with updated installation commands and healthcheck 2026-02-24 23:26:31 -08:00
CREDO23
0363cb9c17 fix: updated_at on title change, LLM fallback, stale chunks deleted on re-index 2026-02-25 08:40:13 +02:00
CREDO23
af22fa7c88 refactor: remove redundant and low-value tests, enforce connector_id and created_by_id constraints 2026-02-25 08:29:53 +02:00
DESKTOP-RTLN3BA\$punk
2869d3a9c8 Merge commit 'd0ee8b12b6' into codesandbox_integration 2026-02-24 16:38:09 -08:00
DESKTOP-RTLN3BA\$punk
c007f0e056 feat: unut codesandbox integration 2026-02-24 16:36:11 -08:00
Rohan Verma
d0ee8b12b6
Merge pull request #834 from CREDO23/google-drive-hitl
[Feature] Add human in the loop for google drive sensitive actions (create:docs,sheets & delete)
2026-02-24 16:34:25 -08:00
CREDO23
5b616eac5a fix: plug all gaps found in deep review of indexing pipeline 2026-02-25 02:20:44 +02:00
CREDO23
46c7ccd70b rename test_index.py to test_index_document.py 2026-02-25 01:43:21 +02:00
CREDO23
61e50834e6 feat: implement and test index method 2026-02-25 01:40:30 +02:00
CREDO23
497ed681d5 feat: implement and test index happy path 2026-02-25 00:30:11 +02:00
Anish Sarkar
2e0f75203e chore: correct file path for Electric SQL user initialization script in Docker deployment documentation 2026-02-25 03:56:32 +05:30
Anish Sarkar
c216c5bb7a chore: refactor Docker build arguments for web image to separate environment variable definitions 2026-02-25 03:51:48 +05:30
CREDO23
579a9e2cb5 feat: implement and test prepare_for_indexing 2026-02-25 00:06:34 +02:00
Anish Sarkar
d39951e4ea chore: update docker-compose image; init-electric-user.sh is now executable bit in Git 2026-02-25 03:28:53 +05:30
CREDO23
a0134a5830 test: add document hashing unit tests and clean up conftest mocks 2026-02-24 22:48:40 +02:00
Anish Sarkar
d5be5c65b8 chore: update docker compose 2026-02-25 02:07:53 +05:30
CREDO23
d5e10bd8f9 test: add ConnectorDocument unit tests and factory fixture 2026-02-24 22:20:08 +02:00
Anish Sarkar
0a231ff5ad chore: update installation script to create a nested scripts directory and adjust file paths for initialization script 2026-02-25 00:26:00 +05:30
Anish Sarkar
2958d1c06a chore: update Docker configuration to rename frontend to web, adjust environment variable references for database and Redis connections 2026-02-25 00:15:29 +05:30
Anish Sarkar
211309f3ac chore: update Docker environment variables for database configuration and improve security defaults 2026-02-24 23:41:22 +05:30
Anish Sarkar
1ce446ed27 feat: add Celery worker and beat services to Docker configuration, update service roles 2026-02-24 23:07:07 +05:30
Anish Sarkar
68be0d8675 chore: remove legacy Docker configuration files and initialization scripts for SurfSense 2026-02-24 23:01:38 +05:30
Anish Sarkar
ce1f8c872f feat: add Docker configuration files and installation script for SurfSense 2026-02-24 22:45:37 +05:30
CREDO23
10a6ba6924 test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
CREDO23
a57fc1e578 fix warning card to surface success message alongside kb deletion failure 2026-02-24 13:51:03 +02:00
CREDO23
2b3c5e377f fix create file card showing stale args after approval 2026-02-24 13:50:12 +02:00
CREDO23
30ab464ba7 fix reauth error handling and stale log messages 2026-02-24 13:33:47 +02:00
CREDO23
45b784cda6 update ui text for delete google drive file 2026-02-24 13:20:25 +02:00
CREDO23
e89b68520a rename trash_google_drive_file to delete_google_drive_file 2026-02-24 13:18:39 +02:00