Uh oh!
There was an error while loading. Please reload this page.
[web][web-shared][core] Make encrypted markers clickable and detect encryption before span selection - #1716
Conversation
…ryption at run level before span selection
…ryption at run level before span selection
karthikscale3
commented
Apr 13, 2026
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 |
Uh oh!
There was an error while loading. Please reload this page.
ghost
commented
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
…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
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