Repository navigation
test(config): config tests use the config fixture and edge fakes - #3867
Merged
Merged
Conversation
Three config test files rebind CONFIG_PATH. They now write their configuration through the config fixture, the global_config fixture and the floor's config file. The cache tests move to tests/config and check the cache through what a load returns. The gateway pool and embedding requests go through the web fixture.
dan-petty
marked this pull request as ready for review
November 6, 2026 23:43
Owner
Author
|
Test results (local, on the branch head):
Notes for the reviewer:
|
22 tasks
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.
Config tests no longer rebind CONFIG_PATH. They set configuration through the config fixture and the config file of the hermetic floor, and they serve the gateway pool request with the web fake. The cache tests use the public load_settings and run on both config layers. The tests that named private functions now call the public ones. global_config moves to tests/support/config.py so the cache tests share it.
This lets the settings cache drop CONFIG_PATH from its key later (#1333). The change touches no product code.
Closes #3858
Change:
openspec/changes/archive/2026-11-06-3858-config-tests-on-edge-fakes/