-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Normalize resulting paths to unix paths after glob usage #236044
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
Conversation
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.
Code review only 👍
@elastic/kibana-core @elastic/kibana-management @elastic/security-defend-workflows @elastic/security-generative-ai - please check this, it's a relevant bugfix for windows |
💚 Build Succeeded
Metrics [docs]
History
|
Could someone try running a Windows build of Kibana for this PR, to make sure it starts without error? I need this for a puppeteer/chrome update, which I can't do if the Windows build of Kibana won't start (the current status). I'd like to ensure this fix will allow the Windows build to start successfully. No hurry ... AFK for the next few days. |
Merging this, as it seems it's not making the situation worse for Unix paths. |
Starting backport for target branches: 8.19, 9.1 |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
Friendly reminder: Looks like this PR hasn’t been backported yet. |
) ## 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
) ## 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
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
) ## 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
…) (#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-->
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
2 similar comments
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
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.