Repository navigation
Stop storing the EUID with page feedback - #5034
Merged
Merged
Conversation
The page feedback endpoint no longer reads the `euid` cookie, and `PageFeedbackDocument` no longer has an `euid` field. Existing documents keep their old values. Ask AI feedback and the OpenTelemetry enrichment are unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ra-vault-gh-plugin-prod) `UpsertFeedbackAsync_ValidRecord_SendsDocumentWithoutEuid` captures the `_bulk` body through `OnRequestCompleted` and asserts it has no `euid`. The mapping test cannot catch this, because `dynamic: false` does not strip fields from `_source`. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
akira28
approved these changes
Nov 24, 2026
Contributor
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/5034/ |
Member
Author
|
@copilot resolve the merge conflicts in this pull request |
Co-Authored-By: Copilot <[email protected]>
Contributor
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.
Page feedback no longer reads the
euidcookie or stores aneuidfield, so a feedback document cannot be tied back to a visitor.Affects: Docs API
Prompt summary: Remove the EUID from page feedback. The team should not track it.
Why
PUT /page-feedback/{feedbackId}copies theeuidcookie into every document inpage-feedback-v1-{env}. Feedback does not need a visitor identifier, and we should not collect one.What
Endpoint and record
The endpoint stops reading the cookie.
PageFeedbackRecordloses itsEuidmember andPageFeedbackRecord.Fromtakes only the request.Index document
PageFeedbackDocumentdropsEuid. The index usesDynamic = false, so new deploys write noeuidfield and the mapping no longer lists it.Out of scope: Ask AI message feedback and the OpenTelemetry
user.euidenrichment still use the EUID. Documents already inpage-feedback-v1-*keep their oldeuidvalues. Purging them deletes production data and needs a separate decision.Verify