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
[ADDED] system model command #8284
Conversation
Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
This reverts commit cea9125.
Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8284 +/- ##
==========================================
- Coverage 10.11% 0 -10.12%
==========================================
Files 136 0 -136
Lines 21193 0 -21193
==========================================
- Hits 2143 0 -2143
+ Misses 18729 0 -18729
+ Partials 321 0 -321
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
@zakisk will you please see that each error code has a probable cause and a suggested remediation defined?
@abdullah1308 as you can see in this PR that I've deleted mesheryctl/internal/cli/root/error.go file because I wanted to refernce them in mesheryctl/internal/cli/root/system package I was getting import cycle error and I was unable to reference them, and error functions in mesheryctl/internal/cli/root/error.go were only used by mesheryctl/internal/cli/root/version.go file so I copied all of them in mesheryctl/internal/cli/root/system/error.go file and chaged mesheryctl/internal/cli/root/version.go file. |
@zakisk The approach that me, @Philip-21 and @suhail34 have decided on is to move errors common to all There's 1/2 PRs up for making this change already. For now I suggest that you undo the change related to deleting the error.go file and moving the error codes. I understand that this causes the import cycle error. However once these other PRs are closed and if master is merged into this PR, these errors should be resolved. Hope this makes sense. |
@abdullah1308 error file that I've deleted was used by only one other file i.e version.go so I don't think that it is worth to undo deletion of that file. but if you still suggest me to do so I will add that error file in one more commit to this PR, is that you want? |
@abdullah1308 the approach I'm thinking of is that after your PR are merged we can remove all generic errors from mesheryctl in a new PR, does this sound good? |
@zakisk Yeah that is what I'd suggest for now. |
If that's the case, then ignore the DCO for now. We'll take care of that later |
@@ -0,0 +1,108 @@ | |||
CATEGORY MODEL VERSION |
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.
You might need explanation for doing this here as this will be dynamic and change from time to time
@alphaX86 API response is stored in golden file and the output will be same every time when tests run, in order to keep uniformity in tests pattern I did this because all other tests you can check in fliter or other commands are following this pattern, |
OK, you indeed need a token for them. I understand the requirement. But did you hardcode it? |
@alphaX86 yes |
Is this token related to your Meshery Cloud account? |
@alphaX86 I've copied this from filter test its not mine. |
@alphaX86 and its more than two years old token. |
Ok, noted 👍 |
@alphaX86 @suhail34 @leecalcote @MUzairS15 is there anything else? |
I'll review this once I'm in my system |
@alphaX86 have you done this? |
…mmands Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
@leecalcote @alphaX86 it's been a while this PR is still open. |
@MUzairS15, please review. |
Signed-off-by: Mohammed Zaki <zs84907@gmail.com>
@zakisk great demo today. Thanks for taking everyone through your work. We’re all green 🚦 here. |
Signed-off-by: Mohammed Zaki zs84907@gmail.com
Notes for Reviewers
This PR fixes #8176
Signed commits