-
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
[packages] Migrate @kbn/test to Bazel #103122
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
@spalger I'm a little out of my depth here - type check failures are due to conflicting types between mocha and jest. @mistic mentioned you may have some ideas - I see some references to fake mocha types already. Do you have any background info on this? Partial snippet:
|
packages/kbn-test/tsconfig.json
Outdated
@@ -1,24 +1,17 @@ | |||
{ | |||
"extends": "../../tsconfig.base.json", | |||
"compilerOptions": { | |||
"incremental": false, | |||
"allowJs": true, |
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.
@jbudz I think this is the cause of the issues, several JS files are used here to avoid types from mocha and jest from both being loaded.
@elasticmachine merge upstream |
@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.
Stack Management changes LGTM (import path changed in snapshot_policy_actions.ts
)
I verified the junit report is being generated now. |
@elasticmachine merge upstream |
retest |
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
⏳ Build in-progress, with failures
History
To update your PR or re-run it, just comment with: |
1 similar comment
⏳ Build in-progress, with failures
History
To update your PR or re-run it, just comment with: |
retest |
@elasticmachine run elasticsearch-ci/docs |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
One step forward on #69706
That PR moves the @kbn/test into Bazel by pushing a BUILD file for that package.
After merging this the package will be consumed from within bazel-bin folder.