Repository navigation
refactor(agent): migrate Console chat and audio runtime - #46582
Merged
Merged
Conversation
Contributor
Pyrefly Diffbase → PR--- /tmp/pyrefly_base.txt 2026-11-26 09:52:28.624584473 +0000
+++ /tmp/pyrefly_pr.txt 2026-11-26 09:52:10.007527972 +0000
@@ -4912,27 +4912,27 @@
ERROR `object` is not assignable to dict key `agent_binding` with type `str` [bad-assignment]
--> tests/unit_tests/services/agent/test_dsl_service.py:131:33
ERROR Argument `Literal['emoji']` is not assignable to parameter `icon_type` with type `AgentIconType | SQLCoreOperations[AgentIconType | None] | None` in function `models.agent.Agent.__init__` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:1145:19
+ --> tests/unit_tests/services/agent/test_roster_service.py:1086:19
ERROR Argument `Literal['emoji']` is not assignable to parameter `icon_type` with type `AgentIconType | SQLCoreOperations[AgentIconType | None] | None` in function `models.agent.Agent.__init__` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:1294:19
+ --> tests/unit_tests/services/agent/test_roster_service.py:1235:19
ERROR Object of class `object` has no attribute `prompt` [missing-attribute]
- --> tests/unit_tests/services/agent/test_roster_service.py:1714:12
+ --> tests/unit_tests/services/agent/test_roster_service.py:1655:12
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/services/agent/test_roster_service.py:1905:12
+ --> tests/unit_tests/services/agent/test_roster_service.py:1846:12
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/services/agent/test_roster_service.py:1906:12
+ --> tests/unit_tests/services/agent/test_roster_service.py:1847:12
ERROR Cannot index into `object` [bad-index]
- --> tests/unit_tests/services/agent/test_roster_service.py:1907:12
+ --> tests/unit_tests/services/agent/test_roster_service.py:1848:12
ERROR Argument `list[str | None]` is not assignable to parameter `version_ids` with type `list[str]` in function `services.agent.roster_service.AgentRosterService._load_versions_by_id` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:2986:52
+ --> tests/unit_tests/services/agent/test_roster_service.py:2927:52
ERROR Argument `Literal[0]` is not assignable to parameter `message_unit_price` with type `Decimal | SQLCoreOperations[Decimal]` in function `models.model.Message.__init__` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:3145:36
+ --> tests/unit_tests/services/agent/test_roster_service.py:3086:36
ERROR Argument `Literal[0]` is not assignable to parameter `answer_unit_price` with type `Decimal | SQLCoreOperations[Decimal]` in function `models.model.Message.__init__` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:3147:35
+ --> tests/unit_tests/services/agent/test_roster_service.py:3088:35
ERROR Argument `Literal[0]` is not assignable to parameter `total_price` with type `Decimal | SQLCoreOperations[Decimal | None] | None` in function `models.model.Message.__init__` [bad-argument-type]
- --> tests/unit_tests/services/agent/test_roster_service.py:3148:29
+ --> tests/unit_tests/services/agent/test_roster_service.py:3089:29
ERROR Object of class `NoneType` has no attribute `conversation_id` [missing-attribute]
- --> tests/unit_tests/services/agent/test_roster_service.py:3793:16
+ --> tests/unit_tests/services/agent/test_roster_service.py:3734:16
ERROR Class member `StubResolver.resolve` overrides a member in a parent class but is missing an `@override` decorator [missing-override-decorator]
--> tests/unit_tests/services/data_migration/test_import_service.py:256:13
ERROR Class member `CapturingImportService._import_workflows` overrides parent class `MigrationImportService` in an inconsistent manner [bad-override]
|
Contributor
Pyrefly Type Coverage
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #46582 +/- ##
==========================================
- Coverage 90.53% 90.52% -0.01%
==========================================
Files 6608 6608
Lines 410553 410694 +141
Branches 82377 82393 +16
==========================================
+ Hits 371675 371796 +121
- Misses 32488 32499 +11
- Partials 6390 6399 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
3 of 5 tasks
Base automatically changed from
hjlarry/agent-config-inspector-refactor
to
main
November 26, 2026 09:08
hjlarry
force-pushed
the
hjlarry/agent-console-runtime-refactor
branch
from
November 26, 2026 09:15
da893e8 to
49cb874
Compare
hjlarry
marked this pull request as ready for review
November 26, 2026 09:30
hjlarry
requested review from
QuantumGhost,
crazywoola and
laipz8200
as code owners
November 26, 2026 09:30
linw1995
approved these changes
Nov 26, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 26, 2026
2 of 5 tasks
1 task done
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.
Summary
Part of #39993. This follows the Config Inspector migration in #46561, now merged into main.
Screenshots
Checklist