mirror of
https://github.com/Dicklesworthstone/coding_agent_session_search.git
synced 2026-09-22 11:59:25 +08:00
a8df258b53
Two bugs were preventing the daemon E2E test from working: 1. Semantic indexing needed --full flag - incremental scan found no messages because the test data timestamps were considered "old" 2. Test data filename pattern was wrong - Codex connector expects rollout-*.jsonl, not daemon-e2e.jsonl Also add scripts/e2e/daemon_fallback.sh wrapper so the daemon test is included in the orchestrated E2E runner (run_all.sh picks up scripts/e2e/*.sh). Part of T7.3: E2E daemon fallback + health script Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
774 B
Bash
Executable File
24 lines
774 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# scripts/e2e/daemon_fallback.sh
|
|
# E2E wrapper for daemon fallback test - delegates to scripts/daemon/cass_daemon_e2e.sh
|
|
#
|
|
# This wrapper ensures the daemon E2E test is included in the orchestrated E2E runner
|
|
# (scripts/tests/run_all.sh) which picks up scripts/e2e/*.sh
|
|
#
|
|
# Part of T7.3: E2E daemon fallback + health script
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_ROOT="$(cd "${SCRIPT_DIR}/../.." && pwd)"
|
|
|
|
DAEMON_E2E_SCRIPT="${PROJECT_ROOT}/scripts/daemon/cass_daemon_e2e.sh"
|
|
|
|
if [[ ! -x "$DAEMON_E2E_SCRIPT" ]]; then
|
|
echo "ERROR: Daemon E2E script not found or not executable: $DAEMON_E2E_SCRIPT" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Pass through all arguments to the daemon E2E script
|
|
exec "$DAEMON_E2E_SCRIPT" "$@"
|