Skip to content

Conversation

eldering
Copy link
Member

This (typically?) happens while cancelling a rejudging while there are judgedaemons actively judging. Fixes errors like

[Nov 23 13:34:53.075] judgedaemon[526392]: warning: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts/add-judging-run/tiger-1/1555747: http status code: 500, request size = 67745, response: array (
  'code' => 500,
  'message' => 'internal bug: the evaluated result changed during judging',
  'class' => 'BadMethodCallException',
  'trace' =>
  array (
    0 =>
    array (
      'namespace' => '',
      'short_class' => '',
      'class' => '',
      'type' => '',
      'function' => '',
      'file' => '/home/jaap/domjudge/git/domjudge/webapp/src/Controller/API/JudgehostController.php',
      'line' => 1053,
      'args' =>
      array (
      ),
    ),
...

This (typically?) happens while cancelling a rejudging while
there are judgedaemons actively judging. Fixes errors like
```
[Nov 23 13:34:53.075] judgedaemon[526392]: warning: Error while executing curl POST to url http://localhost/domjudge/api/judgehosts/add-judging-run/tiger-1/1555747: http status code: 500, request size = 67745, response: array (
  'code' => 500,
  'message' => 'internal bug: the evaluated result changed during judging',
  'class' => 'BadMethodCallException',
  'trace' =>
  array (
    0 =>
    array (
      'namespace' => '',
      'short_class' => '',
      'class' => '',
      'type' => '',
      'function' => '',
      'file' => '/home/jaap/domjudge/git/domjudge/webapp/src/Controller/API/JudgehostController.php',
      'line' => 1053,
      'args' =>
      array (
      ),
    ),
...
```
@eldering eldering requested a review from meisterT November 23, 2024 14:20
@eldering eldering added this pull request to the merge queue Nov 23, 2024
Copy link
Contributor

@tuupke tuupke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Merged via the queue into main with commit bb5d4c8 Nov 23, 2024
34 checks passed
@eldering eldering deleted the skip-aborted-judgings branch November 23, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants