mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-05 12:24:28 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c68a89310
commit
a74e0a78fa
1 file changed
+11
-4
@@ -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 <unit> --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 <unit> --since ... --until ... | sed -E "s/(api_key(': |=)')[^']*/\1<masked>/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
|
||||
```
|
||||
<!-- journalctl / docker logs excerpt, /tmp/pins.txt for pin failures, the
|
||||
cockpit diagnostic bundle for lane mysteries (it masks the key). -->
|
||||
<!-- journalctl / docker logs excerpt with the key masked as above (the
|
||||
same sed masks docker logs), the kernel's lines for a CUDA error,
|
||||
/tmp/pins.txt for pin failures, the cockpit diagnostic bundle for lane
|
||||
mysteries (it masks the key). -->
|
||||
```
|
||||
|
||||
## Your configuration
|
||||
|
||||
Reference in new issue
Block a user