You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow up on #21971 by making URL persistence policies explicit. DisplaySafeUrl redacts display output, but no longer implements generic Serde serialization. Callers choose a URL type that retains credentials, removes userinfo, or removes userinfo and recognized query credentials.
Use lossless serialization for artifact locations and internal data, retain query parameters in typed direct_url.json fields, and strip recognized credentials from persisted index and configuration references. Index comparisons use the same normalization as their persisted references, while ordinary query parameters remain part of source identity. Deserialization retains credentials for requests.
Rename without_credentials and remove_credentials to without_userinfo to make their narrower behavior clear. Display and debug output remain redacted for every persistence policy.
System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.
Some benchmarks with significant performance changes were compared across different runner types, so the changes might not come from the code. Run base and head on the same runner type, or use CodSpeed Macro Runners for more stable results.
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
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
Follow up on #21971 by making URL persistence policies explicit.
DisplaySafeUrlredacts display output, but no longer implements generic Serde serialization. Callers choose a URL type that retains credentials, removes userinfo, or removes userinfo and recognized query credentials.Use lossless serialization for artifact locations and internal data, retain query parameters in typed
direct_url.jsonfields, and strip recognized credentials from persisted index and configuration references. Index comparisons use the same normalization as their persisted references, while ordinary query parameters remain part of source identity. Deserialization retains credentials for requests.Rename
without_credentialsandremove_credentialstowithout_userinfoto make their narrower behavior clear. Display and debug output remain redacted for every persistence policy.