Comments (6)
I predict this is going to be a problem very soon after open sourcing.
from spin.
Why soon after open sourcing?
I was thinking we needed to fix this as we approach the first stable release, at v1.
Then, when we introduce v2, we'd need to make sure we can safely execute v1 components.
from spin.
We can't make any backward-incompatible changes to an interface (including things as simple as reordering struct fields I think) without running into this right?
from spin.
That is correct, if we make any changes to anything in the interface, all components targeting it would have to be rebuilt.
The main question here is less related avoiding breaking changes this early on, and more to making sure the configuration is structured such that we can introduce the versioned objects at some point.
One option this could go is: at some point we decide on V1 for the current interfaces, and tag the current corresponding executors as V1 as well.
If we want to make any backwards incompatible change, we start V2 for both interfaces and executors, and, if everything went as expected, we could run V1 and V2 components side-by-side.
(one big thing here is that even for V1 executors, we will need to keep the Wasmtime versions in sync for us to be able to run them in the same Cargo project.)
Is this aligned with what you were thinking about?
from spin.
Yeah, I think this plays into a larger theme of stability guarantees. We should be explicit about how (un)stable these interfaces are.
from spin.
Removed "for entry points" from title as I envisage it being an issue for outbound interfaces too!
from spin.
Related Issues (20)
- Follow OCI container image annotation standards when generating containers HOT 2
- Generate and sign SBOM through spin HOT 5
- Maintain a CHANGELOG.md file? HOT 2
- Spin (Re)Factors tracking issue
- Add native support for Golang, Python, and JavaScript Azure SDKs HOT 3
- Add native support for Golang and Python AWS SDKs
- Registry metadata support in application manifest HOT 3
- add MAINTAINERS.md file to each repository in Spin project HOT 1
- `spin update` An easier way to update to latest spin version HOT 1
- Endless re-compile in `spin watch` for Spin Apps that consist of multiple components HOT 1
- Hide old plugin versions in `spin plugins list`
- Spin-telemetry: consider eliminating the use of `set_global_default` HOT 4
- inconsistent preopened dirs between wasmtime and spin HOT 8
- Abstract pg client type in factor-outbound-pg HOT 2
- Need CORS config for HTTP trigger HOT 1
- Spin Docker image HOT 5
- spin.toml with colons in route causes inconsistent behaviour between Spin and Fermyon Cloud HOT 6
- Spin 2.7 release HOT 3
- Add a detach flag to the `spin up` command HOT 2
- Connecting using a simple postgresql url shouldn't be this convoluted HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spin.