test(8249): DELIBERATE BREAK, /clear releases claims, session start drops session_id, sync ids renamed
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m56s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Skipped
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Failing after 13s
CI & Build / TypeScript typecheck (push) Successful in 32s
CI & Build / Python tests (push) Failing after 1m56s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Skipped
Reverted by the next commit. CI must go red on test_session_end_releases_claims_but_not_on_clear[clear-False], test_the_session_start_hook_sends_the_source_and_the_session and test_each_class_of_hint_is_sent_back_on_its_own_channel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -227,7 +227,7 @@ if [ -n "$session_id" ]; then
|
|||||||
fi
|
fi
|
||||||
if [ -f "$syncfile" ]; then
|
if [ -f "$syncfile" ]; then
|
||||||
sync_seen=$(tr '\n' ',' < "$syncfile" 2>/dev/null | sed 's/,$//')
|
sync_seen=$(tr '\n' ',' < "$syncfile" 2>/dev/null | sed 's/,$//')
|
||||||
[ -n "$sync_seen" ] && sync_exclude_q="&exclude_sync_ids=${sync_seen}"
|
[ -n "$sync_seen" ] && sync_exclude_q="&exclude_sync=${sync_seen}"
|
||||||
fi
|
fi
|
||||||
if [ -f "$derivefile" ]; then
|
if [ -f "$derivefile" ]; then
|
||||||
derive_seen=$(tr '\n' ',' < "$derivefile" 2>/dev/null | sed 's/,$//' | grimoire_urlenc) || derive_seen=""
|
derive_seen=$(tr '\n' ',' < "$derivefile" 2>/dev/null | sed 's/,$//' | grimoire_urlenc) || derive_seen=""
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ if [ -n "$url" ] && [ -n "$token" ] && command -v curl >/dev/null 2>&1; then
|
|||||||
# with its latest logs; a new session hears about other sessions' claims.
|
# with its latest logs; a new session hears about other sessions' claims.
|
||||||
sid_now=$(grimoire_json_pick "$event_flat" '.session_id')
|
sid_now=$(grimoire_json_pick "$event_flat" '.session_id')
|
||||||
q="source=$(printf '%s' "$source" | grimoire_urlenc)"
|
q="source=$(printf '%s' "$source" | grimoire_urlenc)"
|
||||||
[ -n "$sid_now" ] && q="${q}&session_id=$(printf '%s' "$sid_now" | grimoire_urlenc)"
|
: # DELIBERATE BREAK (#8249): session_id no longer sent
|
||||||
[ -n "$scope" ] && q="${q}&${scope}"
|
[ -n "$scope" ] && q="${q}&${scope}"
|
||||||
q="?${q}"
|
q="?${q}"
|
||||||
# ONE FETCH, NAMED WHEN IT FAILS. A timeout, an HTTP error and a refused key
|
# ONE FETCH, NAMED WHEN IT FAILS. A timeout, an HTTP error and a refused key
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ rm -f "${TMPDIR:-/tmp}/grimoire-moment/${safe_sid}".* \
|
|||||||
"${TMPDIR:-/tmp}/grimoire-shapecheck/${safe_sid}".* 2>/dev/null || true
|
"${TMPDIR:-/tmp}/grimoire-shapecheck/${safe_sid}".* 2>/dev/null || true
|
||||||
|
|
||||||
reason=$(grimoire_json_pick "$event_flat" '.reason')
|
reason=$(grimoire_json_pick "$event_flat" '.reason')
|
||||||
[ "$reason" = "clear" ] && exit 0
|
# DELIBERATE BREAK (#8249): /clear releases too
|
||||||
|
|
||||||
command -v curl >/dev/null 2>&1 || exit 0
|
command -v curl >/dev/null 2>&1 || exit 0
|
||||||
grimoire_config || exit 0
|
grimoire_config || exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user