fix: always set ReportFullState flag in OpAMP responses#6831
Merged
michel-laterman merged 9 commits intoelastic:mainfrom Apr 16, 2026
Merged
fix: always set ReportFullState flag in OpAMP responses#6831michel-laterman merged 9 commits intoelastic:mainfrom
michel-laterman merged 9 commits intoelastic:mainfrom
Conversation
Contributor
|
This pull request is now in conflicts. Could you fix it @michel-laterman? 🙏 |
7651ecf to
8ae429d
Compare
Contributor
🔍 Preview links for changed docs |
Contributor
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
8ae429d to
532715f
Compare
Fleet-server now sets the ReportFullState flag in ServerToAgent responses when it detects sequence number gaps, new enrollments without full status, or reconnects from disconnected agents that don't report full state. The full status check is capability-aware per the OpAMP spec. Closes elastic#6783 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
532715f to
893a5aa
Compare
cmacknz
reviewed
Apr 14, 2026
cmacknz
reviewed
Apr 14, 2026
cmacknz
previously approved these changes
Apr 14, 2026
ycombinator
reviewed
Apr 14, 2026
ycombinator
reviewed
Apr 14, 2026
Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
ycombinator
approved these changes
Apr 14, 2026
swiatekm
approved these changes
Apr 15, 2026
cmacknz
approved these changes
Apr 15, 2026
mergify bot
pushed a commit
that referenced
this pull request
Apr 16, 2026
* fix: set ReportFullState flag in OpAMP responses on drift detection Fleet-server now sets the ReportFullState flag in ServerToAgent responses when it detects sequence number gaps, new enrollments without full status, or reconnects from disconnected agents that don't report full state. The full status check is capability-aware per the OpAMP spec. Closes #6783 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Always send full status report flag * Update CHANGELOG * Change log to debug, silence linter * Fix linter test warnings * Add rational to opamp.md * Update docs/opamp.md Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit f84d259)
7 tasks
michel-laterman
added a commit
that referenced
this pull request
Apr 16, 2026
* fix: set ReportFullState flag in OpAMP responses on drift detection Fleet-server now sets the ReportFullState flag in ServerToAgent responses when it detects sequence number gaps, new enrollments without full status, or reconnects from disconnected agents that don't report full state. The full status check is capability-aware per the OpAMP spec. Closes #6783 * Always send full status report flag * Update CHANGELOG * Change log to debug, silence linter * Fix linter test warnings * Add rational to opamp.md * Update docs/opamp.md --------- (cherry picked from commit f84d259) Co-authored-by: Michel Laterman <82832767+michel-laterman@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
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.
What is the problem this PR solves?
Fleet-server does not use the OpAMP spec's
ServerToAgent.flags.ReportFullStateflag. Fleet-server will now always set the flag.How does this PR solve the problem?
Flag is set for every response, seq no drift is detected and logged as a warning.
Design Checklist
Checklist
./changelog/fragmentsusing the changelog toolRelated issues