main · last commit
6 hours ago ·
ti41arbu
sr-ht-dolt-5s7 Rename a database from its settings page
Past Stand
bd reopen sr-ht-dolt-5s7
| Created by | Eugene Blikh |
| Owner | bigbes@gmail.com |
| Created | 2026-08-15T08:35:07Z |
| Started | 2026-08-15T08:35:21Z |
| Updated | 2026-08-15T08:56:09Z |
| Closed | 2026-08-15T08:56:09Z |
Owners can change a database's description and visibility but not its name; the only way to rename today is delete + recreate + re-push, which loses the ACLs and the history. Add a rename action: move the metadata row (name + path, both unique) and the on-disk NBS store together, evicting the served handle for the old path.
Owner-only rename form on /~user/db/settings; name validated with core.ValidateName; a collision answers 409 and changes nothing; the row and the store dir move together (row rolled back if the move fails); the cached remotesapi handle for the old path is evicted; the browser lands on the renamed database.
No outgoing dependencies.
Nothing depends on this issue.
| id | sr-ht-dolt-5s7 |
| content_hash | 013f271f2040f96efdc45e4c0a9e0aa074805cd0a5e3392d06cc14a5e77c99b0 |
| title | Rename a database from its settings page |
| description | Owners can change a database's description and visibility but not its name; the only way to rename today is delete + recreate + re-push, which loses the ACLs and the history. Add a rename action: move the metadata row (name + path, both unique) and the on-disk NBS store together, evicting the served handle for the old path. |
| design | |
| acceptance_criteria | Owner-only rename form on /~user/db/settings; name validated with core.ValidateName; a collision answers 409 and changes nothing; the row and the store dir move together (row rolled back if the move fails); the cached remotesapi handle for the old path is evicted; the browser lands on the renamed database. |
| notes | |
| status | closed |
| priority | 2 |
| issue_type | feature |
| assignee | Eugene Blikh |
| estimated_minutes | NULL |
| created_at | 2026-08-15T08:35:07Z |
| created_by | Eugene Blikh |
| owner | bigbes@gmail.com |
| updated_at | 2026-08-15T08:56:09Z |
| closed_at | 2026-08-15T08:56:09Z |
| closed_by_session | |
| external_ref | NULL |
| spec_id | |
| compaction_level | 0 |
| compacted_at | NULL |
| compacted_at_commit | NULL |
| original_size | NULL |
| sender | |
| ephemeral | 0 |
| wisp_type | |
| pinned | 0 |
| is_template | 0 |
| mol_type | |
| work_type | |
| source_system | |
| metadata | �{} |
| source_repo | |
| close_reason | Rename shipped: storage.MoveStore + db.RenameRepo + the settings rename action, with tests in all three layers |
| event_kind | |
| actor | |
| target | |
| payload | |
| await_type | |
| await_id | |
| timeout_ns | 0 |
| waiters | |
| hook_bead | |
| role_bead | |
| agent_state | |
| last_activity | NULL |
| role_type | |
| rig | |
| due_at | NULL |
| defer_until | NULL |
| no_history | 0 |
| started_at | 2026-08-15T08:35:21Z |
| is_blocked | 0 |
| id | 01a0048f-78d9-7a29-a133-7c3f8528ad74 |
| issue_id | sr-ht-dolt-5s7 |
| event_type | created |
| actor | Eugene Blikh |
| old_value | |
| new_value | |
| comment | NULL |
| created_at | 2026-08-15T11:35:06Z |
| id | 01a0048f-b1dc-7c77-879f-de9623b6b62e |
| issue_id | sr-ht-dolt-5s7 |
| event_type | claimed |
| actor | Eugene Blikh |
| old_value | {"id":"sr-ht-dolt-5s7","title":"Rename a database from its settings page","description":"Owners can change a database's description and visibility but not its name; the only way to rename today is delete + recreate + re-push, which loses the ACLs and the history. Add a rename action: move the metadata row (name + path, both unique) and the on-disk NBS store together, evicting the served handle for the old path.","acceptance_criteria":"Owner-only rename form on /~user/db/settings; name validated with core.ValidateName; a collision answers 409 and changes nothing; the row and the store dir move together (row rolled back if the move fails); the cached remotesapi handle for the old path is evicted; the browser lands on the renamed database.","status":"open","priority":2,"issue_type":"feature","owner":"bigbes@gmail.com","created_at":"2026-08-15T08:35:07Z","created_by":"Eugene Blikh","updated_at":"2026-08-15T08:35:07Z"} |
| new_value | {"assignee":"Eugene Blikh","status":"in_progress"} |
| comment | NULL |
| created_at | 2026-08-15T11:35:21Z |
| id | 01a004a2-bd69-7395-8d31-c4ea1de15322 |
| issue_id | sr-ht-dolt-5s7 |
| event_type | closed |
| actor | Eugene Blikh |
| old_value | |
| new_value | Rename shipped: storage.MoveStore + db.RenameRepo + the settings rename action, with tests in all three layers |
| comment | NULL |
| created_at | 2026-08-15T11:56:09Z |
No comments.
Close reason