Skip to content

fix: user token#36930

Merged
zyssyz123 merged 1 commit into
mainfrom
fix/user-token
Jun 2, 2026
Merged

fix: user token#36930
zyssyz123 merged 1 commit into
mainfrom
fix/user-token

Conversation

@zyssyz123
Copy link
Copy Markdown
Contributor

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

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 2, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jun 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 46.03% 46.02% -0.01%
Strict coverage 45.52% 45.52% -0.01%
Typed symbols 24,990 24,990 0
Untyped symbols 29,629 29,636 +7
Modules 2790 2790 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 2, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-06-02 07:05:09.944824909 +0000
+++ /tmp/pyrefly_pr.txt	2026-06-02 07:04:55.967740058 +0000
@@ -555,7 +555,7 @@
 ERROR No matching overload found for function `redis.client.Redis.__init__` called with arguments: (host=int | str | Unknown, port=int | str | Unknown, password=int | str | Unknown | None, db=int, ssl=bool, ssl_ca_certs=str | None, ssl_cert_reqs=Any | None, ssl_certfile=Any | None, ssl_keyfile=Any | None, socket_timeout=Literal[5], socket_connect_timeout=Literal[5], health_check_interval=Literal[30]) [no-matching-overload]
   --> schedule/queue_monitor_task.py:14:21
 ERROR Object of class `Tenant` has no attribute `role` [missing-attribute]
-    --> services/account_service.py:1383:13
+    --> services/account_service.py:1417:13
 ERROR `+` is not supported between `str` and `dict[Unknown, Unknown]` [unsupported-operation]
    --> services/app_service.py:555:53
 ERROR No matching overload found for function `flask.helpers.stream_with_context` called with arguments: (Generator[bytes]) [no-matching-overload]

@zyssyz123 zyssyz123 enabled auto-merge June 2, 2026 07:12
@zyssyz123 zyssyz123 added this pull request to the merge queue Jun 2, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.83%. Comparing base (079af31) to head (53b9dee).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #36930   +/-   ##
=======================================
  Coverage   85.83%   85.83%           
=======================================
  Files        4574     4574           
  Lines      224039   224053   +14     
  Branches    41188    41185    -3     
=======================================
+ Hits       192300   192323   +23     
+ Misses      28018    28010    -8     
+ Partials     3721     3720    -1     
Flag Coverage Δ
api 85.35% <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 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.

Merged via the queue into main with commit 888483a Jun 2, 2026
36 checks passed
@zyssyz123 zyssyz123 deleted the fix/user-token branch June 2, 2026 07:34
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:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants