Skip to content

Fix importing a problem archive failed alert with "Array Array Array" #2639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 2, 2024

Conversation

cubercsl
Copy link
Contributor

@cubercsl cubercsl commented Aug 2, 2024

This has already been fixed since a6640d5 (and released in 8.3). Need backport to 8.2 branch.

Closes #2633.

(cherry picked from commit a6640d5)

Nowadays, the messages is a keyed array with the keys being the warning
level. Previously, it was a flat data structure and apparently we didn't
clean up all of them.

There is still a code duplication between the two controller, but moving
this to the Utils class is ugly because it would require passing in the
controller.

Fixes DOMjudge#2633.

(cherry picked from commit a6640d5)
@vmcj
Copy link
Member

vmcj commented Aug 2, 2024

Failing test is the integration, that is to be expected. You should probably pick the version from main as GitLab doesn't use CGroupV1 anymore.

@cubercsl
Copy link
Contributor Author

cubercsl commented Aug 2, 2024

It seems that the CI failed to validate json schema. I'm trying to find the reason...

meisterT and others added 2 commits August 2, 2024 23:55
This is unfortunate but gitlab seems to have enabled cgroups v2 on their
runners and we still use cgroups v1, see DOMjudge#1072

(cherry picked from commit cb9e1a7)
This way, CI doesn't just break when the upstream Contest API
draft specification changes.

(cherry picked from commit 53ccfef)
This fixes the CI as the commit we used to pin to before did not exist anymore.

(cherry picked from commit 5a59d30)
Copy link
Member

@vmcj vmcj left a comment

Choose a reason for hiding this comment

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

Thank you for the PR.

@vmcj vmcj merged commit 7c0c586 into DOMjudge:8.2 Aug 2, 2024
19 checks passed
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.

4 participants