[9.3] [Fleet] Add upgrade_details.metadata.reason to AgentResponseSchema (#252485)#252528
Merged
kibanamachine merged 3 commits intoelastic:9.3from Feb 10, 2026
Merged
Conversation
…lastic#252485) ## Summary `upgrade_details.metadata.reason` is missing from `AgentResponseSchema`, this PR adds it. I noticed it while testing agent upgrade rollback in dev mode, where strict body validation is enforced (this does not cause errors in production mode, but it's still missing from the OAS). Testing: roll back a recently upgraded Fleet-managed Elastic Agent. After rollback, it should be queryable in Fleet UI without error. <img width="1728" height="722" alt="Screenshot 2026-02-02 at 16 58 07" src="https://github.com/user-attachments/assets/047ab6ad-5cdd-46f0-96fe-40001ba2904a" /> ### 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) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 97bf115)
2 tasks
Contributor
|
Pinging @elastic/fleet (Team:Fleet) |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.3:Questions ?
Please refer to the Backport tool documentation