Description
The test-only DEPLOY_VALIDATED_INTEGRATION_IDS constant in crates/trusted-server-core/src/config.rs duplicates the registered integration builder IDs. Its test currently checks only that no registered builder is missing from the constant; a stale extra ID can remain in the constant without failing. This was identified during the PR #1049 documentation refresh, which added a separate set-equality check, but the redundant inventory and one-directional assertion remain in the current checkout.
Proposed fix
Remove the redundant constant and derive the coverage assertion from a single source of truth, or keep it and make the test compare both sets. Preserve the intended guarantee that every registered integration has deploy validation.
Done when
Related
PR #1049 documentation refresh.
Description
The test-only
DEPLOY_VALIDATED_INTEGRATION_IDSconstant incrates/trusted-server-core/src/config.rsduplicates the registered integration builder IDs. Its test currently checks only that no registered builder is missing from the constant; a stale extra ID can remain in the constant without failing. This was identified during the PR #1049 documentation refresh, which added a separate set-equality check, but the redundant inventory and one-directional assertion remain in the current checkout.Proposed fix
Remove the redundant constant and derive the coverage assertion from a single source of truth, or keep it and make the test compare both sets. Preserve the intended guarantee that every registered integration has deploy validation.
Done when
Related
PR #1049 documentation refresh.