mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-23 00:21:14 +01:00
Telemetry records why skill runs end, which host and model ran them, and how upgrades went (GST-3234) (#4542)
gstack's anonymous usage telemetry now records nine more fields: the host and model family, how a skill was started, why it ended, whether checks passed, how skill routing is set up, a random per-session id, and for upgrades the version left and any error. This tells us where skills stop working and which setups break upgrades, which the current outcome-only data can't show. Deploy in order after merge: apply migration 009, deploy the telemetry-ingest function, then release the client; apply migration 007 after that. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#2 reader=specialist-batched Review-Finding: p1/specialist-batched#3 reader=specialist-batched Review-Finding: p1/adversarial-native#1 reader=adversarial-native Review-Finding: p1/outside-voice#2 reader=outside-voice Review-Finding: v1/outside-voice#1 reader=outside-voice Review-Finding: v1/outside-voice#2 reader=outside-voice
This commit is contained in:
1 parent
db2a56e679
commit
9ea26ecc42
74 files changed
+1180
-695
No files matched your search
@@ -106,6 +106,10 @@ while IFS= read -r LINE; do
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ingest refuses a body over 50,000 bytes (413) and the cursor would never
|
||||
# move, so each POST stays under 45,000 bytes (LC_ALL=C: ${#} counts bytes).
|
||||
[ "$COUNT" -gt 0 ] && [ "$(LC_ALL=C; echo $(( ${#BATCH} + ${#CLEAN} + 2 )))" -gt 45000 ] && break
|
||||
|
||||
if [ "$FIRST" = "true" ]; then
|
||||
FIRST=false
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user