-
Notifications
You must be signed in to change notification settings - Fork 518
Release 20251211 #1812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 20251211 #1812
Conversation
The NodeSDK's traceExporter option doesn't work when spanProcessors is also provided - it gets ignored. Fix by explicitly wrapping the OTLP exporter in a BatchSpanProcessor and adding it to the processors array. This ensures traces are properly batched and sent to Tempo/Grafana. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: HanYuanxi <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
fix: more frequency Co-authored-by: HanYuanxi <[email protected]>
* feat: remove browser use toolset references from agent-tools * feat: remove Product Hunt toolset references and clean up related files
#1795) * feat: Pass decoded buffer to drive service for file creation and update drive service skip condition. * feat: Implement API and logic to create default resource files for empty resource variables during copilot autogeneration and update sitemap dates.
* feat: add OTLP metrics exporter for Prometheus integration Add support for exporting OpenTelemetry metrics to OTEL Collector which forwards them to Prometheus. This enables: - Application-level custom metrics - Auto-instrumentation metrics (HTTP, runtime, etc.) New environment variable: - OTLP_METRICS_ENDPOINT: endpoint for metrics export (e.g., http://otel-collector:4318) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * feat: refactor OTLP config to use full URLs and add missing env vars - Change OTLP_TRACES_ENDPOINT to OTLP_TRACES_URL (full URL with path) - Change OTLP_METRICS_ENDPOINT to OTLP_METRICS_URL (full URL with path) - Add OTLP_METRICS_INTERVAL_MS for configurable export interval - Add SENTRY_DSN and STATSIG_SECRET_KEY to .env.example 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: HanYuanxi <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
- Add copilot as a new model scene type - Add DEFAULT_MODEL_COPILOT environment variable (it should be 'auto') - Refactor auto-model routing logic for better configuration handling - Enhance auto model routing capability for copilot scene
- Increased the maximum allowed file size for cover images from 5MB to 30MB in both English and Chinese translations. - Updated the corresponding error message to reflect the new file size limit. - Ensured compliance with coding standards and best practices.
- Updated package.json to include @langchain/google-vertexai dependency. - Enhanced getChatModel function to support Vertex AI model configuration with optional parameters for max output tokens and reasoning capabilities. - Ensured compliance with coding standards, including optional chaining and nullish coalescing for safer property access.
* refactor: optimize copy-paste functionality for skillResponse nodes - Updated handleCopy to write selected skillResponse nodes to the clipboard as JSON, improving data handling. - Enhanced handlePaste to read from the clipboard and safely parse JSON, ensuring only valid skillResponse nodes are processed. - Removed unnecessary state management for copied nodes, streamlining the component. - Implemented safeJsonParse for robust JSON parsing with error handling. - Ensured compliance with coding standards, including optional chaining and nullish coalescing for safer property access. * refactor: update drag-and-drop functionality and improve component structure - Removed unused DropOverlay from Flow component to streamline rendering. - Adjusted icon order in ReasoningContentPreview component for better UX consistency. - Modified useDragDropPaste hook to handle all file types instead of just images, enhancing flexibility. - Added useEffect in ToolCall component to manage collapse state based on tool call status, improving user experience. - Ensured compliance with coding standards, including optional chaining and nullish coalescing for safer property access. * refactor: improve styling and conditional rendering in ReasoningContentPreview and AIMessageCard components - Updated className in ReasoningContentPreview to conditionally apply styles based on execution state, enhancing visual feedback. - Modified className in AIMessageCard to conditionally render margin based on content presence, improving layout consistency. - Ensured compliance with coding standards, including the use of optional chaining and nullish coalescing for safer property access. * refactor: remove unused hover effect and optimize mouse event handling in MemoNode component - Eliminated the unused useNodeHoverEffect hook to streamline the MemoNode component. - Updated mouse event handlers to remove dependencies on hover effects, improving performance and reducing unnecessary re-renders. - Ensured compliance with coding standards, including the use of optional chaining and nullish coalescing for safer property access. * refactor: enhance rich text input configuration and optimize extensions - Introduced a minimalStarterKit to configure the rich text editor, disabling all rich text formatting options to support only plain text and mentions. - Updated the extensions array to include the new minimalStarterKit, improving the editor's performance and functionality. - Ensured compliance with coding standards, including the use of useMemo for performance optimization and proper dependency management.
* refactor: enhance copy-paste functionality with utility integration
- Introduced a utility function for clipboard operations to improve compatibility and error handling when copying and pasting skillResponse nodes.
- Updated handlePaste to accept clipboard data as a parameter, ensuring better control over clipboard interactions.
- Implemented error handling for clipboard read permissions, enhancing user experience and robustness.
- Adjusted fixed offset for pasted nodes to {x: 0, y: 200} for improved positioning.
- Ensured compliance with coding standards, including optional chaining and nullish coalescing for safer property access.
* refactor: streamline image file handling in chat input components
- Simplified the logic for collecting image files from drag-and-drop items by removing unnecessary type checks.
- Ensured compliance with coding standards, including the use of optional chaining and nullish coalescing for safer property access.
* feat: enhance clipboard error handling with user-friendly messages
- Integrated Ant Design's message component to provide user feedback for clipboard permission errors and read failures.
- Added translations for clipboard-related messages in both English and Chinese.
- Ensured compliance with coding standards, including the use of optional chaining and nullish coalescing for safer property access.
WIP[0]: feat: add http.route to OpenTelemetry HTTP metrics - Add HttpRouteInterceptor to set rpcMetadata.route for normal requests - Add route setting in GlobalExceptionFilter for Guard exceptions (401) - Add @opentelemetry/core dependency for getRPCMetadata API - Add OTEL Collector config for local metrics verification 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: HanYuanxi <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
This commit fixes critical issues causing node CPU exhaustion (94-101%) in production Kubernetes cluster. Root causes addressed: - Workflows with failed/stuck nodes continued polling indefinitely - No timeout mechanism for workflow or node execution - Database UPDATE storm (every 1.5s regardless of changes) - Race conditions from multiple pods polling same execution Key changes to pollWorkflow(): 1. Added distributed locking (5s TTL) to prevent duplicate polls across pods 2. Early exit for terminal workflow states (failed/finish) - stops infinite polling 3. Workflow execution timeout (30 min) - auto-fails stuck workflows 4. Node execution timeout (10 min) - auto-fails stuck nodes 5. Conditional DB updates - only updates when status/counts change 6. Comprehensive error logging for timeout events Expected impact: - Reduce CPU usage from 94-101% to <80% - Eliminate 90%+ unnecessary database updates - Stop infinite polling loops immediately - Prevent pod restarts from resource exhaustion Related to k8s-cpu-investigation-report.md findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Tip
Close issue syntax:
Fixes #<issue number>orResolves #<issue number>, see documentation for more details.Impact Areas
Please check the areas this PR affects:
Screenshots/Videos
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint gods