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

Upgrade axios 1.7.4 → 1.7.9 #202774

Merged
merged 9 commits into from
Dec 4, 2024
Merged

Conversation

jeramysoucy
Copy link
Contributor

@jeramysoucy jeramysoucy commented Dec 3, 2024

Summary

Upgrades axios from v1.7.4 to v1.7.9.

@jeramysoucy jeramysoucy added chore Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! release_note:skip Skip the PR/issue when compiling release notes v9.0.0 backport:all-open Backport to all branches that could still receive a release v8.18.0 labels Dec 3, 2024
@jeramysoucy jeramysoucy marked this pull request as ready for review December 3, 2024 17:00
@elasticmachine
Copy link
Contributor

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

@jeramysoucy jeramysoucy requested a review from a team December 3, 2024 17:00
Copy link
Contributor

@kc13greiner kc13greiner left a comment

Choose a reason for hiding this comment

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

LGTM!

Changelog

@jeramysoucy jeramysoucy requested review from a team as code owners December 3, 2024 18:51
@jeramysoucy jeramysoucy changed the title Upgrade axios 1.7.4 → 1.7.8 Upgrade axios 1.7.4 → 1.7.9 Dec 4, 2024
@@ -18,6 +18,7 @@ export class KbnClientRequesterError extends Error {
}
function clean(error: Error): AxiosError {
const _ = AxiosError.from(error);
delete _.cause;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The AxiosError.from function sets cause to the entire incoming error object. Opted to delete cause to address this concern: #202774 (comment)

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 4, 2024

⏳ Build in-progress, with failures

Failed CI Steps

History

kibanamachine and others added 3 commits December 4, 2024 17:59
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/fleet --update'
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
canvas 1.1MB 1.1MB +266.0B

History

@jeramysoucy jeramysoucy merged commit 52e021f into elastic:main Dec 4, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 7.17, 8.15, 8.16, 8.17, 8.x

https://github.com/elastic/kibana/actions/runs/12169246667

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
7.17 Backport failed because of merge conflicts
8.15 Backport failed because of merge conflicts
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- Add base FTR test coverage for inference APIs (#198000)
- Update @elastic/appex-ai-infra (main) (#200579)
- [ResponseOps][Rules] Move Rule Form code into @kbn/response-ops-rule-form (#198725)
- Upgrades cypress to 13.15.1 (#198715)

Manual backport

To create the backport manually run:

node scripts/backport --pr 202774

Questions ?

Please refer to the Backport tool documentation

jeramysoucy added a commit to jeramysoucy/kibana that referenced this pull request Dec 5, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 52e021f)

# Conflicts:
#	package.json
jeramysoucy added a commit to jeramysoucy/kibana that referenced this pull request Dec 5, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 52e021f)

# Conflicts:
#	package.json
jeramysoucy added a commit to jeramysoucy/kibana that referenced this pull request Dec 5, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 52e021f)

# Conflicts:
#	package.json
jeramysoucy added a commit to jeramysoucy/kibana that referenced this pull request Dec 5, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 52e021f)

# Conflicts:
#	package.json
#	packages/kbn-test/src/kbn_client/kbn_client_requester_error.ts
#	yarn.lock
@jeramysoucy
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x
8.17
8.16
7.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

jeramysoucy added a commit that referenced this pull request Dec 5, 2024
# Backport

This will backport the following commits from `main` to `8.17`:
- [Upgrade axios 1.7.4 → 1.7.9
(#202774)](#202774)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T22:13:35Z","message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","v9.0.0","backport:all-open","v8.18.0"],"number":202774,"url":"https://github.com/elastic/kibana/pull/202774","mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202774","number":202774,"mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
jeramysoucy added a commit that referenced this pull request Dec 5, 2024
# Backport

This will backport the following commits from `main` to `8.16`:
- [Upgrade axios 1.7.4 → 1.7.9
(#202774)](#202774)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T22:13:35Z","message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","v9.0.0","backport:all-open","v8.18.0"],"number":202774,"url":"https://github.com/elastic/kibana/pull/202774","mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202774","number":202774,"mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
jeramysoucy added a commit that referenced this pull request Dec 5, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Upgrade axios 1.7.4 → 1.7.9
(#202774)](#202774)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T22:13:35Z","message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","v9.0.0","backport:all-open","v8.18.0"],"number":202774,"url":"https://github.com/elastic/kibana/pull/202774","mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202774","number":202774,"mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
jeramysoucy added a commit that referenced this pull request Dec 5, 2024
# Backport

This will backport the following commits from `main` to `7.17`:
- [Upgrade axios 1.7.4 → 1.7.9
(#202774)](#202774)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T22:13:35Z","message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","v9.0.0","backport:all-open","v8.18.0"],"number":202774,"url":"https://github.com/elastic/kibana/pull/202774","mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202774","number":202774,"mergeCommit":{"message":"Upgrade
axios 1.7.4 → 1.7.9 (#202774)\n\n## Summary\r\n\r\nUpgrades `axios` from
v1.7.4 to v1.7.9.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>","sha":"52e021ff7fa289fcba42e090aa12e9de1f868ee0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <[email protected]>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Dec 9, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 9, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this pull request Dec 10, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
## Summary

Upgrades `axios` from v1.7.4 to v1.7.9.

---------

Co-authored-by: kibanamachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release chore release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.17.27 v8.16.2 v8.17.0 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants