Skip to content

[dev/build_ts_refs] ignore type checking failures when building ts refs#93473

Merged
spalger merged 1 commit intoelastic:masterfrom
spalger:implement/ignore-bootstrap-type-failures
Mar 3, 2021
Merged

[dev/build_ts_refs] ignore type checking failures when building ts refs#93473
spalger merged 1 commit intoelastic:masterfrom
spalger:implement/ignore-bootstrap-type-failures

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Mar 3, 2021

When we're bootstrapping the repo we try to be helpful and pre-build the types for many TypeScript projects in the repo. We use a cache to make this as quick as possible but it can also lead to TypeScript reporting incorrect type failures that won't prevent devs from writing code or merging PRs. When this occurs I think we should ignore the errors and move on with our lives. CI will still catch these errors when we run the node scripts/type_check script, and devs should see these errors in the IDE if they're using TypeScript integrations, and as such I think the type errors during bootstrap are just distractions that hurt more than they help.

@spalger spalger added Team:Operations Kibana-Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.13.0 labels Mar 3, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger marked this pull request as ready for review March 3, 2021 19:53
@spalger spalger requested a review from a team as a code owner March 3, 2021 19:53
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger merged commit ef09312 into elastic:master Mar 3, 2021
@spalger spalger deleted the implement/ignore-bootstrap-type-failures branch March 3, 2021 20:40
@spalger spalger added the auto-backport Deprecated - use backport:version if exact versions are needed label Mar 3, 2021
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 3, 2021
…fs (elastic#93473)

Co-authored-by: spalger <spalger@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #93510

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Mar 3, 2021
…fs (#93473) (#93510)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
gmmorris added a commit to gmmorris/kibana that referenced this pull request Mar 4, 2021
* master: (48 commits)
  Fix wrong import in data plugin causing 100kB bundle increase (elastic#93448)
  [Fleet] Correctly track install status of an integration (elastic#93464)
  Reviews data frame analytics UI text (elastic#93033)
  Display multiple copyable fields for process.args in resolver node detail panel (elastic#93280)
  [Security Solution][Detections] ML Popover overflow fix (elastic#93525)
  chore(NA): do not use execa on bazel workspace status update script (elastic#93532)
  Bump dependencies (elastic#93511)
  [dev/build_ts_refs] support disabling the ts-refs build completely (elastic#93529)
  [Security Solution] fix data provider cypress test (elastic#93465)
  Fix service map for All environment single service (elastic#93517)
  [Fleet] Fix package version comparaison in the UI (elastic#93498)
  [alerting] adds doc on JSON-expanded action variables and task manager max_workers (elastic#92720)
  [dev/build_ts_refs] ignore type checking failures when building ts refs (elastic#93473)
  [core-new-docs] Adds a dev-doc for core documentation (elastic#92976)
  remove opacity from maps legacy style (elastic#93456)
  [Security Solution][Lists] Escape quotes in list ids and quote the id in KQL query (elastic#93176)
  Revert "Make tests deterministic by providing unique timestamps (elastic#93350)"
  [Discover] Fix link from dashboard saved search to Discover (elastic#92937)
  update public api docs
  App Search - Polishing Analytics Views (elastic#92939)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants