Repository navigation
test(e2e): expect config.chatbot_redacted.yaml in the debug bundle - #249
Merged
mateusz-blaszkowski merged 1 commit intoDec 3, 2026
Merged
Conversation
The erag layer rename made debug_tool.py redact config.chatbot.yaml, the file Toolkit Manager now writes into the env directory, but test_debug_tool still expected config.erag_redacted.yaml and failed on every deployment. Signed-off-by: Mateusz Blaszkowski <mateusz.blaszkowski@intel.com>
Contributor
Author
|
OpenShift CI run of the branch (existing cluster reused, chatbot layer reinstalled, |
mik-now
approved these changes
Dec 3, 2026
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.
test_debug_tool_executionfails on every deployment since the erag layer rename:Cause:
deployment/tools/debug_tool.pyto readconfig.chatbot.yaml, which is the name Toolkit Manager now writes into the env directory. The bundle therefore holdsconfig.chatbot_redacted.yaml.EXPECTED_FILESintest_debug_tool.pystill listedconfig.erag_redacted.yaml, so the test failed although the tool did its job.Change (test side): expect
config.chatbot_redacted.yaml. No other reference to the old file name is left undersrc/tests.Checked:
test_debug_tool_executionpassed, includingconfig.chatbot_redacted.yaml(671 bytes) andinstall_logs/(5 non-empty logs).config.chatbot_redacted.yaml. Theinstall_logs/check needs the installer'senv/<name>/logs, which only exists where the cluster was installed from; a CI run on OpenShift is in progress for that part.🤖 Generated with Claude Code