Commit 1da4ee3
test(server): failing test for xorq infinite_request traceback leak
#798: ``handle_infinite_request_xorq`` returns ``traceback.format_exc()``
in the ``error_info`` field unconditionally — leaking server source
paths and stack frames to WS clients. The pandas-path handler in
``websocket_handler.py`` correctly gates this on ``BUCKAROO_DEBUG``.
Test triggers the exception path with a sort key that doesn't exist in
``merged_sd`` (raises ``KeyError``), then asserts ``error_info`` does
not start with ``"Traceback"``. Fails today; will pass once the xorq
handler gates the traceback behind ``BUCKAROO_DEBUG``.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7a75b5b commit 1da4ee3
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
144 | 184 | | |
145 | 185 | | |
146 | 186 | | |
| |||
0 commit comments