Skip to content

test(e2e): expect config.chatbot_redacted.yaml in the debug bundle - #249

Merged
mateusz-blaszkowski merged 1 commit into
release-3.1from
mblaszko/debug-tool-chatbot-config
Dec 3, 2026
Merged

mateusz-blaszkowski merged 1 commit into
release-3.1from
mblaszko/debug-tool-chatbot-config

Conversation

@mateusz-blaszkowski

Copy link
Copy Markdown
Contributor

test_debug_tool_execution fails on every deployment since the erag layer rename:

AssertionError: Expected file 'config.erag_redacted.yaml' not found

Cause:

  • The rename (refactor: rename the erag layer to chatbot #240) changed deployment/tools/debug_tool.py to read config.chatbot.yaml, which is the name Toolkit Manager now writes into the env directory. The bundle therefore holds config.chatbot_redacted.yaml.
  • EXPECTED_FILES in test_debug_tool.py still listed config.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 under src/tests.

Checked:

  • Kubernetes deployment, existing install reused, test run from the branch: test_debug_tool_execution passed, including config.chatbot_redacted.yaml (671 bytes) and install_logs/ (5 non-empty logs).
  • OpenShift deployment, run from a workstation against the cluster: every bundle check up to the files passed, including config.chatbot_redacted.yaml. The install_logs/ check needs the installer's env/<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

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>
@mateusz-blaszkowski mateusz-blaszkowski added the ready-for-review claude-review: Verdict LGTM, ready for a human review label Dec 3, 2026
@mateusz-blaszkowski

Copy link
Copy Markdown
Contributor Author

OpenShift CI run of the branch (existing cluster reused, chatbot layer reinstalled, -k test_debug_tool): test_debug_tool_execution passed, including config.chatbot_redacted.yaml (648 bytes) and install_logs/ (1 non-empty log). Both setups are now covered: Kubernetes and OpenShift.

@mateusz-blaszkowski
mateusz-blaszkowski merged commit 721c85b into release-3.1 Dec 3, 2026
11 checks passed
@mateusz-blaszkowski
mateusz-blaszkowski deleted the mblaszko/debug-tool-chatbot-config branch December 3, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review claude-review: Verdict LGTM, ready for a human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants