Skip to content

refactor(federation): pass the JWKS dependencies' fields as one value - #987

Merged
osanderson merged 1 commit into
mainfrom
refactor/federation-jwks-dependency-fields
Nov 25, 2026
Merged

osanderson merged 1 commit into
mainfrom
refactor/federation-jwks-dependency-fields

Conversation

@osanderson

Copy link
Copy Markdown
Collaborator

Clears the SonarCloud issue #986 left on main (go:S107, formatJWKSDependencies took eight parameters).

The five dependency fields that HistoricalKeysIssueDependencies and SelfIssueDependencies pass to formatJWKSDependencies now travel as one unexported jwksDependencyFields value. Output is unchanged. The key-material matrix in fapitest covers the new struct's signer field through the existing "federation issuers' Dependencies" case, so its field guard stays complete.

The federation and fapitest suites pass with the race detector, lint is clean, and the three dependency-redaction mutants (fed-deps-signer-redacted, fed-jwks-deps-signer-redacted, fed-deps-log-signer-redacted) are still killed.

🤖 Generated with Claude Code

formatJWKSDependencies took eight parameters. Its five dependency fields
now travel as one jwksDependencyFields value, which the key-material
matrix covers through the same Dependencies case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

Copy link
Copy Markdown

@osanderson
osanderson merged commit 7300a93 into main Nov 25, 2026
33 checks passed
@osanderson
osanderson deleted the refactor/federation-jwks-dependency-fields branch November 25, 2026 17:20
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