-
Notifications
You must be signed in to change notification settings - Fork 324
chore: remove automation to pull gherkin specs #1105
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
chore: remove automation to pull gherkin specs #1105
Conversation
BTW, I found this flakiness in a CI build: is it happening at any other build?
|
Thanks for reporting the flaky tests. I've created an issue template, a It would be great to have statistics over what the flakiest tests are so we can fight the overall flakiness more effectively. |
I'm not really sure about completely removing those scripts, for example we sometimes have to work on specs that are in-progress and thus not yet merged on master. In that case, does it mean that we have to use a manual copy of the files from apm repository in order to be able to work on a different version ? Or is there a way to trigger the "automatically create PR job" to run on another branch of apm and open PR with a different target branch ? That's probably not a big deal, and we can use a manual copy, but given agents tend to have different implementation timelines that might happen quite often in practice. |
I think it's fine having to manually copy a spec if it's still a (draft) PR. The norm should be that only approved spec changes are used by the agents. Personally, by the time I look up which parameters I have to set in order to specify the PR branch, I can just copy/paste from the PR 😅 |
@felixbarny Regarding flaky tests, we have some ideas about how to produce reports that we'll be working on and will be available to all Observability teams. In the meantime, I wonder if you might be interested in exploring using the capability of Maven Surefire to re-run tests X number of times if they fail. Here is a commit message in the maven surefire repo describing this capability: |
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.
Ok, let's go with a manual merge then, I agree that seldom used scripts take dust faster than expected, especially if there is a manual alternative.
Regarding flaky tests, as far as I know this surefire option does not work anymore with Junit5, mostly because those tests are created by junit directly instead of being instantiated by surefire.
I haven't found a really decent alternative that works with Junit5, also if we have a common way to track flaky tests, we could also apply it to other agent builds and integration tests.
OK, sounds good. We'll keep you updated on our progress with flaky test reporting. |
What does this PR do?
This PR removes the existing automation to pull the gherkin specs from the APM repository, as following updates will come in the way of a PR to this repo.
Checklist
- [ ] My code follows the style guidelines of this project- [ ] I have made corresponding changes to the documentation- [ ] I have added tests that prove my fix is effective or that my feature works- [ ] New and existing unit tests pass locally with my changes- [ ] I have updated CHANGELOG.asciidoc- [ ] I have updated supported-technologies.asciidoc- [ ] Added an API method or config option? Document in which version this will be introduced- [ ] Added an instrumentation plugin? How did you make sure that old, non-supported versions are not instrumented by accident?Related issues