Commit 3f293f1
fix(broker): record workspace_id from agent registration response (#1175)
* fix(broker): record workspace_id from agent registration response
Read `workspace_id` from the registration response at both register
sites instead of hardcoding `None`, so a join-by-key session records the
real workspace instead of the "ws_unknown" fallback — with no extra
request. Bumps the `relaycast` SDK to pick up the new field.
Requires a published `relaycast` crate that includes `workspace_id` on
`CreateAgentResponse` / `Agent` (AgentWorkforce/relaycast#201); the
pinned version may need adjusting to whatever release carries it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* style: auto-format Rust code with cargo fmt
* fix(broker): bump relaycast to 4.1.1 for workspace_id field
The published relaycast 4.0.0 did not carry workspace_id on
CreateAgentResponse, breaking the broker build. 4.1.1 (already on
main) ships the field, so pin to it.
---------
Co-authored-by: Barry Cape <barryonthecape@icloud.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Will Washburn <will.washburn@gmail.com>1 parent 86ad9b4 commit 3f293f1
1 file changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
| 702 | + | |
708 | 703 | | |
709 | 704 | | |
710 | 705 | | |
| |||
717 | 712 | | |
718 | 713 | | |
719 | 714 | | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
| 715 | + | |
726 | 716 | | |
727 | 717 | | |
728 | 718 | | |
| |||
1068 | 1058 | | |
1069 | 1059 | | |
1070 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1071 | 1064 | | |
1072 | 1065 | | |
1073 | 1066 | | |
1074 | 1067 | | |
1075 | 1068 | | |
1076 | 1069 | | |
1077 | | - | |
| 1070 | + | |
1078 | 1071 | | |
1079 | 1072 | | |
1080 | 1073 | | |
1081 | 1074 | | |
1082 | 1075 | | |
1083 | 1076 | | |
1084 | 1077 | | |
| 1078 | + | |
1085 | 1079 | | |
1086 | 1080 | | |
1087 | 1081 | | |
| |||
0 commit comments