-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[QA][Code Coverage] Coverage teams lookup w/o Additional Config #77111
[QA][Code Coverage] Coverage teams lookup w/o Additional Config #77111
Conversation
9b64852
to
e4a82dc
Compare
The code needs some cleanup still, but let's see how the current build goes first. |
5343e0b
to
636f4d3
Compare
636f4d3
to
6d0e246
Compare
@elasticmachine merge upstream |
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.
@wayneseymour Great work! What will happen if team assignment file is empty?
src/dev/code_coverage/ingest_coverage/__tests__/enumerate_patterns.test.js
Outdated
Show resolved
Hide resolved
From the most recent Code Coverage job it looks like the paths covered in the existing CODEOWNERS file are getting team assignments. I think we need to add as many of the additional file paths to team relationships into CODEOWNERS as we can to fully test this PR. |
This is the problem with coupling the two configs together, I don't think it's a good idea to force code owner definitions for teams who don't want to force review of specific code, but maybe I'm being short sighted. |
@spalger it won't cause any additional code reviews. The additional paths will be ignored as comments by github. |
Alright, I'm fine giving that a shot |
); | ||
|
||
return pipe( | ||
await grepAndXform(), |
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.
@rylnd I went ahead with your first proposition. Honestly, it was simply easier to grok :)
@elastic/kibana-operations I'd really appreciate a review, particularly on the CODEOWNERS file. @dmlemeshko has already reviewed the js code. |
@elasticmachine merge upstream |
1 similar comment
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
1 similar comment
@elasticmachine merge upstream |
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.
The operations specific changes look good, couple nitpicks
so we can lookup stuff in gcp during errors.
…s-lookup-without-ownership-config
…s-lookup-without-ownership-config
4068ccd
to
396d4ce
Compare
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
…a into add-anomalies-to-timeline * 'add-anomalies-to-timeline' of github.com:phillipb/kibana: (89 commits) Aligns several module versions across the repository (elastic#78327) Empty prompt and loading spinner for service map (elastic#78382) Change progress bar to spinner (elastic#78460) [QA][Code Coverage] Coverage teams lookup w/o Additional Config (elastic#77111) Slim down core bundle (elastic#75912) [Alerting] retry internal OCC calls within alertsClient (elastic#77838) [kbn/optimizer] only build xpack examples when building xpack plugins (elastic#78656) [Ingest Manager] Ingest setup upgrade (elastic#78081) [Ingest Manager] Surface saved object client 10,000 limitation to bulk actions UI (elastic#78520) fix name without a category or if field end with .text (elastic#78655) [Security Solution] [Detections] Log message enhancements (elastic#78429) [ML]DF Analytics exploration: default filter of results page by `defaultIsTraining` value in url (elastic#78303) [Enterprise Search] Remove all instances of KibanaContext to Kea store (elastic#78513) [ML] DF Analytics creation: ensure job did not fail to start before showing results link (elastic#78200) fix createAppNavigationHandler to use `navigateToUrl` (elastic#78583) Fixing a11y test failure on discover app (elastic#59975) (elastic#77614) [Security Solution] Initiate endpoint package upgrade from security app (elastic#77498) [kbn/es] use a basic build process (elastic#78090) [kbn/optimizer] fix .json extension handling (elastic#78524) Fix APM lodash imports (elastic#78438) ...
* master: (365 commits) making expression debug info serializable (elastic#78727) fix lodahs imports in app-arch code (elastic#78582) Make Field a React.lazy export (elastic#78483) [Security Solution] Improves detections tests (elastic#77295) [TSVB] Different field format on different series is ignored (elastic#78138) RFC: Improve saved object migrations (elastic#66056) [Security Solution] Fixes url timeline flaky test (elastic#78556) adds retryability feature (elastic#78611) Aligns several module versions across the repository (elastic#78327) Empty prompt and loading spinner for service map (elastic#78382) Change progress bar to spinner (elastic#78460) [QA][Code Coverage] Coverage teams lookup w/o Additional Config (elastic#77111) Slim down core bundle (elastic#75912) [Alerting] retry internal OCC calls within alertsClient (elastic#77838) [kbn/optimizer] only build xpack examples when building xpack plugins (elastic#78656) [Ingest Manager] Ingest setup upgrade (elastic#78081) [Ingest Manager] Surface saved object client 10,000 limitation to bulk actions UI (elastic#78520) fix name without a category or if field end with .text (elastic#78655) [Security Solution] [Detections] Log message enhancements (elastic#78429) [ML]DF Analytics exploration: default filter of results page by `defaultIsTraining` value in url (elastic#78303) ...
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Similar to #74994
However, we are not using a separate config file.
Will resolve #72692
Remove the code that uploaded a team assignment json def, upon every ci run of the code-coverage job.
Add ability to assign teams to all file paths, that are defined in CODEOWNERS (file system crawler).
Also, extend CODEOWNERS definitions to include lines prepended w/
#CC#
that only define code coverage team names, not "review alerting" in github.Integrate this "service" into the code coverage ingestion transforms.