Skip to content

fix(ci): upgrade pypdf to 6.21.4 and restore Ubuntu CI baseline - #137

Merged
greenthree merged 1 commit into
mainfrom
codex/restore-ci-baseline
Dec 3, 2026
Merged

greenthree merged 1 commit into
mainfrom
codex/restore-ci-baseline

Conversation

@greenthree

Copy link
Copy Markdown
Owner

Summary

Restore main CI baseline independently from PR #136 (codex/multi-pass-communication):

  1. Python dependency audit (pypdf==6.21.4):
    • Upgrade pypdf from 6.21.2 to 6.21.4 in requirements.txt and regenerate requirements.lock via scripts/update_python_dependency_lock.py (13 pins / 216 artifacts, all 6 Windows/Linux x86_64 Python 3.10–3.12 targets covered, 0 audit exceptions).
    • Resolves the 7 CVEs (CVE-2026-119203..CVE-2026-119209) blocking all 6 python-dependency-audit matrix jobs on main (Run 46410098653) and PR Add multi-pass communication judging and DOMjudge delivery #136.
  2. Ubuntu distro Python PEP 668 scenario (ubuntu-distro-python-install):
    • Pin only jobs.ubuntu-distro-python-install in .github/workflows/ci.yml to ubuntu-24.04 so /usr/bin/python3 stays within supported CPython 3.10–3.12 while preserving the genuine EXTERNALLY-MANAGED PEP 668 system-Python installation path.
    • Add WorkflowSecurityTests.test_ubuntu_distro_python_install_keeps_pep668_distro_python_scenario guard.
  3. Ubuntu 26.04 GCC -O2 peak-memory test fix (test_interactive_linux_peak_memory_survives_process_exit):
    • Touch each 4 KiB page of the 32 MiB std::vector<char> with a volatile accumulator and read memory.back() after sleep_for(200ms) so newer GCC (-O2 on ubuntu-26.04) cannot elide the unused allocation before /proc RSS sampling.

Verification

  • npm run python:lock:check (both runtime & audit locks): passed
  • Isolated runtime venv (requirements.lock + pip check + pypdf==6.21.4 + PROBHUB_RUN_TYPST_E2E=1 test_pdf_processing & test_typst_pdf_integration): 13/13 passed
  • Isolated audit venv (requirements-audit.lock + scripts/audit_python_dependencies.py): ok: true, vulnerabilities: 0, exceptions: []
  • npm run check: 1031 passed, 41 platform-conditional skipped, 0 failures
  • npm run pack:check (243/5), quick_validate.py, git diff --check: passed
  • phtest read-only probhub --json lint (installed 0.7.0): 9 problems, 0 errors, 24 warnings

Kept as Draft pending full CI pass and user merge authorization.

@greenthree
greenthree marked this pull request as ready for review December 3, 2026 11:49
@greenthree
greenthree merged commit fa2177e into main Dec 3, 2026
36 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.

1 participant