Skip to content
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

Versioning support for profiles and registry #18

Open
tzarebczan opened this issue Jun 17, 2024 · 3 comments
Open

Versioning support for profiles and registry #18

tzarebczan opened this issue Jun 17, 2024 · 3 comments

Comments

@tzarebczan
Copy link
Contributor

We should discuss how to add versions to both the profile processes and registry.

@tzarebczan tzarebczan added the bug Something isn't working label Jun 17, 2024
@jessopb
Copy link
Collaborator

jessopb commented Jun 19, 2024

Discussion 6-19
Store current profile lua version in registry, apps can poll that.

  • perhaps pass version tag to registry on updates, get response
    (clients check inbox?)

Suppose v1 of profile talks to a v2 profile registry...
Suppose an app is upgraded to v2, but has a client profile still on v1 - should the app use api v1 in that case? Or require upgrade.

A DAO allowing registry to manage a vote on new upgrades?

@jessopb
Copy link
Collaborator

jessopb commented Jul 1, 2024

Scenario:

You have two or more apps and they have code that ao.sends actions to profiles.
Users have a profile process that they may upgrade to new features using 'eval'.

Supposing a user updates their profile features in one app,
Apps that haven't shipped a new version will continue to send actions to the profile.
Apps that have updated their profile api code will still have to send actions understood by older profiles.

Also,
ProfileRegistry has to continue to receive assigned actions from all previous protocols.

We can explicitly send a version tag, or silently infer behavior from which tags/data are present.

@tzarebczan tzarebczan added Exploration and removed bug Something isn't working labels Jul 17, 2024
@tzarebczan
Copy link
Contributor Author

We've decided to support full backwards compatability for now, so leaving off versioning support. We can still keep a profile version in the profile to keep track of what profile is what.

Explore: what concrete scenario would need a version tag supplied?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants