[web][web-shared][core] Make encrypted markers clickable and detect encryption before span selection#1716
Merged
karthikscale3 merged 82 commits intomainfrom Apr 14, 2026
Merged
Conversation
…ryption at run level before span selection
…ryption at run level before span selection
Collaborator
Author
The change from #1652 added features.encryption to WorkflowMetadata which is a runtime-only value available inside workflow code via getWorkflowMetadata(). It's computed on-the-fly from whether an encryption key exists. So this wouldn't work for us since the |
VaguelySerious
approved these changes
Apr 13, 2026
Contributor
workflow-devkit-release-bot bot
pushed a commit
that referenced
this pull request
Apr 14, 2026
…ncryption before span selection (#1716) * Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection * Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection * Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection * Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection * Make encrypted markers clickable to trigger decryption and detect encryption at run level before span selection
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.
Summary
hasEncryptedFieldsutility: New exported function inweb-sharedthat checks a hydrated resource for encryption markers acrossinput,output,metadata,error, andeventDatafields.features.encryptionflag inexecutionContextat run creation so the UI can detect encryption without a probe fetchHow it works
A new
DecryptClickContext(React context) threads theonDecryptcallback fromEntityDetailPanelandEventListViewdown to all nestedDataInspectorandEncryptedFieldBlockinstances. When the context is present, encrypted markers render as clickable "Decrypt" buttons; when absent (e.g. no decryption support), they remain static "Encrypted" labels.The encryption probe in
useWorkflowTraceViewerDatafires a background request for 1 event withwithData: trueafter the initial load completes. If any field in the hydrated response is an encryption marker,hasEncryptedDatais set totrueand propagated to the UI.Test plan