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

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:
2026-12-01 17:24:27 -05:00
co-authored by Claude Opus 5.5
parent 8fccaa0f3c
commit 0b12d812ea
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ if [ -n "$session_id" ]; then
fi
if [ -f "$syncfile" ]; then
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
if [ -f "$derivefile" ]; then
derive_seen=$(tr '\n' ',' < "$derivefile" 2>/dev/null | sed 's/,$//' | grimoire_urlenc) || derive_seen=""
+1 -1
View File
@@ -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.
sid_now=$(grimoire_json_pick "$event_flat" '.session_id')
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}"
q="?${q}"
# ONE FETCH, NAMED WHEN IT FAILS. A timeout, an HTTP error and a refused key
+1 -1
View File
@@ -41,7 +41,7 @@ rm -f "${TMPDIR:-/tmp}/grimoire-moment/${safe_sid}".* \
"${TMPDIR:-/tmp}/grimoire-shapecheck/${safe_sid}".* 2>/dev/null || true
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
grimoire_config || exit 0