This repository was archived by the owner on Sep 30, 2024. It is now read-only.
feat/enterpriseportal: db layer for cody gateway access#63737
Merged
bobheadxi merged 7 commits intoJul 19, 2024
Merged
Conversation
Member
Author
Base automatically changed from
07-08-feat_enterpriseportal_database_layer_for_subscriptions_upsert
to
main
July 9, 2024 21:35
5f7ebe7 to
3a6dbb4
Compare
bobheadxi
commented
Jul 9, 2024
Comment on lines
16
to
47
Member
Author
There was a problem hiding this comment.
This shoulda been nullable to begin with, since these are really overrides, we have runtime defaults based on the subscription if no overrides are configured
ca78833 to
a0d65f1
Compare
c251775 to
e3bb92e
Compare
a0d65f1 to
57f3f1b
Compare
e3bb92e to
53fdf23
Compare
57f3f1b to
62748e6
Compare
53fdf23 to
dc7fed6
Compare
62748e6 to
8a4eb7e
Compare
dc7fed6 to
0ee398b
Compare
8c77be5 to
3702777
Compare
ebe188c to
6a9d351
Compare
3d8be48 to
99778d8
Compare
785cf80 to
0589692
Compare
6f30789 to
888efc2
Compare
64c3a46 to
ee2b5cb
Compare
60e0588 to
e5bedf9
Compare
Base automatically changed from
07-16-fix_enterpriseportal_drop_old_constraints
to
main
July 17, 2024 21:16
e5bedf9 to
431260c
Compare
431260c to
8efaf03
Compare
8efaf03 to
1e4bb8a
Compare
1e4bb8a to
3edaaf6
Compare
3edaaf6 to
6d652fa
Compare
3 tasks
This was referenced Jul 24, 2024
This was referenced Aug 2, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements Cody Gateway access in Enterprise Portal DB, such that it replicates the behaviour it has today, retrieving:
access_token_enabled. Since we ended up doing zero-config for Cody Gateway, the only license hashes that are valid for Cody Gateway are non-expired licenses - once your license expires you should be switching to a new license key anyway.It's fairly similar to the
dotcomdbshim we built before, but for our new tables. See https://github.com/sourcegraph/sourcegraph/pull/63792 for the licenses tables.None of this is going live yet.
Part of https://linear.app/sourcegraph/issue/CORE-100
Part of https://linear.app/sourcegraph/issue/CORE-160
Test plan
DB integration tests
sg run enterprise-portaldoes the migrations without a hitch