Merged
Conversation
Contributor
TestGru AssignmentSummary
Tip You can |
Preview mcp_server Image: |
Preview sandbox Image: |
Docs Preview:🚀 FastGPT Document Preview Ready! |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR focuses on performance optimization and logging improvements. The main changes include upgrading Next.js from version 14.2.32 to 14.2.35, enhancing logging output with better formatting and structure, optimizing markdown text processing to avoid duplicate operations, and improving database query performance through targeted index modifications.
Key Changes:
- Upgraded Next.js framework from 14.2.32 to 14.2.35 across all packages
- Enhanced logging with structured error messages and consistent tagging for better observability
- Optimized markdown processing by eliminating duplicate
simpleMarkdownTextcalls - Added database indexes for admin queries and removed unused admin charts index
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| projects/app/package.json | Updated Next.js dependency to 14.2.35 |
| packages/web/package.json | Updated Next.js dependency to 14.2.35 |
| packages/service/package.json | Updated Next.js dependency to 14.2.35 |
| packages/global/package.json | Updated Next.js dependency to 14.2.35 |
| pnpm-lock.yaml | Lockfile updates reflecting Next.js version upgrade and dependency resolution |
| packages/service/worker/htmlStr2Md/utils.ts | Applied simpleMarkdownText in worker layer to avoid duplicate processing |
| packages/service/common/string/utils.ts | Removed duplicate simpleMarkdownText call, now handled in worker |
| packages/service/core/chat/chatSchema.ts | Added index on createTime for admin chat data queries |
| packages/service/core/chat/chatItemSchema.ts | Removed unused admin charts index |
| packages/service/core/app/logs/chatLogsSchema.ts | Added index on createTime for admin chat log queries |
| packages/service/core/ai/rerank/index.ts | Improved rerank error messages with consistent [Rerank] tagging |
| packages/service/core/ai/embedding/index.ts | Enhanced embedding error logging with structured data and consistent [Embedding] tagging |
| packages/service/common/system/log.ts | Enhanced error logging to capture error.data field |
| packages/service/common/api/frequencyLimit.ts | Simplified rate limit logging with structured data |
| document/content/docs/upgrading/4-14/4145.mdx | Added version 4.14.5 upgrade documentation |
| document/content/docs/upgrading/4-14/meta.json | Added 4145 to documentation pages list |
| document/content/docs/toc.mdx | Added 4145 documentation link |
| document/data/doc-last-modified.json | Updated last modified timestamp for 4144 documentation |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Preview fastgpt Image: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.