Skip to content

fix: ticktime#6134

Merged
c121914yu merged 6 commits intolabring:mainfrom
c121914yu:4.14.5-dev
Dec 21, 2025
Merged

fix: ticktime#6134
c121914yu merged 6 commits intolabring:mainfrom
c121914yu:4.14.5-dev

Conversation

@c121914yu
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 21, 2025 15:43
@gru-agent
Copy link
Contributor

gru-agent bot commented Dec 21, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 0421791 🚫 Skipped No files need to be tested {"packages/service/common/s3/buckets/base.ts":"File path does not match include patterns.","projects/app/src/components/Layout/HelperBot.tsx":"File path does not match include patterns.","projects/app/src/pageComponents/chat/WorkorderEntrance.tsx":"File path does not match include patterns.","projects/app/src/pages/account/info/index.tsx":"File path does not match include patterns."}

History Assignment

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

@github-actions
Copy link

github-actions bot commented Dec 21, 2025

Preview sandbox Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_sandbox_3438ebdbcce000039e72d078557fd6921c3f5e5f

@github-actions
Copy link

github-actions bot commented Dec 21, 2025

Preview mcp_server Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_mcp_server_3438ebdbcce000039e72d078557fd6921c3f5e5f

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the ticket access logic by implementing a fallback mechanism for determining ticketResponseTime. Previously, the logic only checked the team's subscription for the ticketResponseTime value, which could be undefined even when the plan includes ticket support. The fix ensures that if the team's subscription doesn't have an explicit ticketResponseTime, it falls back to the default value from the subscription plan configuration.

  • Updated ticket access check to fall back to plan's default ticketResponseTime when not set on team subscription
  • Cleaned up unused import in WorkorderEntrance component
  • Enhanced S3 error handling to include additional error message pattern

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
projects/app/src/pages/account/info/index.tsx Added TeamErrEnum import and refactored feedback handler to check ticket access with fallback logic before opening workorder
projects/app/src/pageComponents/chat/WorkorderEntrance.tsx Removed unused getWorkorderURL import
projects/app/src/components/Layout/HelperBot.tsx Updated hasTicketAccess logic with fallback to plan's ticketResponseTime and added subPlans to dependencies
packages/service/common/s3/buckets/base.ts Added new error message pattern for bad components in resource names to file not found check

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Dec 21, 2025

Preview fastgpt Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_3438ebdbcce000039e72d078557fd6921c3f5e5f

@c121914yu c121914yu merged commit ab743b9 into labring:main Dec 21, 2025
5 checks passed
@c121914yu c121914yu deleted the 4.14.5-dev branch December 21, 2025 16:02
newfish-cmyk pushed a commit to newfish-cmyk/FastGPT that referenced this pull request Dec 22, 2025
* stop design doc

* remove invalid doc

* del s3 tip

* fix: ticktime

* fix: ticktime

* fix: ticktime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant