Add server default result storage config surface#21075
Draft
Add server default result storage config surface#21075
Conversation
e3f5110 to
b33f43a
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
this PR adds the OSS config surface for a server-level default result storage setting.
It includes:
This is the first foundational slice of the Storage Defaults work. It intentionally does not change runtime resolution yet, so the new setting is not consumed until the follow-up runtime PR lands.
A note on
ui-v2/src/api/prefect.ts:heartbeat_frequencyandintervaldiffs are not from this feature specifically; they were reproduced by regenerating the client on a cleanorigin/main, so they appear to be existing generator drift rather than storage-default logicVerification:
uv run pytest tests/server/api/test_admin.py tests/server/models/test_configuration.py tests/client/test_prefect_client.py -k "server_default_result_storage"uv run ruff check src/prefect/server/schemas/core.py src/prefect/server/models/configuration.py src/prefect/server/api/admin.py src/prefect/client/schemas/objects.py src/prefect/client/orchestration/routes.py src/prefect/client/orchestration/__init__.py tests/server/api/test_admin.py tests/server/models/test_configuration.py tests/client/test_prefect_client.py