Repository navigation
feat(hitl): expose bound IM providers in contact options - #45233
Merged
QuantumGhost merged 1 commit intoNov 1, 2026
Merged
Conversation
Include distinct effective IM providers in contact option search and batch responses. Regenerate API contracts and cover provider projection and editor permissions. Assisted-by: Codex:gpt-6.1-sol
QuantumGhost
requested review from
crazywoola,
iamjoel,
laipz8200 and
zxhlyh
as code owners
November 1, 2026 07:27
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #45233 +/- ##
==========================================
+ Coverage 89.79% 89.85% +0.06%
==========================================
Files 6239 6249 +10
Lines 396366 398128 +1762
Branches 79954 80223 +269
==========================================
+ Hits 355924 357753 +1829
+ Misses 34141 34064 -77
- Partials 6301 6311 +10
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:
|
Contributor
Pyrefly Type Coverage
|
zxhlyh
approved these changes
Nov 1, 2026
QuantumGhost
added a commit
that referenced
this pull request
Nov 1, 2026
Preserve the build branch history and include the latest upstream/main and the contact option IM provider projection from PR #45233. Assisted-by: Codex:gpt-6.1-sol
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.
AI disclosure: This PR was primarily drafted with Codex using gpt-6.1-sol. I have reviewed and edited the final diff, and I am responsible for the content.
Summary
Human Input v2 contact-option search and batch responses omit effective IM provider information, so recipient cards cannot display a bound platform's icon. Add the required
im_providers: list[IMProvider]field to both responses, using the existing batch lookup for current effective bindings and returning distinct providers or[]when unbound.The projection preserves workspace override precedence and describes binding presence independently of Channel connection health. Editor permissions and recipient DSL remain unchanged; the response continues to omit binding IDs, identity details and management metadata. Generated TypeScript/Zod/oRPC contracts and the Console API reference are updated.
Fixes #45232
Validation:
make lint && make type-checkandvp stagedcommands were not run; the corresponding checklist item remains unchecked.Screenshots
This change adds API response data; it does not change the rendered UI.
im_providers: ["feishu"], or[]when unbound.Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint godsFrom Codex