auth: rename validate_set_credentials to ensure_no_credentials
Metadata
Current evaluation
Renamed the auth function validate_set_credentials to ensure_no_credentials to better convey its purpose. The update was approved, passed CI, and merged, modifying four files with a ten-line diff.
Suggested action: —
No scores available.
Issue body
Gives a better sense of its purpose.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Renamed the auth function validate_set_credentials to ensure_no_credentials to better convey its purpose. The update was approved, passed CI, and merged, modifying four files with a ten-line diff. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a maintainer's pull request renaming validate_set_credentials to ensure_no_credentials to better reflect the function's purpose. No additional review comments were required. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #41 errors: rename CredentialsAvailable to CredentialsAlreadyAvailable | craft-store | merged | Renamed CredentialsAvailable to CredentialsAlreadyAvailable across four files. The change received approval, passed CI checks, and was merged into the codebase. | |
| #39 auth: do not allow overwriting existing credentials (CRAFT-776) | craft-store | merged | Prevents overwriting existing credentials in the authentication module. Merged following approval and passing CI checks, updating eight files with 72 additions and 18 deletions. Resolves CRAFT-776. |