Skip to content

Pin the Db2 oracle image's libxml2 premise (Part of #5048) - #5724

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5048-libxml2-pin
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5048-libxml2-pin

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: done [c:a81e1aa4]

The item (gnucobol-db2.Dockerfile: apt-get install libxml2 ... || true) was already fixed on main by #5097: the apt step was dropped, since libcob4 in the base image supplies libxml2. This PR only pins that premise with a test, so a later change to the base image can't silently drop the dependency.

  • New test in tests/cobol_mainframe/test_db2_odbc_pin.py: the db2 Dockerfile has no apt-get, and gnucobol.Dockerfile installs libcob4=.
  • Neither Dockerfile is touched: evidence.py hashes them into every tests/equivalence/*/evidence.json, so an edit would stale all of them.
  • Gates: test_db2_odbc_pin.py + test_docker_build_retry.py 46 passed; ruff format --check clean; ruff_audit.py --ci no new findings.
  • Not verified: that libcob4 depends on libxml2 (no docker in this session); the test pins only the package presence.

Sibling gaps (none needed by a burned-estate program; CI infrastructure): pip install --require-hashes workflow steps, actions/checkout and corpus git clone steps, Muninn Docker Hub pulls (#5265 in flight).

Lessons for agents

  • A checklist item can already be done on main by an earlier "Part of" PR; check git log -- <file> before planning code.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 10:40
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 10:43
@squid-protocol
squid-protocol merged commit fff257a into main Oct 20, 2026
47 checks passed
@squid-protocol
squid-protocol deleted the churn/5048-libxml2-pin branch October 20, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant