Conference Room island: TODO view stubs + hardcoded LiveKit fallback + N+1 list + ConfirmDialog #110
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Audit of the Conference Room island against
developmenthead.HIGH
services/room_service.rs:30-34— if a room'slivekit_server_urlisNone, the service falls back towss://livekit.example.com(placeholder domain). Production rooms silently fail to connect to a non-resolvable host.MED
island.rs:133-140—RoomView::NewRoomandRoomView::RoomDetailbothrsx! { // TODO: ... RoomsListView {} }— routing to either view silently falls back to the list. Confirmed still present.services/room_service.rs:107-121—list_roomsdoeslist_sids → for sid in sids { get(&sid).await }; N+1 on every mount.views/rooms_list.rs:118— delete-room action fires directly with no ConfirmDialog.LOW
island.rsviewparse::<RoomView>().unwrap()calls at lines 51 and 75 are safe —FromStr for RoomViewisInfallible, so the unwrap cannot panic. Keep as-is (false-positive finding, flagged here so we don't re-audit).Fix scope: implement NewRoomView + RoomDetailView (or surface an explicit error instead of silent fallback), drop the
wss://livekit.example.comfallback in favour of an explicit error, parallellist_rooms, ConfirmDialog on room delete.