Skip to content

feat: app deploy#35670

Draft
hyoban wants to merge 85 commits intomainfrom
4-27-app-deploy
Draft

feat: app deploy#35670
hyoban wants to merge 85 commits intomainfrom
4-27-app-deploy

Conversation

@hyoban
Copy link
Copy Markdown
Member

@hyoban hyoban commented Apr 29, 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

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

@hyoban hyoban changed the title 4 27 app deploy feat: app deploy Apr 29, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label Apr 29, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

❌ Patch coverage is 76.71233% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.71%. Comparing base (8fd616d) to head (19a76cb).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
api/controllers/inner_api/runtime_credentials.py 76.38% 13 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #35670      +/-   ##
==========================================
- Coverage   85.82%   85.71%   -0.12%     
==========================================
  Files        4458     4455       -3     
  Lines      208954   208657     -297     
  Branches    39071    38820     -251     
==========================================
- Hits       179328   178841     -487     
- Misses      26451    26638     +187     
- Partials     3175     3178       +3     
Flag Coverage Δ
api 85.11% <76.71%> (+<0.01%) ⬆️
dify-ui 93.93% <ø> (+0.66%) ⬆️

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 10:28:19.160029221 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 10:28:12.237994923 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 10:28:19.160029221 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 10:28:12.237994923 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 10:40:58.731861954 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 10:40:50.383837833 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 10:40:58.731861954 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 10:40:50.383837833 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 11:25:16.475825221 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 11:25:09.088743983 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 11:25:16.475825221 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 11:25:09.088743983 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 12:24:01.189815044 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 12:23:53.779781006 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 12:24:01.189815044 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 12:23:53.779781006 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 12:27:31.407115909 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 12:27:19.262087792 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 12:27:31.407115909 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 12:27:19.262087792 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 13:39:14.042470382 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 13:39:03.976332055 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 13:39:14.042470382 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 13:39:03.976332055 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:23:40.684060274 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:23:32.948066594 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:23:40.684060274 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:23:32.948066594 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:26:34.927863461 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:26:28.180827304 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:26:34.927863461 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:26:28.180827304 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:53:54.933275739 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:53:47.846241667 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Pyrefly Diff

base → PR
--- /tmp/pyrefly_base.txt	2026-05-07 14:53:54.933275739 +0000
+++ /tmp/pyrefly_pr.txt	2026-05-07 14:53:47.846241667 +0000
@@ -2148,6 +2148,10 @@
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:340:35
 ERROR Missing argument `payload` in function `protected_view` [missing-argument]
    --> tests/unit_tests/controllers/inner_api/plugin/test_plugin_wraps.py:346:36
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:65:32
+ERROR Argument `(ParamSpec(Unknown)) -> Unknown` is not assignable to parameter `func` with type `(...) -> Any` in function `inspect.unwrap` [bad-argument-type]
+  --> tests/unit_tests/controllers/inner_api/test_runtime_credentials.py:95:32
 ERROR Cannot index into `Iterable[bytes]` [bad-index]
    --> tests/unit_tests/controllers/service_api/app/test_audio.py:189:16
 ERROR Cannot index into `Response` [bad-index]

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

Labels

web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants