Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

cleanup: Move azure openai provider config validation to right place#64056

Merged
eseliger merged 6 commits into
mainfrom
es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace
Jul 31, 2024
Merged

cleanup: Move azure openai provider config validation to right place#64056
eseliger merged 6 commits into
mainfrom
es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace

Conversation

@eseliger

@eseliger eseliger commented Jul 24, 2024

Copy link
Copy Markdown
Member

This validation was done in the azure oauth provider, which mixes two separate domains.

Test plan: CI, code review.

eseliger commented Jul 24, 2024

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @eseliger and the rest of your teammates on Graphite Graphite

@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 6962471 to 497fe86 Compare July 24, 2024 23:50
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from affc579 to 90487b1 Compare July 24, 2024 23:50
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 497fe86 to 6680d2b Compare July 25, 2024 00:19
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from 90487b1 to c7a5454 Compare July 25, 2024 00:19
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 6680d2b to a5fee6b Compare July 28, 2024 14:44
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from a5fee6b to 347add9 Compare July 30, 2024 00:47
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from 2533b27 to 19f7a4e Compare July 30, 2024 00:47
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 347add9 to 5f73f6f Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from 19f7a4e to 0505dfd Compare July 30, 2024 17:22
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 5f73f6f to 1e78f5b Compare July 30, 2024 23:28
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from 0505dfd to c23518b Compare July 30, 2024 23:28
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 1e78f5b to 1967de5 Compare July 31, 2024 01:04
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from c23518b to c27ecf9 Compare July 31, 2024 01:04
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 1967de5 to 8452b34 Compare July 31, 2024 01:19
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from c27ecf9 to 48432a2 Compare July 31, 2024 01:20
eseliger added 5 commits July 31, 2024 01:34
This takes less hoops to find what we support, and we don't extend this any time soon.

Test plan:

CI passes.
These functions return StoreOpts, but that wasn't immediately clear, so adding this small tweak here.

Test plan: Ci passes.
This code was using a strange pattern that isn't actually observed or controlled by our worker mechanisms, so switching it to return proper goroutines.

Test plan:

CI passes, would like a thorough review on the licensecheck code.
Since we don't do the enterprise/oss split anymore, this global package is no longer required and we can move the code to where it's actually used.

Test plan: Go compiler doesn't complain, and integration tests are still passing.
This doesn't blow up, but golangci-lint complains about it so following best practices here.

Test plan: Go test still passes, linter doesn't complain anymore.
@eseliger eseliger force-pushed the es/07-25-choredontpassnilcontext branch from 8452b34 to df27e30 Compare July 31, 2024 01:36
This validation was done in the azure oauth provider, which mixes two completely separate domains.

Test plan: CI, code review.
@eseliger eseliger force-pushed the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch from 48432a2 to 1f5bb9d Compare July 31, 2024 01:37
Base automatically changed from es/07-25-choredontpassnilcontext to main July 31, 2024 01:43
@eseliger eseliger merged commit 56467e3 into main Jul 31, 2024
@eseliger eseliger deleted the es/07-25-cleanupmoveazureopenaiproviderconfigvalidationtorightplace branch July 31, 2024 01:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants