CI: the unit job's worker is killed for memory in the four-times-size Markdown cases #830
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#830
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The unit job runs two pytest workers in a job container capped at 2 GB (
forgejo-runner,--memory 2g). Each worker grows towards 1 GB over the suite, and the 160,000-character hostile Markdown cases of tests/security/test_markdown.py tipped one over: the kernel OOM-killed it (ouranos dmesg, 2026-10-10 13:58), xdist reported a crashed worker, and coverage fell under 92 % on runs #804, #810 and #816.Decided 2026-10-10: mark those cases
heavy, leave them out of the default run, and runpytest -m heavy -p no:xdistas a step of its own after the suite.