-
Notifications
You must be signed in to change notification settings - Fork 40
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
Drive CDI specification to v1.0.0 #206
Comments
@elezar @klihub Considering quite substantial amount of changes in #233, I started to worry about API stability. The change is too big to guarantee that CDI 1.0 is still stable from my point of view. Should we postpone it or do only small amount of changes, e.g. introduce a producer package and simple spec writing function(s)? |
@bart0sh I think we should differentiate between specification stability and API stability. Note that although #233 adds a number of files, there are no changes to the spec and the changes to existing functionality is limited to the parts of the cache that are concerned with writing specs and validation. I don't think #233 should block a spec v1.0.0 release though. Do you have insights as to whether a v1.0.0 spec is considered a requirement for DRA going beta in the v1.32 k8s release (which was the original driver for this issue). |
v1.0.0 is not a blocker for beta. It probably is for GA. |
@elezar @klihub There are already quite a bit of changes between main branch and the latest release:
Pending PRs will probably double this count if we merge them. Which is fine, unless we really want to make a 1.0 a stable release. Do we? If we do, in my opinion, we should consider carefully picking up only fixes and documentation improvements and making 1.0 out of them. We can then gradually add more changes in dot releases. Opinions? |
The title of this issue suggests that the scope of it is just the CDI Spec, not the API. Is it still the case? |
Then again, some of the TODO items, like 'Split API into two sections: Producer vs Consumer' or 'Automated checks for parity between go and Rust implementations' suggest that this is about both the CDI Specification and the implementation/API. |
So, we need to either update the issue title or the TODO list. I'd say it's probably safer to update the TODO list as it will reduce amount of changes we want to make to resolve this issue. |
@bart0sh @elezar And if we do that, from the Specification point of view #225 is the only remaining item I can tell. |
Sure, I'd be ok with that. @bart0sh in the meeting on Jan 7, 2025 we decided that you'd look at the following points and whether these warrant spec extensions:
Did you have a chance to assess these at all? |
Maybe we could roll a v0.9.0 first instead of trying to go straight for a 1.0.0 ? |
Yep, looked at that. I think I mentioned it on one of the last meetings that I don't think any of this should go into 1.0. |
I'd prefer to go for 1.0.0 with documentation and bugfixes and shift the rest for the 1.* minor releases. We're seemingly ready for stable release back in August last year or even earlier IIRC. Is this changed somehow? |
@bart0sh are you suggesting that we only tag the spec as v1.0.0 and leave the rest of the repo as is as part of this release (that is to say we don't bump the go package at all? Is that possible? Alternatively we would let the versions diverge at this point, releasing a v1.0.0 spec and a v0.9.0 package.
As a spec producer, I think #250 causes us to have to perform extra steps when generating a spec. Carying this into v1.0.0 seems unnecessary. |
No need to release Spec 1.0 separately if we don't want to have different spec and API versions. I'm trying to make 1.0 a stable release, i.e. with only documentaiton and bug fixes. I don't believe we can call 1.0 stable with >6000 lines of difference with the previous release. |
@bart0sh although I agree with the desire to produce a stable release, I don't agree with the use of "number of changed lines" as a valid metric to measure stability. The changes that have been made against If you have concerns about any of the following changes in terms of stability and correctness, let us address them:
Note that due to how we have been working in this repo, we don't have the tooling in place to easily select some subset of these changes to call a Maybe with this in mind, it may be a good idea to release |
I'd propose to close this issue and continue with #259 |
This issue serves as a top-level tracker for achieving a v1.0.0 CDI specification.
See the discussions here:
The text was updated successfully, but these errors were encountered: