Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement credential deletion on 401 responses #338

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add credential deletion functionality to handle 401 responses

This PR implements the credential deletion functionality in the Neon CLI tool to handle 401 responses.

Changes

  • Added deleteCredentials(configDir: string): void function in src/commands/auth.ts
  • Added new error code 'CREDENTIALS_DELETE_FAILED' in src/errors.ts
  • Added comprehensive tests for the new functionality

Testing

  • Added tests for successful credentials file deletion
  • Added tests for handling non-existent files
  • Added tests for handling permission errors

Link to Devin run: https://app.devin.ai/sessions/15efddb4c6734636ab10bbfc62a1e47e
Requested by: Konstantin Merenkov

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@kmerenkov kmerenkov closed this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant