Skip to content

fix(media): a hub admin's workspace rename reaches every member - #244

Merged
tranh0anghuan merged 1 commit into
testfrom
fix/workspace-rename-sync
Oct 2, 2026
Merged

tranh0anghuan merged 1 commit into
testfrom
fix/workspace-rename-sync

Conversation

@tranh0anghuan

Copy link
Copy Markdown
Contributor

media.rename on a hub only renamed the caller's desk row and pushed to the caller's sockets, so other members never saw the new name — and the dest it built for any recipient was read from the caller's db.

When the caller is admin on the hub (user_permission & ADMIN), rename now calls yp.hub_rename_for_members, reads each member's node back from THEIR db, and pushes to entity_sockets(hub_id). Below admin it stays a personal rename. If the shared step fails, the caller's own rename still answers.

Needs yp.hub_rename_for_members (schemas fix/workspace-rename-sync).

media.rename on a hub only renamed the caller's desk row and pushed to the
caller's sockets, so other members never saw the new name — and the dest it
built for any recipient was read from the caller's db.

When the caller is admin on the hub (user_permission & ADMIN), rename now
calls yp.hub_rename_for_members, reads each member's node back from THEIR
db, and pushes to entity_sockets(hub_id). Below admin it stays a personal
rename. If the shared step fails, the caller's own rename still answers.

Needs yp.hub_rename_for_members (schemas fix/workspace-rename-sync).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@tranh0anghuan
tranh0anghuan merged commit 4085ea4 into test Oct 2, 2026
9 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Claude encountered an error after 0s —— View job


I'll analyze this and get back to you.

EddyOne81 pushed a commit that referenced this pull request Oct 12, 2026
media.rename on a hub only renamed the caller's desk row and pushed to the
caller's sockets, so other members never saw the new name — and the dest it
built for any recipient was read from the caller's db.

When the caller is admin on the hub (user_permission & ADMIN), rename now
calls yp.hub_rename_for_members, reads each member's node back from THEIR
db, and pushes to entity_sockets(hub_id). Below admin it stays a personal
rename. If the shared step fails, the caller's own rename still answers.

Needs yp.hub_rename_for_members (schemas fix/workspace-rename-sync).

Co-authored-by: Drumee Dev <drumee@debian.local.drumee>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
(cherry picked from commit 4085ea4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant