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
fix: prevent publish abort on auto-generated logger-credential named values (#220)
* fix: prevent publish abort on auto-generated logger-credential named values
The publish pre-flight redaction guard scanned every named value, including
APIM auto-generated logger credentials (24-char hex IDs, e.g.
Logger-Credentials--<hex>) whose secret values are redacted on extract. Because
splitNamedValues() already skips these during publish (APIM recreates them when
the referencing logger is published), the guard flagged markers in artifacts
that are never sent to APIM and aborted the publish with a false positive.
Make the guard mirror the publisher: skip auto-generated named values that have
no explicit override. Extract hasNamedValueOverride() into override-merger.ts as
the single source of truth shared by both call sites.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
0 commit comments