64 Commits

Author SHA1 Message Date
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
94d92b814f feat: centralize analytics service test fixtures and correct cache invalidation assertion logic.
Some checks failed
CI / test-python (push) Failing after 22m25s
CI / test-typescript (push) Failing after 5m56s
CI / test-rust (push) Failing after 6m56s
2026-01-25 03:40:19 +00:00
2641a9fc03 optimization
Some checks failed
CI / test-python (push) Failing after 17m22s
CI / test-rust (push) Has been cancelled
CI / test-typescript (push) Has been cancelled
2026-01-25 01:40:14 +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
e8ea0b24d6 refactor: rename request parameter to proto_request in gRPC test methods for improved clarity.
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-24 17:41:32 +00:00
23e8873bc2 fixed ai 2026-01-24 10:40:30 +00:00
d33c421756 huge 2026-01-23 07:45:20 +00:00
073b70cc39 xx 2026-01-22 04:40:05 +00:00
fc7bbd0ea2 xx 2026-01-21 00:49:40 +00:00
a4f148ace0 feat: introduce Claude agent guidelines for code generation and project configuration across various modules.u 2026-01-20 14:31:13 +00:00
e2ca70b553 refactor: simplify ASR processing by removing intermediate dataclasses and directly passing arguments. 2026-01-19 14:11:15 +00:00
87ec99bf12 feat: implement streaming optimization codefixes (11 items)
Audio & Performance:
- Add bytemuck for zero-copy f32→bytes conversion (O(1) cast)
- Client backpressure throttling with THROTTLE_THRESHOLD_MS
- Disable Whisper VAD for streaming (vad_filter=False)
- Cache meeting_db_id in MeetingStreamState to reduce DB overhead
- Adaptive partial cadence multiplier under congestion

Diarization:
- Auto-trigger offline diarization refinement (diarization_auto_refine setting)
- Reduce streaming window: MAX_TURN_AGE 15→5min, MAX_TURN_COUNT 5000→1000

Testing:
- Add 34 audio format conversion tests (test_audio_processing.py)
- Fix pre-existing test failures: path prefixes (_mixins→mixins)
- Fix test_sync_orchestration: error_code vs error_message

Quality:
- All checks pass: basedpyright (0/0/0), quality tests (90+28), grpc (678)
2026-01-19 14:11:15 +00:00
3222826ff7 feat: Implement PyTorch and ROCm ASR engines with GPU detection and enhance calendar OAuth integration across client and server. 2026-01-18 12:47:31 +00:00
1ce24cdf7b feat: reorganize Claude hooks and add RAG documentation structure with error handling policies
- Moved all hookify configuration files from `.claude/` to `.claude/hooks/` subdirectory for better organization
- Added four new blocking hooks to prevent common error handling anti-patterns:
  - `block-broad-exception-handler`: Prevents catching generic `Exception` with only logging
  - `block-datetime-now-fallback`: Blocks returning `datetime.now()` as fallback on parse failures to prevent data corruption
  - `block-default
2026-01-15 15:58:06 +00:00
0c1dbb362f feat: add structured logging for persistence and export operations
- Introduced logging for CRUD operations in repositories to enhance visibility into database interactions.
- Implemented timing logs for BaseRepository and UnitOfWork lifecycle events to track performance.
- Added export logging for size and duration without exposing sensitive content.
- Promoted logging levels for specific operations to improve clarity and reduce noise in logs.
- Established a framework for consistent logging practices across persistence and export functionalities.
2026-01-14 01:18:44 +00:00
1bb6296053 chore: update client submodule to commit e26bf54
- Updated the client submodule reference to the latest commit for improved functionality and integration.
- Refactored test assertions for clarity and consistency across multiple test files.
- Enhanced the handling of device availability checks in audio capture tests.
2026-01-12 18:56:28 +00:00
33b8052874 update 2026-01-09 10:13:50 +00:00
9e688aa02c big push 2026-01-07 02:32:26 +00:00
2c0e017811 x 2026-01-06 10:21:43 +00:00
22bc1cba12 refac 2026-01-06 08:36:55 +00:00
a1bafcf578 big 2026-01-06 08:03:04 +00:00
64b9de0c9c chore: update client submodule and enhance logging functionality
- Updated the client submodule to the latest commit for improved features and stability.
- Enhanced logging capabilities by introducing a new LogEntry structure, including trace context and semantic event types for better observability.
- Updated gRPC proto definitions to accommodate new logging fields, ensuring comprehensive logging data is captured.
- Improved the observability mixin to utilize the new log entry structure, streamlining log retrieval and formatting.
2026-01-05 05:07:10 -05: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
4fceb95438 fix: update types-grpcio dependency version and improve meeting filtering
- Changed the types-grpcio dependency from `>=1.0.0.20251009` to `==1.0.0.20251001` in `pyproject.toml` and `uv.lock` for consistency.
- Enhanced the meeting filtering logic in the `MeetingStore` and related classes to support filtering by multiple project IDs, improving query flexibility.
- Updated the gRPC proto definitions to include a new `project_ids` field for the `ListMeetingsRequest` message, allowing for more granular project filtering.
- Adjusted related repository and mixin classes to accommodate the new filtering capabilities.
2026-01-05 00:38:33 +00:00
c70105f2b8 feat: implement identity management features in gRPC service
- Introduced `IdentityMixin` to manage user identity operations, including `GetCurrentUser`, `ListWorkspaces`, and `SwitchWorkspace`.
- Added corresponding gRPC methods and message definitions in the proto file for identity management.
- Enhanced `AuthService` to support user authentication and token management.
- Updated `OAuthManager` to include rate limiting for authentication attempts and improved error handling.
- Implemented unit tests for the new identity management features to ensure functionality and reliability.
2026-01-04 02:21:04 -05:00
bde264131f refactor: update linting and logging configurations
- Adjusted linting settings in `basedpyright.lint.json` to improve performance metrics.
- Updated `biome.json` to reflect changes in the number of unchanged files.
- Removed outdated sprint documentation files and added new plans for logging centralization and quality suite hardening.
- Enhanced logging functionality across various services to improve observability and error tracking.
- Introduced new test cases for gRPC interceptors and observability mixins to ensure robust error handling and logging.
2026-01-03 23:34:23 +00:00
8fa823e82b refactor: synchronize server address configuration across Python, Rust, and TypeScript
- Updated server address handling to ensure consistent defaults across the codebase, with Python backend binding to `0.0.0.0` and Rust/TypeScript clients using `127.0.0.1`.
- Introduced a new test suite to validate synchronization of server address constants across different languages.
- Enhanced gRPC server configuration to include a bind address setting, improving flexibility in deployment scenarios.
- Removed deprecated methods and streamlined state management for streaming sessions, ensuring better resource handling and cleanup.
2026-01-03 15:16:46 +00:00
827c4ea0d5 feat: enhance OAuth flow to return integration ID and update related tests
- Modified the `complete_oauth` method in `CalendarService` to return a UUID instead of a boolean, providing the server-assigned integration ID for sync operations.
- Updated the `CompleteOAuthResponse` message in the gRPC proto definition to include the new `integration_id` field.
- Adjusted tests to validate the integration ID returned from the OAuth flow, ensuring proper handling in the service and response.
- Updated the Docker Compose configuration to bind the service to all interfaces on port 50051 for improved accessibility.
- Updated the client submodule to the latest commit for compatibility improvements.
2026-01-02 23:29:07 +00:00
dee63933fc feat: introduce new agent rules for code patterns and architecture, and update quality gate baselines and linter configurations. 2026-01-02 22:14:56 +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
c801964b69 chore: add linting and quality check configurations
- Introduced new linting configurations for Basedpyright and ESLint to enhance code quality checks.
- Added a new JSON file for Basedpyright linting results, indicating no errors or warnings.
- Updated existing JSON files to reflect the latest quality checks and diagnostics.
- Enhanced documentation for sprint gaps to summarize completion and resolved issues.

All quality checks pass.
2026-01-02 11:54:44 +00:00
4b12ea2bca refactor: improve type handling and clean up code
- Updated various gRPC mixins and repositories to enhance type handling by directly using appropriate types instead of wrapping them in proto types.
- Introduced utility functions for type conversion in the base repository to streamline code and improve readability.
- Refactored tests to utilize typed protocol definitions for gRPC messages, enhancing type safety and clarity in test cases.
- Cleaned up unnecessary method type stubs in mock classes to reduce clutter and improve maintainability.

All quality checks pass.
2026-01-02 10:58:47 +00:00
15743b05a3 typing 2026-01-02 10:11:45 +00:00
e4b2c733d5 oh boy 2026-01-02 04:22:40 +00:00
520732ce62 feat: implement GetUserIntegrations RPC and enhance integration handling
- Added GetUserIntegrations RPC to facilitate integration cache validation, allowing clients to retrieve all integrations for the current user/workspace.
- Implemented list_all method in integration repositories to return all integrations, improving data access.
- Updated error handling to ensure proper NOT_FOUND status for non-existent integrations.
- Enhanced test coverage for new functionality, ensuring robust validation of integration retrieval and error scenarios.

All quality checks pass.
2026-01-01 22:20:25 +00:00
8df1aa0c03 chore: update submodule and refine logging configuration
- Updated the client submodule to the latest commit for improved compatibility.
- Adjusted logging configuration in tests to utilize a more consistent format.
- Enhanced test assertions for clarity by removing unnecessary messages and ensuring consistency across various test files.

All quality checks pass.
2026-01-01 21:03:09 +00:00
61a4e69042 chore: update submodule and improve HTML export functionality
- Updated the client submodule to the latest commit for enhanced compatibility.
- Refactored HTML export logic to utilize a dedicated function for building HTML documents, improving code clarity and maintainability.
- Enhanced test assertions across various files to include descriptive messages, aiding in debugging and understanding test failures.

All quality checks pass.
2026-01-01 02:47:18 +00:00
59915f97f1 chore: update submodule and enhance test assertions
- Updated the client submodule to the latest commit for improved compatibility.
- Enhanced test assertions across various files to include descriptive messages, improving clarity and maintainability.
- Refactored tests to ensure all assertions provide context for expected outcomes, aiding in debugging.

All quality checks pass.
2025-12-31 17:56:33 +00:00
b74c6c3742 refactor: enhance test assertions for clarity and consistency
- Updated assertions in various test files to include descriptive messages, improving readability and maintainability.
- Ensured that all assertions provide context for expected outcomes, aiding in debugging and understanding test failures.
- Refactored tests across multiple modules, including annotation, consent, and summarization, to enhance overall test quality.

All quality checks pass.
2025-12-31 17:38:07 +00:00
183d094eb6 chore: update logging configuration and enhance client integration
- Updated the client submodule to the latest commit for improved compatibility.
- Added new logging settings to the configuration, allowing for customizable log levels and formats.
- Enhanced the docker-compose file by introducing a new environment variable for log format.
- Improved logging setup in the gRPC server to utilize the new configuration.

All quality checks pass.
2025-12-31 17:01:02 +00:00
96ed391a7c chore: update logging configuration and enhance project structure
- Added new logging configuration to improve observability across various services.
- Introduced a `.repomixignore` file to exclude unnecessary files from version control.
- Updated `pyproject.toml` to include additional paths for script discovery.
- Refreshed submodule references for the client to ensure compatibility with recent changes.

All quality checks pass.
2025-12-31 15:23:57 +00:00
49354b80e9 feat: enhance project management and observability features
- Updated client submodule to the latest commit for improved integration.
- Added `types-psutil` as a dependency in `pyproject.toml` to support type checking for the `psutil` library.
- Enhanced observability by refining the `UsageEventSink` interface to include additional attributes for better event tracking.
- Improved project management documentation to reflect recent changes in project roles and settings.

All quality checks pass.
2025-12-31 04:51:39 +00:00
15da71a2dd feat: implement OIDC provider management and discovery features
- Introduced OIDC provider management capabilities, including registration, retrieval, updating, and deletion of providers.
- Added support for OIDC discovery, allowing dynamic fetching of provider configurations from `.well-known/openid-configuration` endpoints.
- Created domain entities for OIDC configuration, including `ClaimMapping`, `OidcProviderConfig`, and presets for common identity providers.
- Implemented gRPC endpoints for OIDC provider management and discovery operations.
- Enhanced tests for OIDC domain entities and gRPC mixins to ensure comprehensive coverage.

All quality checks pass.
2025-12-30 17:32:21 +00:00
3ea82ee868 feat: implement observability features and enhance error handling
- Added observability support with OpenTelemetry integration, including usage event tracking and logging enhancements.
- Introduced new `UsageEvent` and `UsageEventSink` abstractions for analytics and billing.
- Implemented `BufferedDatabaseUsageEventSink` for efficient event storage and retrieval.
- Enhanced error handling with a centralized domain error taxonomy, improving consistency across the application.
- Updated dependencies in `pyproject.toml` to include OpenTelemetry packages.

All quality checks pass.
2025-12-30 11:20:06 +00:00
3eaf9c98a8 chore: update dependencies and enhance logging
- Added `rich` library as a dependency for improved console output formatting.
- Updated `pyproject.toml` and `uv.lock` to include the new dependency.
- Enhanced logging in various services to provide clearer error handling and status updates.

All quality checks pass.
2025-12-30 09:34:06 +00:00
5632b00b12 chore: update client submodule and refactor gRPC server initialization
- Updated client submodule reference to indicate a dirty state.
- Refactored gRPC server initialization to streamline service creation, including calendar and NER services.
- Enhanced logging and comments for clarity on service setup and configuration.
- Removed unused imports and commented-out code to improve code cleanliness.

All quality checks pass.
2025-12-30 00:55:46 -05:00
df7c06198f Add pytest-benchmark for performance testing and optimize audio processing
- Introduced `pytest-benchmark` dependency for performance testing of critical code paths.
- Added a new `PartialAudioBuffer` class to optimize audio chunk handling, reducing memory allocations and improving efficiency.
- Implemented benchmark tests for audio processing, validating performance improvements and establishing baselines.
- Enhanced the `Segmenter` class to utilize cached sample counts for faster duration calculations.
- Updated gRPC service to leverage consolidated streaming state, reducing multiple dictionary lookups to a single access.

All quality checks pass.
2025-12-30 00:26:41 +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
2d1a86937f Enhance observability and usage event infrastructure
- Introduced `UsageEventSink` interface for capturing application-layer usage events.
- Updated `OtelUsageEventSink` to attach span events and emit usage events from application services.
- Enhanced logging by injecting `trace_id` and `span_id` into LogBuffer entries.
- Implemented metadata persistence for `Summary.tokens_used` and `Summary.latency_ms` before saving.
- Updated documentation to reflect changes in observability components and planned features for Sprint 15.

All quality checks pass.
2025-12-29 21:07:47 +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