-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(chaos): Bump duration of experiments #29
Conversation
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.
LGTM
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.
LGTM
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.
LGTM
f2d10fc
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.
LGTM
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.
LGTM
I'm not a big fan of leaving so many disabled line-too-long, wasn't there a better approach for these ? |
I did try finding a middle ground between black and pylint, did not succeed. To me it is trial and error - bend a line somewhere, see whether black bends it elsewhere, watch pylint complain again. There are 8 ignores, I'd leave this as an issue in the backlog with a |
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.
This looks weirdly similar to another PR: #33
Yes, they are indeed similar - this PR here is the base one and I split it in 4 different PRs with cherry picks - one about Jira sync, one about Trivy config, one about linter issues and that one here related to the Chaos tests. This would be the last PR to merge and with syncing from main, only the chaos related changes will be here. |
Well @jdkandersson is also not a big fan of line-too-long and left a bunch of great feedback on the feat/linter PR, so if you have a look at that, you'll see there are no more line-too-long disables :) Thanks for commenting! |
Test coverage for 922eb89
Static code analysis report
|
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.
LGTM
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.
LGTM
This PR addresses a timeout in the chaos step of the CI/CD pipeline where the discourse charm does not become healthy in the specified duration (default of 60 seconds). A local test confirms the charm becomes stable, so with this change, the total duration of the chaos experiments is increased, so that the test can (hopefully) pass.
With fixing the pipeline run, some additional steps were needed:
NOTE I've cherry picked commits based on scope and have created additional PRs for Jira, Trivy and linting, so once these are merged, this PR will be slimmer and will have only Chaos test related changes. Respective issues (linting, trivy) are fixed in the respective PRs. Thanks!