Skip to content

chore(testcontainers): automate default docling-serve image bump - #798

Merged
edeandrea merged 1 commit into
docling-project:mainfrom
edeandrea:feat/auto-bump-docling-serve-image
Nov 12, 2026
Merged

edeandrea merged 1 commit into
docling-project:mainfrom
edeandrea:feat/auto-bump-docling-serve-image

Conversation

@edeandrea

Copy link
Copy Markdown
Contributor

Closes #797

  • New .github/scripts/docling-serve-image-bump.sh: picks the newest passing stable tag (current major only) from results.md and rewrites DOCLING_IMAGE_VERSION; supports DRY_RUN.
  • version-tests.yml: new updateDefaultImage input (default true); opens a PR for review via peter-evans/create-pull-request.
  • README: documented the auto-bump.

Verified the script against current results (v1.35.0 → v1.38.2) and fixtures (up to date, newest failing, major jump); actionlint clean apart from pre-existing shellcheck notes.

Add a script and version-tests.yml steps that open a PR bumping
DoclingServeContainerConfig.DOCLING_IMAGE_VERSION to the newest
passing docling-serve tag within the current major.

Closes docling-project#797

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Eric Deandrea <eric.deandrea@ibm.com>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 17:51
@edeandrea
edeandrea merged commit f61b80c into docling-project:main Nov 12, 2026
25 checks passed
@edeandrea
edeandrea deleted the feat/auto-bump-docling-serve-image branch November 12, 2026 17:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The workflow skips image bumps on scheduled runs because the unset workflow_dispatch input compares equal to false.

1 open issue
What changed in this PR

Adds automation to propose updates to the default Docling Serve image used by the Testcontainers module, addressing #797 through the existing compatibility-testing workflow.

Changes:

  • Adds a script that selects the newest passing stable tag within the current major version, with dry-run support.
  • Extends the workflow to open an image-update PR for human review, controlled by a new manual-run input.
  • Documents the automation and local usage.
File Description
docling-testing/​docling-version-tests/​README.md Documents automatic image updates and dry-run usage.
.github/​workflows/​version-tests.yml Connects compatibility results to image-update PR creation.
.github/​scripts/​docling-serve-image-bump.sh Selects a passing version and updates the default image constant without downgrading.

Review effort: Balanced


- name: Bump default docling-serve image version
id: bump-image
if: (inputs.updateDefaultImage != false) && (env.IMAGE == 'docling-project/docling-serve') && (env.REGISTRY == 'ghcr.io')
@github-actions

Copy link
Copy Markdown

:java_duke: JaCoCo coverage report

Overall Project 52.46% 🟢

There is no coverage information present for the Files changed

@github-actions

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
Gradle Test Results (all modules & JDKs)2344 ran2344 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

Copy link
Copy Markdown

HTML test reports are available as workflow artifacts (zipped HTML).

• Download: Artifacts for this run

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.

Automatically update docling-serve container version

2 participants