Add proper binary guards for authorize_refresh/1 - #3924
Conversation
Trying to plug random conditions that htrow errors.
Soffi AI SummaryThis PR addresses two distinct stability and behavioral improvements in the chatbot/AI subsystem:
Commits
Updated: 2026-07-28 23:08 UTC |
Greptile SummaryAdds defensive refresh-token handling.
Confidence Score: 5/5The PR appears safe to merge, with no actionable defects identified in the changed refresh-token handling. The normal GraphQL path already supplies a required string token, while direct non-binary calls now return the service's established error-tuple shape instead of entering the database lookup.
|
| Filename | Overview |
|---|---|
| lib/console/services/users.ex | Adds a binary guard and safe fallback to prevent malformed refresh-token values from reaching the token lookup. |
Reviews (1): Last reviewed commit: "Add proper binary guards for authorize_r..." | Re-trigger Greptile
|
plural deploy this |
There was a problem hiding this comment.
Deploy PR created: https://github.com/pluralsh/plrl-up-demos/pull/2397
|
plural deploy this |
There was a problem hiding this comment.
Created deploy PR: https://github.com/pluralsh/plrl-up-demos/pull/2398
243510b to
4dce8f4
Compare
|
plural deploy this |
There was a problem hiding this comment.
Deployment PR created: https://github.com/pluralsh/plrl-up-demos/pull/2400
4dce8f4 to
7315c57
Compare
Trying to plug random conditions that htrow errors.
Test Plan
Test environment: https://console.your-env.onplural.sh/
Checklist
Plural Flow: console