-
Notifications
You must be signed in to change notification settings - Fork 71
Skip csr version check when cra_ring_root doesn't exist #195
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
Conversation
2ccac09
to
9966787
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zibaiwan! The logic looks fine, only some minor comments on the implementation.
9966787
to
4774009
Compare
eb29930
to
348c8a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zibaiwan, looks good!
348c8a6
to
3eaf6ce
Compare
Integration test failed due to the assertion in the |
bc237cb
to
b840804
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zibaiwan for the testing!
b840804
to
63d6a70
Compare
3007898
to
ce1f640
Compare
1. Parse the new field from the auto-discovery string 2. Changed csr_version to be optional. 3.Skip csr version check if cra_ring_root doesn't exit. 4.Update the forward-compatibility auto-discovery string test. Note:previous test had an issue: The number of fields per device global is fixed (here to 1), not variable. I had to update that as well. 5.Add new unit tests.
ce1f640
to
d431835
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zibaiwan!
Test results look good. Merging into the main branch. |
In the system integrator, in the auto-discovery string, added a new field at the end of the device section to indicate whether the cra_ring_root exist or not. The runtime will parse the new field from the auto-discovery string and skip csr version check if cra_ring_root doesn't exit. Changed the csr_version to be optional.
Updated the forward-compatibility auto-discovery string test. Note: the previous test had an issue: The number of fields per device global is fixed (here to 1), not variable. I had to update that as well. Cherry picked from: 024154d