Skip to content

Conversation

elena-shostak
Copy link
Contributor

@elena-shostak elena-shostak commented Aug 29, 2025

Summary

Replaced globby with native glob.

Checklist

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

Related: #233193

@elena-shostak elena-shostak added release_note:skip Skip the PR/issue when compiling release notes backport:prev-major Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// enhancement New value added to drive a business result labels Aug 29, 2025
@elena-shostak elena-shostak marked this pull request as ready for review August 29, 2025 13:03
@elena-shostak elena-shostak requested review from a team as code owners August 29, 2025 13:03
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@tomsonpl tomsonpl requested review from joeypoon and removed request for tomsonpl August 29, 2025 13:29
Copy link
Member

@legrego legrego left a comment

Choose a reason for hiding this comment

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

As part of this, can we move globby to the devDependencies section of our package.json?

@elena-shostak elena-shostak requested review from a team as code owners August 29, 2025 14:57
Copy link
Member

@markov00 markov00 left a comment

Choose a reason for hiding this comment

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

Visualization owned file LGTM, thanks for the change

KodeRad pushed a commit to KodeRad/kibana that referenced this pull request Sep 15, 2025
## Summary

Replaced `globby` with native glob.


### Checklist
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)


__Related: https://github.com/elastic/kibana/issues/233193__

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@elena-shostak elena-shostak removed backport missing Added to PRs automatically when the are determined to be missing a backport. backport:current-major labels Sep 15, 2025
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 16, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 233481 locally
cc: @elena-shostak

@elena-shostak elena-shostak added v8.19.4 v9.1.4 and removed v8.19.5 backport missing Added to PRs automatically when the are determined to be missing a backport. labels Sep 16, 2025
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 17, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 233481 locally
cc: @elena-shostak

@elena-shostak elena-shostak added the backport:skip This PR does not require backporting label Sep 17, 2025
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Sep 17, 2025
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Sep 24, 2025
## Summary

Replaced `globby` with native glob.


### Checklist
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)


__Related: https://github.com/elastic/kibana/issues/233193__

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
delanni added a commit that referenced this pull request Sep 29, 2025
## Summary
Fixes #236004

After #233481 the resulting glob
paths are yielded as windows paths, but probably processed as unix paths
(since `globby` always returned paths with unix separators).

This PR applies a normalization on resulting paths.
niros1 pushed a commit that referenced this pull request Sep 30, 2025
## Summary

Replaced `globby` with native glob.


### Checklist
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)


__Related: https://github.com/elastic/kibana/issues/233193__

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
niros1 pushed a commit that referenced this pull request Sep 30, 2025
## Summary
Fixes #236004

After #233481 the resulting glob
paths are yielded as windows paths, but probably processed as unix paths
(since `globby` always returned paths with unix separators).

This PR applies a normalization on resulting paths.
delanni added a commit to delanni/kibana that referenced this pull request Oct 1, 2025
)

## Summary
Fixes elastic#236004

After elastic#233481 the resulting glob
paths are yielded as windows paths, but probably processed as unix paths
(since `globby` always returned paths with unix separators).

This PR applies a normalization on resulting paths.

(cherry picked from commit 1cac4d2)

# Conflicts:
#	x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/content_loaders/defend_insights_loader.ts
delanni added a commit to delanni/kibana that referenced this pull request Oct 1, 2025
)

## Summary
Fixes elastic#236004

After elastic#233481 the resulting glob
paths are yielded as windows paths, but probably processed as unix paths
(since `globby` always returned paths with unix separators).

This PR applies a normalization on resulting paths.

(cherry picked from commit 1cac4d2)

# Conflicts:
#	x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/content_loaders/defend_insights_loader.ts
delanni added a commit to delanni/kibana that referenced this pull request Oct 2, 2025
)

## Summary
Fixes elastic#236004

After elastic#233481 the resulting glob
paths are yielded as windows paths, but probably processed as unix paths
(since `globby` always returned paths with unix separators).

This PR applies a normalization on resulting paths.

(cherry picked from commit 1cac4d2)

# Conflicts:
#	x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/content_loaders/defend_insights_loader.ts
delanni added a commit that referenced this pull request Oct 2, 2025
…) (#237101)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Normalize resulting paths to unix paths after glob usage
(#236044)](#236044)

<!--- Backport version: 10.0.2 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-09-29T08:42:25Z","message":"Normalize
resulting paths to unix paths after glob usage (#236044)\n\n##
Summary\nFixes https://github.com/elastic/kibana/issues/236004\n\nAfter
#233481 the resulting glob\npaths
are yielded as windows paths, but probably processed as unix
paths\n(since `globby` always returned paths with unix
separators).\n\nThis PR applies a normalization on resulting
paths.","sha":"1cac4d2b739423bbfb2c8d93cc60a02a456707f4","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","backport:version","v9.2.0","v8.19.5","v9.1.5"],"title":"Normalize
resulting paths to unix paths after glob
usage","number":236044,"url":"https://github.com/elastic/kibana/pull/236044","mergeCommit":{"message":"Normalize
resulting paths to unix paths after glob usage (#236044)\n\n##
Summary\nFixes https://github.com/elastic/kibana/issues/236004\n\nAfter
#233481 the resulting glob\npaths
are yielded as windows paths, but probably processed as unix
paths\n(since `globby` always returned paths with unix
separators).\n\nThis PR applies a normalization on resulting
paths.","sha":"1cac4d2b739423bbfb2c8d93cc60a02a456707f4"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","9.1"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/236044","number":236044,"mergeCommit":{"message":"Normalize
resulting paths to unix paths after glob usage (#236044)\n\n##
Summary\nFixes https://github.com/elastic/kibana/issues/236004\n\nAfter
#233481 the resulting glob\npaths
are yielded as windows paths, but probably processed as unix
paths\n(since `globby` always returned paths with unix
separators).\n\nThis PR applies a normalization on resulting
paths.","sha":"1cac4d2b739423bbfb2c8d93cc60a02a456707f4"}},{"branch":"8.19","label":"v8.19.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This PR does not require backporting backport:version Backport to applied version labels enhancement New value added to drive a business result release_note:skip Skip the PR/issue when compiling release notes Team:Security Platform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t// v8.19.4 v9.1.4 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants