Skip to content
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

[Osquery][Ops] Move Osquery/cypress configurations close to cypress #167428

Merged

Conversation

delanni
Copy link
Contributor

@delanni delanni commented Sep 27, 2023

Summary

The osquery-cypress package was referring to configurations from a parent folder. This caused difficulties with having to exclude/include the same files in the tsconfig.jsons, leading to hard-to-resolve typescript issues.

This PR moves the configs in, and cleans up redundancies and type errors.

chore(osquery): move osquery/cypress configs to cypress folder, fix type errors

@delanni delanni requested a review from a team as a code owner September 27, 2023 16:17
@delanni delanni added chore Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Sep 27, 2023
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@patrykkopycinski patrykkopycinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @delanni 🙇

@jbudz jbudz mentioned this pull request Sep 27, 2023
@delanni delanni added the ci:hard-typecheck Enables full typecheck on the PR label Sep 28, 2023
@patrykkopycinski patrykkopycinski enabled auto-merge (squash) September 28, 2023 22:10
@kibana-ci
Copy link
Collaborator

kibana-ci commented Sep 28, 2023

💔 Build Failed

Failed CI Steps

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
osquery 115 113 -2

Total ESLint disabled count

id before after diff
osquery 116 114 -2

History

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

@patrykkopycinski patrykkopycinski merged commit e84742d into elastic:main Sep 28, 2023
20 of 21 checks passed
Ikuni17 added a commit to Ikuni17/kibana that referenced this pull request Sep 28, 2023
delanni added a commit that referenced this pull request Sep 28, 2023
## 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>
delanni added a commit to delanni/kibana that referenced this pull request Sep 29, 2023
…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
delanni added a commit to delanni/kibana that referenced this pull request Sep 29, 2023
…lastic#167428)

The osquery-cypress package was referring to configurations from a
parent folder. This caused difficulties with having to exclude/include
the same files in the `tsconfig.json`s, leading to hard-to-resolve
typescript issues.

This PR moves the configs in, and cleans up redundancies and type
errors.

chore(osquery): move osquery/cypress configs to cypress folder, fix type
errors

---------

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: Brad White <brad.white@elastic.co>
(cherry picked from commit e84742d)
delanni added a commit that referenced this pull request Oct 2, 2023
… to cypress (#167428) (#167614)

Backport of #167428

Replaces: #167581

Part of: #167373

---

The osquery-cypress package was referring to configurations from a
parent folder. This caused difficulties with having to exclude/include
the same files in the `tsconfig.json`s, leading to hard-to-resolve
typescript issues.

This PR moves the configs in, and cleans up redundancies and type
errors.

chore(osquery): move osquery/cypress configs to cypress folder, fix type
errors

---------

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
Co-authored-by: Brad White <brad.white@elastic.co>
(cherry picked from commit e84742d)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@delanni delanni deleted the clean-up-osquery-cypress-structure branch May 2, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting chore ci:hard-typecheck Enables full typecheck on the PR release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants