phase47 doctrine185 ASYNC WEVIA AUTONOMY PATTERN | async-exec.sh + job-list.sh + 4 NL intents | deep_clean avant timeout 20s apres 1.78s async + job_list poll | 193->197 priority intents | reutilisable intents longs (Playwright GPU multi-agent) | GOLD snapshot preserved | test E2E reussi via chat NL pur
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
This commit is contained in:
1199
ops-data/priority-intents-nl-GOLD-20260424-150147-pre-async.json
Normal file
1199
ops-data/priority-intents-nl-GOLD-20260424-150147-pre-async.json
Normal file
File diff suppressed because it is too large
Load Diff
1223
ops-data/priority-intents-nl-snapshot-20260424-1503.json
Normal file
1223
ops-data/priority-intents-nl-snapshot-20260424-1503.json
Normal file
File diff suppressed because it is too large
Load Diff
1223
ops-data/priority-intents-nl.json.snapshot-20260424-1503
Normal file
1223
ops-data/priority-intents-nl.json.snapshot-20260424-1503
Normal file
File diff suppressed because it is too large
Load Diff
15
ops-scripts/opus-intents/async-exec.sh
Executable file
15
ops-scripts/opus-intents/async-exec.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# async-exec.sh - lance cmd en nohup, retourne job info immédiatement
|
||||
# Usage: async-exec.sh <cmd...>
|
||||
CMD="$*"
|
||||
JOBID="$(date +%Y%m%d-%H%M%S)-$$"
|
||||
LOG="/tmp/wevia-job-${JOBID}.log"
|
||||
echo "=== ASYNC JOB LAUNCHED ==="
|
||||
echo "job_id: ${JOBID}"
|
||||
echo "log: ${LOG}"
|
||||
echo "cmd: ${CMD}"
|
||||
nohup bash -c "$CMD" > "$LOG" 2>&1 &
|
||||
PID=$!
|
||||
disown $PID 2>/dev/null
|
||||
echo "pid: ${PID}"
|
||||
echo "--- Tapez 'job_list' dans 30-60s pour voir résultat ---"
|
||||
18
ops-scripts/opus-intents/job-list.sh
Executable file
18
ops-scripts/opus-intents/job-list.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
echo "=== WEVIA JOBS (5 derniers) ==="
|
||||
ls -lt /tmp/wevia-job-*.log 2>/dev/null | head -5
|
||||
echo
|
||||
LATEST=$(ls -t /tmp/wevia-job-*.log 2>/dev/null | head -1)
|
||||
if [ -n "$LATEST" ]; then
|
||||
echo "=== LATEST OUTPUT ($LATEST) ==="
|
||||
tail -40 "$LATEST"
|
||||
echo
|
||||
PID_FILE=$(basename "$LATEST" .log | sed 's/wevia-job-//')
|
||||
if pgrep -f "${PID_FILE}" >/dev/null 2>&1; then
|
||||
echo "[STATE] RUNNING"
|
||||
else
|
||||
echo "[STATE] FINISHED"
|
||||
fi
|
||||
else
|
||||
echo "aucun job"
|
||||
fi
|
||||
Reference in New Issue
Block a user