Conversation
3a0900e to
553731b
Compare
vadimkibana
left a comment
There was a problem hiding this comment.
Shared UX code changes LGTM.
## Summary This PR is the core part of #166813. The original work seems to grow large, and we'd like to enable a preventive check beforehand to prevent more errors from entering the codebase. The idea is to have a selective type check that would only check changed files' projects. - [x] when there's no extra label, run the selective type check only on the diffing files' projects (success: https://buildkite.com/elastic/kibana-pull-request/builds/161837) - [x] when the label `ci:hard-typecheck` is present, run the regular (but now, working) full typecheck (expected to fail: ) cc: @watson --------- Co-authored-by: Brad White <brad.white@elastic.co> Co-authored-by: Thomas Watson <w@tson.dk> Co-authored-by: Thomas Watson <watson@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
should fix the file overwrite errors |
6d16e1f to
886aeae
Compare
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
HistoryTo update your PR or re-run it, just comment with: |
## Summary We're breaking #166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for APM UI.
## Summary We're breaking #166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for Platform Deployment Management. Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
|
Closing in favor of all referenced issues :) |
## Summary We're breaking #166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for `x-pack/test_serverless`. ## Reviewers There are no code owners for these files, so I'm using the recently edited suggestions --------- Co-authored-by: Alex Szabo <delanni.alex@gmail.com> Co-authored-by: Thomas Watson <w@tson.dk> Co-authored-by: Alex Szabo <alex.szabo@elastic.co> Co-authored-by: Thomas Watson <watson@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary We're breaking #166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for `x-pack/test`. --------- Co-authored-by: Thomas Watson <watson@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
## Summary This is hopefully the last batch of typescript issues to be fixed, related to #166813. It's also re-enabling full typecheck, with this, we should be back in a clean, typechecked main branch. Blocked by #167428 --------- Co-authored-by: Brad White <Ikuni17@users.noreply.github.com> Co-authored-by: Brad White <brad.white@elastic.co> Co-authored-by: Thomas Watson <watson@elastic.co> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…c#167392) ## Summary This is hopefully the last batch of typescript issues to be fixed, related to elastic#166813. It's also re-enabling full typecheck, with this, we should be back in a clean, typechecked main branch. Blocked by elastic#167428 --------- Co-authored-by: Brad White <Ikuni17@users.noreply.github.com> Co-authored-by: Brad White <brad.white@elastic.co> Co-authored-by: Thomas Watson <watson@elastic.co> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 8a29a5e) # Conflicts: # .buildkite/pipelines/pull_request/base.yml # .buildkite/scripts/steps/check_types_commits.sh
Summary
These are fixes for Typescript issues that crept in in the past ~1 month, while Typescript was on a summer break.
Summary of the original error
(1) The
@kbn/dev-cli-runnerand@kbn/dev-proc-runnerpackages (used to spawn child processes during development and CI) suffered from an issue where if the child process crashes, it would be treated as if it exited with a 0 exit-code (success).(2) We started hitting memory limits with the type-checking, resulting in out-of-memory (OOM) errors. These would terminate the type-checking code, and our runner (because of (1)) would yield a 0 exit code, thus marking the type-check step green.
With (2) being present, we basically allowed code with type-errors to pass these checks, which in turn has landed in main in the past ~4 weeks.
We've addressed (1), and we're now cleaning up the currently present type errors from the past few weeks.