From a74e0a78fa92346146deb86191db7eebb225ab3f Mon Sep 17 00:00:00 2001 From: Hasan Basbunar Date: Mon, 5 Oct 2026 00:11:55 +0200 Subject: [PATCH] bug-report template: the journal it asks for comes with the key masked The template asked for a unit's journal pasted in full. SGLang prints its server_args at every engine start, api_key included, so a window that holds a start holds the key, and on 2026-10-04 one reached an issue comment that way. The template now pipes the journal through a sed that masks the key, and asks, for a CUDA error, for the kernel's lines of the same minutes, where an Xid is logged and the unit's journal has none. The sed knows both shapes SGLang has printed on the reference box: a dict ('api_key': '...'), in the 27B lane's journal and in the flash lane's since 2026-09-29 13:37, and a dataclass (api_key='...'), in six starts of the flash lane from 2026-09-27 to 2026-09-29 12:16. A sed for the dict only left those six keys in clear; this one leaves none in either lane's journal (54,500 and 672,265 lines). Co-Authored-By: Claude Opus 5.5 --- .github/ISSUE_TEMPLATE/bug-report.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 9f3ee3b2..100f6c89 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -8,8 +8,13 @@ labels: ["bug"] Anything that breaks a security boundary or leaks the key goes to the private channel in SECURITY.md first, not here. For everything else: a report this repo can act on names the version, -reproduces, and shows the bytes. "It stopped working" is not a repro; -`journalctl -u --since ...` pasted in full usually is. +reproduces, and shows the bytes. "It stopped working" is not a repro; the +unit's journal usually is, pasted in full with the key masked (SGLang +prints its server_args, api_key included, at every engine start): + journalctl -u --since ... --until ... | sed -E "s/(api_key(': |=)')[^']*/\1/g" +For a CUDA error, the kernel's lines from the same minutes too: an Xid is +logged there, not in the unit's journal. + sudo journalctl -k --since ... --until ... --> ## Version @@ -26,8 +31,10 @@ the body shape matters more than the client's UI message. --> ## Evidence ``` - + ``` ## Your configuration