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

Upgrade keyvault secrets library #479

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Upgrade keyvault secrets library #479

merged 6 commits into from
Mar 20, 2024

Conversation

ross-p-smith
Copy link
Collaborator

@ross-p-smith ross-p-smith commented Mar 19, 2024

Purpose

Upgrade the KeyVault library. Cleanest way to test this was to ensure that we wrote a helper method that encapsulated the SecretClient so that it could be tested.

Also found some areas that should have been using the new AZURE_OPENAI_ENDPOINT env that langchain demands.

Renamed the Testing_LangChainAgent class so that pytest doesn't try and collect it

Relates to #417

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[x] Other... Please describe: chore

Copy link

github-actions bot commented Mar 19, 2024

Coverage

Coverage Report •
FileStmtsMissCoverMissing
code
   app.py1234166%29, 110, 149–150, 154, 157–158, 172–174, 176, 184, 188–192, 194, 201, 205–206, 212, 218–219, 221–222, 225, 239–240, 257, 259–260, 264, 273–277, 294, 296, 344
code/backend/batch/utilities/helpers
   EnvHelper.py921286%85–87, 154, 159–160, 163–165, 169–171
TOTAL162697440% 

Tests Skipped Failures Errors Time
32 0 💤 0 ❌ 0 🔥 10.976s ⏱️

@ross-p-smith ross-p-smith requested review from adamdougal and jongio and removed request for jongio March 19, 2024 22:37
@ross-p-smith ross-p-smith self-assigned this Mar 20, 2024
@ross-p-smith ross-p-smith requested a review from cecheta March 20, 2024 10:55
ross-p-smith and others added 4 commits March 20, 2024 10:56
Copy link
Collaborator

@adamdougal adamdougal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ross-p-smith ross-p-smith added this pull request to the merge queue Mar 20, 2024
Merged via the queue into main with commit 3b71be4 Mar 20, 2024
2 checks passed
@ross-p-smith ross-p-smith deleted the ross/sc3 branch March 20, 2024 14:55
superhindupur pushed a commit that referenced this pull request Mar 20, 2024
* Upgrade keyvault secrets library

* Add comment in test

* typo!

* Mock SecretClient (#483)

Co-authored-by: Chinedum Echeta <60179183+cecheta@users.noreply.github.com>

---------

Co-authored-by: Chinedum Echeta <60179183+cecheta@users.noreply.github.com>
eduardogch pushed a commit to devopsdale/chat-with-your-data-solution-accelerator that referenced this pull request Apr 30, 2024
* Upgrade keyvault secrets library

* Add comment in test

* typo!

* Mock SecretClient (Azure-Samples#483)

Co-authored-by: Chinedum Echeta <60179183+cecheta@users.noreply.github.com>

---------

Co-authored-by: Chinedum Echeta <60179183+cecheta@users.noreply.github.com>
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.

3 participants