Skip to content

refactor: add console client migration demo#36300

Merged
hyoban merged 5 commits into
mainfrom
5-18-console-api-demo
May 18, 2026
Merged

refactor: add console client migration demo#36300
hyoban merged 5 commits into
mainfrom
5-18-console-api-demo

Conversation

@hyoban
Copy link
Copy Markdown
Member

@hyoban hyoban commented May 18, 2026

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

close #36299

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

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. javascript Pull requests that update javascript code labels May 18, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label May 18, 2026
@hyoban hyoban changed the title chore: add console api demo chore: add console client migration demo May 18, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.94%. Comparing base (1925d58) to head (ba2c9c0).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
web/service/common.ts 50.00% 4 Missing ⚠️
web/service/use-common.ts 0.00% 2 Missing ⚠️
web/service/use-log.ts 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #36300      +/-   ##
==========================================
- Coverage   85.94%   85.94%   -0.01%     
==========================================
  Files        4458     4455       -3     
  Lines      211298   211250      -48     
  Branches    39503    39487      -16     
==========================================
- Hits       181593   181549      -44     
+ Misses      26501    26497       -4     
  Partials     3204     3204              
Flag Coverage Δ
dify-ui 94.59% <ø> (ø)
web 86.55% <50.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.

@hyoban hyoban requested a review from douxc as a code owner May 18, 2026 05:28
@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 18, 2026
@hyoban hyoban requested a review from JzoNgKVO as a code owner May 18, 2026 07:22
@hyoban hyoban changed the title chore: add console client migration demo refactor: add console client migration demo May 18, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 18, 2026
@hyoban hyoban added this pull request to the merge queue May 18, 2026
Merged via the queue into main with commit 730a0be May 18, 2026
33 of 34 checks passed
@hyoban hyoban deleted the 5-18-console-api-demo branch May 18, 2026 07:49
zhangtaodemama added a commit to zhangtaodemama/langgenius-dify-bfaadcb0c706 that referenced this pull request May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ 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.

[Refactor/Chore] Add demo to use generated API contract

2 participants