-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
WIP - Condense configurations into conventions for Database (Metadatastore) Adapters #1460
WIP - Condense configurations into conventions for Database (Metadatastore) Adapters #1460
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 23b6082 - Browse repository at this point
Copy the full SHA 23b6082View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac0572d - Browse repository at this point
Copy the full SHA ac0572dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc33421 - Browse repository at this point
Copy the full SHA dc33421View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2488380 - Browse repository at this point
Copy the full SHA 2488380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39fe6f2 - Browse repository at this point
Copy the full SHA 39fe6f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c74109b - Browse repository at this point
Copy the full SHA c74109bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca93678 - Browse repository at this point
Copy the full SHA ca93678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20bd4cc - Browse repository at this point
Copy the full SHA 20bd4ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57da67a - Browse repository at this point
Copy the full SHA 57da67aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56368a0 - Browse repository at this point
Copy the full SHA 56368a0View commit details -
most of the initial config override in test_server
is working. Next up: - isolate the test_server failing tests - move the settings mock into a conftest fixture - add a test hook for SyncServer so you can do the same thing there. - propigate.
Configuration menu - View commit details
-
Copy full SHA for 92f136e - Browse repository at this point
Copy the full SHA 92f136eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72b88c7 - Browse repository at this point
Copy the full SHA 72b88c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for af7bb37 - Browse repository at this point
Copy the full SHA af7bb37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e6d310 - Browse repository at this point
Copy the full SHA 6e6d310View commit details -
Removed duplication of constants/configs/envars
for default persona, human, and preset. Now all derived from settings (which is in turn derived from envars). Still need to square away with the config file hierarchy, so once we resolve the value there is only one definitive source of truth across the rest of the code.
Configuration menu - View commit details
-
Copy full SHA for 5c3d7fe - Browse repository at this point
Copy the full SHA 5c3d7feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 094abd0 - Browse repository at this point
Copy the full SHA 094abd0View commit details -
Started a working README for refactor, so if I get
hit by a bus the next person doesn't need to spend a week getting up to speed. This helps clarify the goal in this PR: one config hierarchy assembled once, with one mega hook.
Configuration menu - View commit details
-
Copy full SHA for 3e6e3bb - Browse repository at this point
Copy the full SHA 3e6e3bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fe9670 - Browse repository at this point
Copy the full SHA 4fe9670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73c636c - Browse repository at this point
Copy the full SHA 73c636cView commit details -
This is the basic 2 backend pattern.
TODO: - mount the test sqlite/chroma somewhere that doesn't clutter up the repo
Configuration menu - View commit details
-
Copy full SHA for 62da646 - Browse repository at this point
Copy the full SHA 62da646View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea713b - Browse repository at this point
Copy the full SHA 2ea713bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0d18d7 - Browse repository at this point
Copy the full SHA d0d18d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0187d81 - Browse repository at this point
Copy the full SHA 0187d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 732cbbb - Browse repository at this point
Copy the full SHA 732cbbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 347c9f0 - Browse repository at this point
Copy the full SHA 347c9f0View commit details -
I'm trying to keep this as close to the current model as possible whi…
…le stripping out extraneous elements. The memory thing needs to be abstracted in a later time, never clear if these are strings or templates or references to a related object
Configuration menu - View commit details
-
Copy full SHA for 7cae7cf - Browse repository at this point
Copy the full SHA 7cae7cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f3e8c8 - Browse repository at this point
Copy the full SHA 0f3e8c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e22369 - Browse repository at this point
Copy the full SHA 4e22369View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4347d39 - Browse repository at this point
Copy the full SHA 4347d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90349f0 - Browse repository at this point
Copy the full SHA 90349f0View commit details -
migrations now included on startup. we need to add it to every possib…
…le entrypoint to be good to go
Configuration menu - View commit details
-
Copy full SHA for b8391a9 - Browse repository at this point
Copy the full SHA b8391a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f0b8dc - Browse repository at this point
Copy the full SHA 9f0b8dcView commit details -
configs pattern for now. these should be 1st class. also there needs …
…to be helpers like palm to do migrations and such
Configuration menu - View commit details
-
Copy full SHA for d11f87b - Browse repository at this point
Copy the full SHA d11f87bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4e45b0 - Browse repository at this point
Copy the full SHA c4e45b0View commit details -
pg_uri is now the _only_ db setting. it will always have the correct …
…scheme. the settings.backend object is self-contained, so no more external double-setting
Configuration menu - View commit details
-
Copy full SHA for 1c2ae94 - Browse repository at this point
Copy the full SHA 1c2ae94View commit details -
chewing through all the redundant crud methods in metadata to ideally…
… stub everything over to ORM models.
Configuration menu - View commit details
-
Copy full SHA for 2c3ca0d - Browse repository at this point
Copy the full SHA 2c3ca0dView commit details -
The big cutover to ORM begins! What's happening here:
1. the metadata.py file is being updated to use the ORM 2. conflicting models are being sunset and/or quarantined for this PR 3. CRUD accessors stay in metadatastore but are now managed behind the scenes by the ORM This is going to break a lot of things (which is goodTo get unbroken: 1. update the tests to no longer be aware of the backend configs 2. update the code to same 3. remove all the SQLModel and deprecated backend code 4. document (loom) how the ORM works, how to create migrations, how to traverse the ORM tree etc etc. Strategy here should be to merge this into a long-running branch and start CI against it, then keep pulling main into it until we're ready for a major release (this will be a major). Configs will be extremely thin after this PR. We should be set up to move docker dev to a single stack and docker quickstart to a single image.
Configuration menu - View commit details
-
Copy full SHA for e440f24 - Browse repository at this point
Copy the full SHA e440f24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f9a7a3 - Browse repository at this point
Copy the full SHA 7f9a7a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 585a3cb - Browse repository at this point
Copy the full SHA 585a3cbView commit details -
stripped all the SQLModel, pydantic schemas vs dataclasses vs arb cla…
…sses still a mess, but I think we can get around that to get things working
Configuration menu - View commit details
-
Copy full SHA for ec0b328 - Browse repository at this point
Copy the full SHA ec0b328View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed09718 - Browse repository at this point
Copy the full SHA ed09718View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe38a1f - Browse repository at this point
Copy the full SHA fe38a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb3931 - Browse repository at this point
Copy the full SHA 3fb3931View commit details -
Conftest ALMOST has a scoped test app so we can
stop spinning up servers in tests! But... 1. need to move the db_session all the way up to the request (where it belongs). 2. dep inject that thing at request time! 3. dep override it in conftest!
Configuration menu - View commit details
-
Copy full SHA for 37a04a2 - Browse repository at this point
Copy the full SHA 37a04a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f4711e - Browse repository at this point
Copy the full SHA 7f4711eView commit details