borg-backup-ui icon indicating copy to clipboard operation
borg-backup-ui copied to clipboard

Review Python runtime build 3.13.18+20261110

Open borg-codex-bot opened this issue 3 weeks ago • 0 comments

Verified stable completion (2026-11-13)

The maintainer confirmed successful Unraid tests, approved stable preparation and merged PR #736. The authorized runtime update is now complete in stable 2026.11.13.1206; earlier testing-only and awaiting-publication statements below are historical.

  • PR #736 is merged as fcd54810cc1daf6328e94338a7e3e40f518a0137; main CI and publication completed successfully, including artifact verification, the fresh dependency audit and GitHub publication.
  • stable 2026.11.13.1206 is published (not draft/prerelease). Its tag points to that merge commit. All four release downloads and the main Unraid manifest/package were independently verified.
  • The stable package is byte-identical to maintainer-tested candidate test-candidates/2026.11.13.1206. SHA256: 2050c306cf327b90ea0710230e56a7ffe35d7175fdef636a506010974757665a. Provenance and tested release notes match; no rebuild occurred.
  • The identical package's executed private interpreter reports CPython 3.13.18, SQLite 3.54.1 and OpenSSL 3.5.9; custom build bbui-cpython-3.13.18-sqlite-3.54.1-r1.

The eleven library-update issues #706-#715 and #718 are resolved by this published SQLite 3.54.1 runtime. #716 and #717 retain their separate not-applicable classification (session extension and native CLI absent); SQLite 3.54.1 is not claimed to fix the CLI advisory in #717.

Closing this runtime-update issue as completed. #720 remains OPEN pending two successful protected monitor runs and unchanged-run deduplication evidence. #733 remains OPEN until the original 8 MiB recursive-pickle reproducer passes in a future runtime. Neither follow-up is resolved by this publication.

Earlier assessments and evidence (historical)

Scope: published stable 2026.11.11.1135 and current source. Monitored build: 3.13.18+20261026. Available: 3.13.18+20261110. Source: https://github.com/astral-sh/python-build-standalone/releases/tag/20261110 Urgency: review native-library and security changes, including same-version rebuilds.

Maintainer review

  • [ ] Triage release notes / CVE applicability and fixed versions, including native libraries.
  • [ ] Update the pinned supplier archive and provenance with plugin/python_runtime.py; review licenses and glibc/CPU requirements.
  • [ ] Test both external and private Python, notifications, admin recovery, backup and restore on Unraid 6.12.5 and supported 7.x.
  • [ ] Complete PR CI, publish a test candidate and obtain explicit maintainer test/stable approval before a separate release PR.
  • [ ] Record evidence and any deliberate deferral here. No automatic runtime update is authorized.

Notes outside the monitor block are preserved. Use status::waiting or close as not planned to defer. NVD findings require applicability review and are not a claim that every listed CVE is exploitable in Borg Backup UI.

Authorized remediation (2026-11-13)

The maintainer authorized a source-built CPython 3.13 runtime with SQLite 3.54.1, based on supplier source 9244801782b78e4c4afc5c82a4524aa2101d3298 (20261110). The unmodified supplier build still contains SQLite 3.53.1 and does not fix #706-#715 or #718.

Scope: produce and verify the custom runtime with complete input/output provenance, retain Linux x86_64 and glibc 2.17 compatibility, update component pins and native monitoring to distinguish custom/planned from published stable baselines and detect upstream regressions, then publish and verify a testing candidate through the protected pipeline. Keep CVEs open while the published stable baseline remains affected. No stable release or promotion is authorized.

User impact: the private runtime receives the SQLite security fixes. Release-note fragment required. Implementation branch: codex/732-python-sqlite-3541.

Implementation and validation (2026-11-13)

PR #734 contains the completed source-built input: CPython 3.13.18, SQLite 3.54.1, OpenSSL 3.5.9, ordinary GIL, x86_64 and a verified glibc 2.17 ceiling. Input SHA256: 6c0403566fd6beda472d3496d6e534733821f3462dae9f259e042f56f031624e. No SQLite CLI/session extension is shipped.

Local validation: 130 focused tests passed (3 skipped); supplier distribution checks and the unfiltered SQLite/functools/pickle suites passed; actual private/external Python, offline extraction, isolation, Apprise and ELF checks passed. The optional BOLT stage was disabled after a failed profiling attempt. #733 documents the recursive-pickle 8 MiB stack failure reproduced in the unmodified supplier binary and the custom build; native stress tests use an explicit 16 MiB test stack and runtime defaults remain unchanged. This is not a SQLite regression or a claim of a BOLT-only root cause.

GitHub CI and testing publication completed successfully (evidence below); no stable release is authorized. The monitor distinguishes actual stable from planned source, records positively evidenced fixes and blocks supplier replacements below the SQLite 3.54.1 floor. PR #734 is merged; the scheduled workflow uses the new code, with live verification still outstanding as recorded below.

Verified testing publication

  • Testing version 2026.11.13.1206 is published through the protected main workflow for PR #734. Publish run and CI are successful.
  • CI: 2,507 passed, 9 skipped, no failures; exact GitHub evidence verified by preflight. The unrelated hardlink-ordering packaging failure found in the first CI run was fixed and covered by 26 focused tests under #735.
  • Immutable verified manifest. Tag test-candidates/2026.11.13.1206 and test-channel both identify 7f88931c106c7c71ac606a6cea53b10d75b833b7.
  • Downloaded package: SHA256 2050c306cf327b90ea0710230e56a7ffe35d7175fdef636a506010974757665a, MD5 d63ed9ecaa0070b01d1a8d1334250d0d. Exactly one manifest and one package are present; source/provenance and actual SQLite 3.54.1 were independently verified.
  • #706-#718 now record their individual testing-fix/native-applicability assessment and the remaining stable baseline. No stable artifact was changed or promoted.
  • Read-only live monitor verification completed for 24 component/baseline combinations after transient NVD retries: 13 security findings, 12 fixed-scope annotations, the upstream SQLite regression warning and zero new fix notifications. PR #734 is merged; protected live verification remains outstanding as recorded below.
  • The maintainer has now confirmed successful Unraid testing. The separate upstream recursive-pickle limitation remains tracked in #733; it is not presented as a SQLite regression or as resolved by these fixes.

Post-merge verification for PR #734 (2026-11-13)

  • PR #734 merged as 01211ff40cdf170b9bf3b37c80ed00704a13bfca. Main CI succeeded, reusing the identical-tree source evidence and repeating the dependency audit.
  • The merged tree is identical to tested integration 51cd398983d22cb618ecb42100c3021fd49249ee. Testing candidate 2026.11.13.1206 remains valid; no rebuild, stable release or promotion was performed. Real Unraid acceptance remains separate.
  • The updated monitor code is now on main and selected by the daily 07:17 UTC workflow. Protected live verification is NOT complete: attempt 1 and attempt 2 failed without a completed-scan summary. The logs report a generic upstream/inventory/reconciliation failure. A parallel local read-only probe specifically failed with a TimeoutError while reading the NVD CVE API; the exact GitHub-side exception is not exposed by the workflow log.
  • Do not count these runs as successful activation or unchanged-run deduplication evidence. Two successful protected runs, including unchanged second-run issue/notification counts, remain outstanding when upstream reads succeed. No stale cache or local report was substituted for this live verification.
  • #716 and #717 were manually closed as not applicable, based on the previously verified absence of the session extension and native SQLite CLI in both stable and testing. They remain closed after both failed attempts; this alone does not prove that the monitor's preservation logic ran successfully. The library-update issues remain open for the still-published stable runtime.
  • #735 is closed after its fix merged and main CI passed. The independent upstream recursion limitation remains tracked in #733.

Maintainer Unraid acceptance confirmation

The maintainer confirmed in the current conversation that the Unraid tests for testing candidate 2026.11.13.1206 are completed and successful. The candidate package and its deployable source digest were rechecked against current main 01211ff40cdf170b9bf3b37c80ed00704a13bfca. Package SHA256 remains 2050c306cf327b90ea0710230e56a7ffe35d7175fdef636a506010974757665a; stable promotion will reuse these exact bytes without a rebuild.

The maintainer explicitly authorized stable-release PR preparation for 2026.11.13.1206. The protected workflow completed after the stable environment review by TheTwist76 and created release PR #736. The previously recorded live-monitor verification failures and the independently tracked #733 limitation are not marked resolved by this functional test confirmation.

Stable PR authorization

The maintainer confirmed successful Unraid testing and explicitly requested preparation of the stable-release PR for 2026.11.13.1206 through the pipeline. Workflow passed its dependency audit and completed after the configured stable-environment approval, creating release PR #736. It will reuse the immutable tested package without rebuilding. Release-PR merge remains a maintainer action. The live-monitor verification recorded in #720 and the runtime limitation in #733 remain open and are not treated as fixed by this authorization.

Stable release PR ready

PR #736 was created through the approved protected workflow for version 2026.11.13.1206. Release CI and the artifact-only preflight passed. Commit a4d5808998f01fa64d10ad8081b710d4bb111547 on codex/release-2026.11.13.1206 contains only the permitted release delta and the byte-identical tested package (SHA256 2050c306cf327b90ea0710230e56a7ffe35d7175fdef636a506010974757665a). Waiting for maintainer merge and subsequent verified stable publication. Do not close the remaining stable SQLite CVE issues before that publication. #720 and #733 remain open follow-ups.

borg-codex-bot avatar Nov 11 '26 15:11 borg-codex-bot