Piotr Krzemiński
05/01/2025, 8:17 AMVampire
05/01/2025, 9:37 AMVampire
05/01/2025, 9:39 AMPiotr Krzemiński
05/01/2025, 9:39 AMVampire
05/01/2025, 9:44 AMLast updated at 2025-04-30 231932
So even with file logging the logs would have been gone, unless it is logged to a persisted volume, just changing logging config would not have been enough for this case
Vampire
05/01/2025, 9:45 AMVampire
05/01/2025, 9:48 AMVampire
05/01/2025, 9:48 AMPiotr Krzemiński
05/01/2025, 9:50 AMPiotr Krzemiński
05/01/2025, 9:59 AMPiotr Krzemiński
05/01/2025, 10:53 AMVampire
05/01/2025, 11:45 AMVampire
05/01/2025, 11:50 AMPiotr Krzemiński
05/01/2025, 11:50 AMPiotr Krzemiński
05/01/2025, 11:51 AMPiotr Krzemiński
05/01/2025, 11:51 AMVampire
05/01/2025, 11:51 AMPiotr Krzemiński
05/01/2025, 11:57 AMLeoColman
05/01/2025, 12:04 PMVampire
05/01/2025, 1:25 PMI got an e-mail from Grafana today around 5 AM CETYes, me too, but try to click the link in it 😉
Piotr Krzemiński
05/01/2025, 1:26 PMPiotr Krzemiński
05/01/2025, 1:37 PMVampire
05/01/2025, 1:43 PMVampire
05/01/2025, 1:44 PMPiotr Krzemiński
05/01/2025, 1:57 PMPiotr Krzemiński
05/02/2025, 8:25 AMVampire
05/02/2025, 8:32 AMVampire
05/02/2025, 8:33 AMVampire
05/02/2025, 8:33 AMPiotr Krzemiński
05/02/2025, 8:37 AMPiotr Krzemiński
05/02/2025, 12:21 PMroot@87dd34e499b2:/logs# grep -Ri "error" *
server.log:2025-05-02 12:15:51,962 <INFO > <eventLoopGroupProxy-4-8 > <[]> <{request-id=x6xj2ii2d658alm}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__analyze___major/maven-metadata.xml in 8760ms
server.log:2025-05-02 12:15:51,964 <INFO > <eventLoopGroupProxy-4-6 > <[]> <{request-id=4geip7b434ptze2}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__init___major/maven-metadata.xml in 8779ms
server.log:2025-05-02 12:15:53,071 <INFO > <eventLoopGroupProxy-4-7 > <[]> <{request-id=ypjk1l5coe6n9l2}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__init___major/maven-metadata.xml in 7ms
server.log:2025-05-02 12:15:53,154 <INFO > <eventLoopGroupProxy-4-7 > <[]> <{request-id=uvi9egn6qeks3zw}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__analyze___major/maven-metadata.xml in 2ms
server.log:2025-05-02 12:15:55,215 <INFO > <eventLoopGroupProxy-4-1 > <[]> <{request-id=d8ki05ivaabd9vi}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__init___major/maven-metadata.xml in 3ms
server.log:2025-05-02 12:15:55,263 <INFO > <eventLoopGroupProxy-4-1 > <[]> <{request-id=dpgdzynuxlegw27}> < io.ktor.server.Application> 500 Internal Server Error: GET - /github/codeql-action__analyze___major/maven-metadata.xml in 4ms
reproduces by going to https://bindings.krzeminski.it/github/codeql-action__analyze___major/maven-metadata.xmlPiotr Krzemiński
05/02/2025, 12:23 PMPiotr Krzemiński
05/02/2025, 12:24 PMPiotr Krzemiński
05/02/2025, 12:25 PMPiotr Krzemiński
05/02/2025, 12:25 PMPiotr Krzemiński
05/02/2025, 12:26 PMVampire
05/02/2025, 12:52 PMResult
, so exceptions during generation are cached too, as usually they should deterministically reappear too hopefully. But maybe null
should be cached too have the 404 cached, but exceptions not. So basically we should probably stop having Result
in the cache, but Result#right
. If there are exceptions just try again next time and if it fails again, that's maybe fine and should be fixed anyway.
That the details are missing is maybe still caused by not using the lib for the GH calls but ktor-client? You probably again have to raise the log level to ALL
to get the cause displayed, it implementing the switch to the lib.Piotr Krzemiński
05/02/2025, 12:54 PMI think the 404 fix just demeasked it.yeah, I also think so what you propose about storing only result of a successful generation makes sense!
Piotr Krzemiński
05/02/2025, 12:55 PMLeoColman
05/02/2025, 3:19 PMLeoColman
05/02/2025, 3:19 PMPiotr Krzemiński
05/02/2025, 4:05 PMPiotr Krzemiński
05/03/2025, 6:07 AMPiotr Krzemiński
05/03/2025, 12:16 PMPiotr Krzemiński
05/03/2025, 2:59 PMLeoColman
05/03/2025, 3:00 PMVampire
05/04/2025, 11:10 PMVampire
05/04/2025, 11:11 PMLeoColman
05/04/2025, 11:15 PMLeoColman
05/04/2025, 11:15 PMVampire
05/04/2025, 11:15 PMLeoColman
05/04/2025, 11:16 PMLeoColman
05/04/2025, 11:17 PMVampire
05/04/2025, 11:18 PMPiotr Krzemiński
05/05/2025, 8:10 AM