Skip to content

refactor(fetch): pf-4589 sanitize error messages, logs - #317

Merged
cdcabrera merged 2 commits into
patternfly:mainfrom
cdcabrera:pf-4589-fetchlogs
Nov 2, 2026
Merged

cdcabrera merged 2 commits into
patternfly:mainfrom
cdcabrera:pf-4589-fetchlogs

Conversation

@cdcabrera

Copy link
Copy Markdown
Member

What is it?

  • refactor(fetch): pf-4589 sanitize error messages, logs

Notes

  • sanitized error messaging for fetch errors

Updates issue/story

ongoing
related pf-4589 #297
depends on #315

@cdcabrera cdcabrera added the hold review needed label Sep 25, 2026
@cdcabrera
cdcabrera force-pushed the pf-4589-fetchlogs branch 2 times, most recently from 0fcc7c5 to 04f5f92 Compare October 1, 2026 20:57
@cdcabrera
cdcabrera force-pushed the pf-4589-fetchlogs branch 3 times, most recently from db76cd1 to 272de8c Compare October 30, 2026 07:18
@cdcabrera cdcabrera removed the hold review needed label Oct 30, 2026
* options.defaults, add sanitizeMessages option defaulting to true for xhrFetch
* server.fetch, sanitize error messages and statusText, preserve cause, avoid redundant passes
* logger.helpers, expand key-value token redaction, widen url pattern, retain delimiters
* server.getResources, sanitize errorPath and format unknown errors in processDocsFunction
* tests, add fetch and logger sanitization suites, update snapshots
@cdcabrera
cdcabrera marked this pull request as ready for review November 2, 2026 18:47
@cdcabrera
cdcabrera merged commit 428617d into patternfly:main Nov 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant