-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cell Info design for multi instance use on the client #161
Comments
|
This is going to be made available in the client tomorrow. |
These are the exact fields that will be returned for clone cells: https://github.com/holochain/holochain/blob/b60c64ec375f88670a53af11edd160047f37eff7/crates/holochain_conductor_api/src/app_interface.rs#L257-L272 |
ok i see in the docs clone_id maps to role.. what if i want to run two instances of a provisioned cell, one as a user and the other as an admin (different agent keys)? would that mean making a clone first? Why not make a more consistent structure, so on the front end devs can create stores and receptor services per cell instance without having to worry about the cell type? ie
|
another issue / feature request .. which i think makes sense to add here, Is that it would be nice to have the |
@maackle @abe-njama FYI, up for discussion (where?) |
I just saw that GH auto-closed this issue in my name but I have no idea how that happened. I'll reopen since there is still potential for discussion. |
I created an issue to track this in the holochain repo holochain/holochain#4453 -- I believe it captures the intent of this request but feel free to add any more context or clarification there - or let me know if I'm way off base. @nphias
Yes if you want to have two cell instances of the same DNA, you could clone the provisioned cell. Alternatively I believe you could include the DNA twice in your app manifest with different role names and properties. Does that fulfill your requirements? @nphias
I'm not sure I understand this. Is this underlying issue that it is not ergonomic to match cells by the role of their source cell? Would this be addressed by having a consistent identifier for all clones that were cloned from the same cell? For example, by including the original role name in all cells, and then including the |
export type InstalledCell = { cell_id: CellId; role_name: RoleName; };
export type InstalledCell = { cell_id: CellId; cell_name: CellName; role_name: RoleName; };
the yaml files appear to have "name" and "role" fields which have two different intentions
If i have two cell clones it would be nice to have a name field which is common (ie the cell_name) and another which has meaning for that instance assuming "role" could be used. One can then display a list of cells of the same type in the UI distinguisable by that instance field
The text was updated successfully, but these errors were encountered: