Commit Graph

22 Commits

Author SHA1 Message Date
301482c410 Refactor: Improve CI workflow robustness and test environment variable management, and enable parallel quality test execution.
Some checks failed
CI / test-python (push) Successful in 8m41s
CI / test-typescript (push) Failing after 6m2s
CI / test-rust (push) Failing after 4m28s
2026-01-26 02:04:38 +00:00
d8090a98e8 ci/cd fixes
Some checks failed
CI / test-typescript (push) Has been cancelled
CI / test-rust (push) Has been cancelled
CI / test-python (push) Has been cancelled
2026-01-26 00:28:15 +00:00
b11633192a deps
Some checks failed
CI / test-python (push) Failing after 22m14s
CI / test-rust (push) Has been cancelled
CI / test-typescript (push) Has been cancelled
2026-01-24 21:31:58 +00:00
073b70cc39 xx 2026-01-22 04:40:05 +00:00
c9cb17d9a3 chore: update client submodule and improve linting results
- Updated the client submodule to the latest commit for enhanced features and stability.
- Cleared previous linting errors, resulting in zero errors and warnings in the linting reports.
- Added a new documentation file outlining cross-stack wiring gaps and implementation checklists for gRPC RPCs.
2026-01-05 04:15:38 +00:00
ba71cd4ffc feat: add webhook delivery metrics to track success, duration, and attempts with new tests. 2026-01-02 20:40:38 +00:00
15743b05a3 typing 2026-01-02 10:11:45 +00:00
e4b2c733d5 oh boy 2026-01-02 04:22:40 +00:00
5ed7c377a2 chore: reorganize constants and enhance test quality checks
- Refactored constants into domain-specific modules for better organization and maintainability.
- Introduced new test smell collectors to improve test quality enforcement.
- Updated test fixtures to utilize centralized constants, enhancing consistency across tests.
- Added rules to block modifications in protected directories to safeguard test infrastructure.

All quality checks pass.
2025-12-31 16:30:28 +00:00
cf60ef266e chore: update client submodule and refactor calendar settings
- Updated client submodule reference to the latest commit.
- Refactored calendar settings to distinguish between integration and trigger settings, renaming `CalendarSettings` to `CalendarIntegrationSettings` and introducing `CalendarTriggerSettings`.
- Enhanced asset deletion logic in `MeetingService` to utilize the correct asset path.
- Updated tests to reflect changes in calendar settings and asset management.

All quality checks pass.
2025-12-30 03:52:56 +00:00
380414378d chore: update client submodule and enhance test fixture functionality
- Updated client submodule reference to the latest commit.
- Added asyncio import for improved asynchronous handling in tests.
- Refactored mock implementations in `conftest.py` to use `__dict__` for better clarity and consistency.
- Updated the `memory_servicer` fixture to return `NoteFlowServicer` type for improved type safety in tests.

All quality checks pass.
2025-12-30 01:30:48 +00:00
7292f0fc29 Update gRPC service and audio management for improved resource handling
- Mark cancelled diarization jobs as failed during servicer shutdown to ensure proper state management.
- Increase timeout for audio flush thread shutdown to 3 seconds for graceful resource cleanup.
- Explicitly release pipeline references in diarization sessions to facilitate garbage collection and GPU memory release.
- Enhance webhook executor to include timeout handling during HTTP client closure, preventing hangs on slow connections.
- Introduce a memory-based servicer fixture for faster unit testing of concurrency and state management.

All quality checks pass.
2025-12-29 23:28:35 +00:00
0c920b76bf Enhance asset management and retention services
- Introduced a new `AssetRepository` interface for managing binary assets, including a `FileSystemAssetRepository` implementation for deleting meeting assets.
- Updated the `RetentionService` and `MeetingService` to utilize the new asset management functionality, ensuring proper cleanup of associated assets during meeting deletions.
- Added versioning to the `Meeting` entity to handle concurrent modifications.
- Updated unit and integration tests to cover new asset management features and ensure robust functionality.

All quality checks pass.
2025-12-29 18:30:08 +00:00
f3fc8bfcb8 Implement Preferences Sync functionality and update roadmap
- Introduced gRPC endpoints for user preferences synchronization: GetPreferences and SetPreferences.
- Completed implementation of preferences sync infrastructure, including ETag conflict detection and handling.
- Updated roadmap to reflect the completion status of Sprint 14: Preferences Sync.
- Enhanced documentation for preferences sync, including detailed descriptions of request and response messages.
- Added comprehensive tests for PreferencesMixin, covering retrieval, updates, and conflict resolution scenarios.

All quality checks pass.
2025-12-29 08:53:30 -05:00
246fd0553d Add OAuth configuration parameters for calendar integration
- Introduced new settings for OAuthManager and calendar settings, including redirect URI, sync hours ahead, max events, and sync interval minutes.
- Updated tests to reflect these new parameters, ensuring consistency across the integration and unit tests.

All quality checks pass.
2025-12-29 01:22:27 +00:00
e4b00c2f0e Update client submodule reference to indicate a dirty state, reflecting uncommitted changes. 2025-12-26 21:50:17 -05:00
d658d60241 Update dependencies and enhance calendar integration features
- Updated `pyproject.toml` to include `authlib` as a dependency for OAuth integration.
- Modified `uv.lock` to reflect the addition of `authlib` and its versioning.
- Updated documentation to clarify existing components and their statuses in the calendar sync and webhook integration sprints.
- Refactored various methods and properties for improved clarity and consistency in the meeting and export services.
- Enhanced test coverage for export functionality, including assertions for PDF format.
- Updated client submodule reference to ensure alignment with the latest changes.
2025-12-26 18:18:06 -05:00
5df60507ea Refactor gRPC client architecture and add code quality testing
Backend:
- Extract gRPC client into modular mixins (_client_mixins/)
- Add StreamingSession class for audio streaming lifecycle
- Add gRPC config and type modules
- Fix test smells across test suite

Frontend (submodule update):
- Fix code quality issues and eliminate lint warnings
- Centralize CSS class constants
- Extract Settings.tsx sections into components
- Add code quality test suite

Quality:
- Add tests/quality/ suite for code smell detection
- Add QA report and correction plan documentation
2025-12-24 17:41:01 +00:00
cc9a7df54d Update Docker configuration, enhance dependencies, and improve migration handling
- Added environment file support and a command for the server in `compose.yaml`.
- Updated the database image in `compose.yaml` to use `pgvector/pgvector:pg15`.
- Modified `pyproject.toml` to include additional dependencies for enhanced functionality.
- Updated `uv.lock` to reflect new package versions and added new packages for improved features.
- Enhanced migration scripts to ensure the `noteflow` schema exists before running migrations.
- Improved error handling in the `OllamaSummarizer` to include a new exception type.
- Refactored the `calendar` trigger to streamline imports and improve code clarity.
- Added module-level mocks in test configurations to handle missing dependencies gracefully.
2025-12-20 16:49:47 -05:00
a1fc7edeea Enhance recovery and summarization services with asset path management
- Added `asset_path` to the `Meeting` entity for audio asset storage.
- Implemented `AudioValidationResult` for audio integrity checks during recovery.
- Updated `RecoveryService` to validate audio file integrity for crashed meetings.
- Enhanced `SummarizationService` to include consent persistence callbacks.
- Introduced new database migrations for `diarization_jobs` and `user_preferences` tables.
- Refactored various components to support the new asset path and audio validation features.
- Improved documentation in `CLAUDE.md` to reflect changes in recovery and summarization functionalities.
2025-12-19 10:40:21 +00:00
b333ea5b23 Add initial Docker and development environment setup
- Created .dockerignore to exclude unnecessary files from Docker builds.
- Added .repomixignore for managing ignored patterns in Repomix.
- Introduced Dockerfile.dev for development environment setup with Python 3.12.
- Configured docker-compose.yaml to define services, including a PostgreSQL database.
- Established a devcontainer.json for Visual Studio Code integration.
- Implemented postCreate.sh for automatic dependency installation in the dev container.
- Added constants.py to centralize configuration constants for the project.
- Updated pyproject.toml to include new development dependencies.
- Created initial documentation files for project overview and style conventions.
- Added tests for new functionalities to ensure reliability and correctness.
2025-12-19 05:02:16 +00:00
54b4d35bf8 Add summarization and trigger services
- Introduced `SummarizationService` and `TriggerService` to orchestrate summarization and trigger detection functionalities.
- Added new modules for summarization, including citation verification and cloud-based summarization providers.
- Implemented trigger detection based on audio activity and foreground application status.
- Updated configuration settings to support trigger functionalities.
- Created tests for summarization and trigger services to ensure reliability and correctness.
- Added documentation in `CLAUDE.md` for guidance on using the new services.
2025-12-18 03:18:26 +00:00