Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

refactor(identity-access-token): simplify comment on revocation version bump logic

Victor Hugo dos Santos1d4e77b75f0a
diff --git a/backend/e2e-test/routes/v1/identity-access-token-redesign.spec.ts b/backend/e2e-test/routes/v1/identity-access-token-redesign.spec.ts
index 6f70c5526f..1f2e5b4a85 100644
--- a/backend/e2e-test/routes/v1/identity-access-token-redesign.spec.ts
+++ b/backend/e2e-test/routes/v1/identity-access-token-redesign.spec.ts
@@ -131,8 +131,7 @@ const deleteOrgIdentityMembership = async (identityId: string) => {
// The real removal paths (membershipIdentityService.deleteMembership,
// identityV1.deleteIdentity sub-org branch) bump the identity's revocation
// version so cached "allow" verdicts are rechecked once against Postgres. This
- // helper mutates the row directly, so mirror that bump here — otherwise the
- // cache-gated membership check keeps serving the stale allow until the TTL.
+ // helper mutates the row directly, so mirror that bump here.
await testRedis.incr(KeyStorePrefixes.IdentityRevocationVersion(identityId));
};