Skip to content

fix(agent-v2): preserve oauth2 credential refs when converting tool c…#38303

Merged
linw1995 merged 1 commit into
mainfrom
linw/dify-2667-save-draft-with-credentital-convertion
Jul 2, 2026
Merged

fix(agent-v2): preserve oauth2 credential refs when converting tool c…#38303
linw1995 merged 1 commit into
mainfrom
linw/dify-2667-save-draft-with-credentital-convertion

Conversation

@linw1995

@linw1995 linw1995 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

…onfig

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

Screenshots

Before After
... ...

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

@linw1995 linw1995 requested a review from lyzno1 as a code owner July 2, 2026 06:59
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 2, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label Jul 2, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 2, 2026
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.28%. Comparing base (d9884ef) to head (4fb427d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #38303   +/-   ##
=======================================
  Coverage   85.28%   85.28%           
=======================================
  Files        4982     4982           
  Lines      263215   263220    +5     
  Branches    50015    50017    +2     
=======================================
+ Hits       224471   224478    +7     
+ Misses      34361    34359    -2     
  Partials     4383     4383           
Flag Coverage Δ
dify-ui 94.93% <ø> (ø)
web 84.86% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@linw1995 linw1995 added this pull request to the merge queue Jul 2, 2026
Merged via the queue into main with commit 1af535a Jul 2, 2026
38 checks passed
@linw1995 linw1995 deleted the linw/dify-2667-save-draft-with-credentital-convertion branch July 2, 2026 07:15
linw1995 added a commit that referenced this pull request Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants