Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 0 additions & 166 deletions cockpit/chat/a2ui/angular/e2e/scripts/record-c-a2ui.sh

This file was deleted.

This file was deleted.

14 changes: 14 additions & 0 deletions cockpit/chat/interrupts/angular/e2e/scripts/record-c-interrupts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@
# flows in sequence so the recorded fixture covers both confirm and cancel
# resume paths.
#
# WHY THIS IS A SPECIAL-CASE SCRIPT (not using the generic
# scripts/record-aimock-cap.sh):
#
# Most caps' flows are normal LLM-call → tool_call → continuation cycles
# that complete in a single run; the generic recorder handles those by
# polling for terminal status (success/error/timeout/interrupted) and then
# merging the captured fixture files. c-interrupts is different: the graph
# calls langgraph's interrupt() inside a ToolNode, which pauses the run
# (status=interrupted) and requires the client to POST a `command.resume`
# value back to continue. The recorded fixture has to capture BOTH the
# pre-interrupt LLM call AND the post-resume continuation, which means
# driving the resume API call from the recorder script. The drive_flow
# helper below handles that two-phase dance.
#
# Run from repo root:
# OPENAI_API_KEY=sk-... bash cockpit/chat/interrupts/angular/e2e/scripts/record-c-interrupts.sh
set -euo pipefail
Expand Down
Loading