Llm/integration tests fixes#480
Merged
Thirunayan22 merged 7 commits intoJun 19, 2026
Merged
Conversation
Thirunayan22
approved these changes
Jun 19, 2026
nuwangeek
added a commit
to rootcodelabs/LLM-Module
that referenced
this pull request
Jun 19, 2026
Llm/integration tests fixes (buerokratt#480)
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 pull request refactors how integration tests handle Vault secrets and connection IDs for LLM and embedding models. The changes ensure that test secrets, database rows, and API requests all use a single, deterministic
vault_uuidvalue. This removes previous mismatches and makes the test environment more robust and less dependent on database-assigned IDs. Additionally, the Vault token and file system mounts in the test Docker Compose setup are updated for consistency.Key changes:
Secret management and test consistency
TEST_VAULT_UUIDinstead of environment-based or database-generated IDs, ensuring that secrets, DB rows, and API requests are aligned. (tests/integration_tests/conftest.py,DSL/Ruuter.private/rag-search/POST/inference/test.yml, [1] [2] [3] [4] [5] [6] [7] [8] [9]vault_uuidfield in the relevant test database row to matchTEST_VAULT_UUIDby introducing a new_pin_vault_uuidhelper. (tests/integration_tests/conftest.py, [1] [2]Docker Compose test environment improvements
/agent/llm-token/token, matching the default expectation of the code. (docker-compose-test.yml, [1] [2]Model and API changes
connectionIdfield in the test request model is changed fromOptional[int]toOptional[str]to reflect the use of UUIDs instead of integer IDs. (src/models/request_models.py, src/models/request_models.pyL272-R274)Miscellaneous
rag_searchschema, ensuring unqualified table queries work after a schema migration. (tests/integration_tests/conftest.py, tests/integration_tests/conftest.pyR1185-R1188)tests/integration_tests/test_indexing.py, tests/integration_tests/test_indexing.pyL11-L20)