fix(OFJAVA-013): 3 review findings across 3 files - #1879
Conversation
🦩 What this fix changed, finding by finding3 finding(s) fixed in this draft. (Inline placement was rejected by GitHub for this PR.) 🔴 1. OAuthDevTicketStore.consumeTicket returns null instead of Optional — 🤖 Prompt for AI agentsfix confidence: 🟡 85 medium — react 👍/👎 to teach the reviewer 🔴 2. EventService.updateEvent throws generic RuntimeException instead of a domain exception — 🤖 Prompt for AI agentsfix confidence: 🔴 55 low — review closely — react 👍/👎 to teach the reviewer 🟠 3. InvitationRegistrationService.handleExistingActiveUser returns null to signal 'proceed with creation' — 🤖 Prompt for AI agentsfix confidence: 🟢 92 high — react 👍/👎 to teach the reviewer |
Closes 3 review findings across 3 files.
Draft — this is a starting point, not a finished change. The fix required judgment, so read it before trusting it.
openframe-security-oauth/src/main/java/com/openframe/security/oauth/service/OAuthDevTicketStore.java:15openframe-api-lib/src/main/java/com/openframe/api/service/EventService.java:84openframe-authorization-service-core/src/main/java/com/openframe/authz/service/user/InvitationRegistrationService.java:63What changed — and what was deliberately left — is explained per finding as inline review comments on the lines each finding touched.
Run: https://product-hub.flamingo.so/admin/code-review
Run id:
59051284-b3d6-4391-892c-38c8737386e1Merging this PR is recorded as acceptance of the rule that produced it;
closing it unmerged is recorded as rejection. Both feed rule health, so
closing a wrong suggestion is useful rather than merely tidy.