For my RISC-V bot I noticed that the smee client crashed a couple of times with:
node:_http_outgoing:628
throw new ERR_INVALID_CHAR('header content', name);
^
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["rawdata"]
at ClientRequest.setHeader (node:_http_outgoing:651:3)
at Request.request (/home/bot/smee/node_modules/superagent/lib/node/index.js:873:39)
at Request.end (/home/bot/smee/node_modules/superagent/lib/node/index.js:989:8)
at Client.onmessage (/home/bot/smee/node_modules/smee-client/index.js:35:13)
at EventSource.emit (node:events:514:28)
at _emit (/home/bot/smee/node_modules/eventsource/lib/eventsource.js:264:17)
at parseEventStreamLine (/home/bot/smee/node_modules/eventsource/lib/eventsource.js:279:9)
at IncomingMessage.<anonymous> (/home/bot/smee/node_modules/eventsource/lib/eventsource.js:238:11)
at IncomingMessage.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12) {
code: 'ERR_INVALID_CHAR'
}
It doesn't really give enough information to understand why/for which message it crashed, but based on timings I already had an assumptions that it could be related to quoting bot messages. Now I just saw that @boegel did that in EESSI/software-layer#1116 (comment), and I checked the RISC-V and AWS bots right after that, and both had indeed crashed. So I guess smee cannot handle something in those messages, perhaps the emojis? Not sure if we can do something about it, but perhaps we can do some filtering somewhere?
For my RISC-V bot I noticed that the smee client crashed a couple of times with:
It doesn't really give enough information to understand why/for which message it crashed, but based on timings I already had an assumptions that it could be related to quoting bot messages. Now I just saw that @boegel did that in EESSI/software-layer#1116 (comment), and I checked the RISC-V and AWS bots right after that, and both had indeed crashed. So I guess smee cannot handle something in those messages, perhaps the emojis? Not sure if we can do something about it, but perhaps we can do some filtering somewhere?