Skip to content

Refresh example certificate trust and build runtimes - #168

Merged
bobbyhouse merged 2 commits into
mainfrom
fix/inc663-example-certificate-trust
Oct 23, 2026
Merged

bobbyhouse merged 2 commits into
mainfrom
fix/inc663-example-certificate-trust

Conversation

@bobbyhouse

@bobbyhouse bobbyhouse commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The example Python locks still pin certifi 2025.6.15, and the Go example builds with Go 1.24.1 and runs Alpine 3.19. Refresh the maintained Python/Go/Node build surfaces for the certificate distrust incident and document how users replace existing example images.

  • Add certifi >=2026.10.19 to the seven Python projects and regenerate all six uv locks with uv 0.13.4 and the Poetry lock with the original Poetry 2.1.1. uv locks resolve 2026.10.19; Poetry resolves the later compatible 2026.10.23. No other package versions change. Add the same floor to the requirements-based Python image.
  • Pin uv 0.13.4, refresh Python images to explicit Debian 13 slim variants, upgrade pip to >=26.2.2, and fail builds if the installed system CA package is older than 20250419+deb13u1.
  • Build the Go example with Go 1.26.10, move its runtime to Alpine 3.22, and require ca-certificates >=20261020-r0 in the builder/runtime and the LangGraph importer.
  • Pin the previously floating Node UI image to Node 26.12.1 on Debian 12 and enforce CA package >=20250419~deb12u2.

Validation:

  • Six uv lock --check --python 3.13 --offline checks and poetry check --lock pass; independent TOML comparisons confirm every non-certifi package name/version is unchanged.
  • Downloaded both wheel and source artifacts for certifi 2026.10.19 and 2026.10.23 and independently verified PyPI SHA256 hashes and byte sizes.
  • Built Dockerfile.tools --target yamllint successfully with a refreshed Python 3.13 base. The image reports ca-certificates 20250419+deb13u1 and pip 26.2.2; HTTPS positive control against PyPI returns 200 using system trust. A separate certifi 2026.10.19 positive control also returns 200.
  • Pulled and executed golang:1.26.10-alpine: Go 1.26.10 and installation of the required Alpine CA package succeed. The Node image manifest resolves; its runtime probe could not complete because the shared sandbox disk filled during layer extraction.
  • LangGraph CI rerun passes both the Docker Compose image build and formatting/lint/type checks after the interpreter selection repair. Remaining CI is still in progress.
  • git diff --check passes. Both commits have GitHub-verified SSH signatures.

CI initially exposed a pre-existing LangGraph interpreter-selection issue: uv chose Python 3.15.1, while the unchanged ormsgpack/PyO3 dependency only supports through Python 3.14. Pin that check job to Python 3.13, matching its container runtime and the other Python CI jobs, so the checks execute against the supported example interpreter.

This is a draft pending the example CI/functional matrix and review of the runtime changes. The complete example build matrix is still running in CI; model/API journeys, compromised-chain fixture tests, and existing-installation replacements have not been completed. Temurin Java trust and third-party images remain explicitly unverified in the linked documentation; this PR does not close those incident work items. Refreshing the OS bundle alone does not verify Java or another embedded trust store.

@bobbyhouse
bobbyhouse marked this pull request as ready for review October 23, 2026 19:36
@bobbyhouse
bobbyhouse requested a review from saucow October 23, 2026 19:36
@bobbyhouse
bobbyhouse merged commit 2bb5413 into main Oct 23, 2026
19 checks passed
@bobbyhouse
bobbyhouse deleted the fix/inc663-example-certificate-trust branch October 23, 2026 20:09

@saucow saucow left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Floors line up with the INC-663 guidance and upstream sources: certifi >=2026.10.19 (GHSA-6q48-6c7w-9gw2), Go 1.26.10, Debian ca-certificates 20250419+deb13u1 (trixie-security, DSA-6572-1) and 20250419~deb12u2 (bookworm-security), Alpine 20261020-r0. All Python/Go/Node Dockerfiles and the seven locks are covered; the Temurin examples are explicitly called out as out of scope in the new doc. CI is green. LGTM.

One nit before merging: the description still says "This is a draft pending the example CI/functional matrix", but the PR is not a draft and the matrix passed. Please refresh that paragraph.

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.

2 participants