Repository navigation
feat(api): add WebApp consumer APIs - #45154
Merged
Merged
Conversation
Contributor
Pyrefly Type Coverage
|
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-11-03 06:51:42.196174319 +0000
+++ /tmp/pyrefly_pr.txt 2026-11-03 06:51:30.728101470 +0000
@@ -5899,17 +5899,17 @@
ERROR Argument `Literal['app']` is not assignable to parameter `value` with type `ApiTokenType | SQLCoreOperations[ApiTokenType]` in function `sqlalchemy.orm.base.Mapped.__set__` [bad-argument-type]
--> tests/unit_tests/services/test_api_token_service.py:322:30
ERROR Argument `AppMode | str` is not assignable to parameter `mode` with type `AppMode | SQLCoreOperations[AppMode]` in function `models.model.App.__init__` [bad-argument-type]
- --> tests/unit_tests/services/test_app_generate_service.py:85:14
+ --> tests/unit_tests/services/test_app_generate_service.py:88:14
ERROR Class member `_TrackingRateLimit.exit` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
- --> tests/unit_tests/services/test_app_generate_service.py:778:21
+ --> tests/unit_tests/services/test_app_generate_service.py:781:21
ERROR Class member `_TrackingRateLimit.exit` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
- --> tests/unit_tests/services/test_app_generate_service.py:814:21
+ --> tests/unit_tests/services/test_app_generate_service.py:817:21
ERROR Class member `_TrackingRateLimit.exit` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
- --> tests/unit_tests/services/test_app_generate_service.py:848:21
+ --> tests/unit_tests/services/test_app_generate_service.py:851:21
ERROR Argument `_FakeStreams` is not assignable to parameter `redis_client` with type `Redis[Unknown] | RedisCluster[Unknown]` in function `libs.broadcast_channel.redis.streams_channel.StreamsBroadcastChannel.__init__` [bad-argument-type]
- --> tests/unit_tests/services/test_app_generate_service.py:1203:40
+ --> tests/unit_tests/services/test_app_generate_service.py:1206:40
ERROR Argument `_FakeRedisClient` is not assignable to parameter `redis_client` with type `Redis[Unknown] | RedisCluster[Unknown]` in function `libs.broadcast_channel.redis.pubsub_channel.BroadcastChannel.__init__` [bad-argument-type]
- --> tests/unit_tests/services/test_app_generate_service.py:1221:38
+ --> tests/unit_tests/services/test_app_generate_service.py:1224:38
ERROR Argument `str | None` is not assignable to parameter `tenant_id` with type `str` in function `services.app_service.AppService.create_app` [bad-argument-type]
--> tests/unit_tests/services/test_app_service.py:257:17
ERROR Argument `str | None` is not assignable to parameter `tenant_id` with type `str` in function `services.app_service.AppService.create_app` [bad-argument-type]
|
linw1995
marked this pull request as ready for review
November 3, 2026 09:29
linw1995
requested review from
MRZHUH,
QuantumGhost,
crazywoola,
laipz8200 and
snakevash
as code owners
November 3, 2026 09:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose My Apps and My Connections through the WebApp API using the Account login cookie, without requiring workspace membership.
List accessible Chatflow and Workflow Apps with favorites and shared discovery, deriving recent use from Account-linked EndUsers and retained WorkflowRuns. Group personal Connections by Provider, account label and Connection type, using representative Connection UUIDs as compact group keys. Expose accessible WebApp counts, per-group App listing and disconnect. Reuse existing tables and Connection lifecycle operations, adding lookup indexes and generated frontend contracts.
Refs SNP-974.