Skip to content

ci: restore working CI for the 0.3.x branch - #1274

Merged
kabir merged 4 commits into
a2aproject:0.3.xfrom
Evader-lgb:ci/03x-triggers
Nov 3, 2026
Merged

kabir merged 4 commits into
a2aproject:0.3.xfrom
Evader-lgb:ci/03x-triggers

Conversation

@Evader-lgb

Copy link
Copy Markdown

Following up on #1256, this gets the 0.3.x CI into a working state, as discussed.

Verified end-to-end in my fork at commit 31241f02 — all four workflows green (Build and Test, Run TCK, Cloud Deployment, Conventional Commits):

1. Scope workflow triggers to the 0.3.x branch (build-and-test, run-tck, cloud-deployment-example, build-with-release-profile, conventional-commits). Push/pull_request runs always load workflows from the event's own ref, so main needs no changes; the only default-branch listener (build-with-release-profile-run.yml) already allowlists 0.3.x.

2. run-tck: pin Python 3.13. The TCK pyproject declares requires-python >=3.8.1 with no upper bound, so python-version-file resolved to 3.15, where the PyO3-based deps (cachebox via deepdiff) fail to build. With 3.13 pinned, the TCK runs end-to-end and passes on JDK 17/21/25.

3. build-and-test: skip docker-dependent replication tests on CI via -DskipDockerTests=true (the flag build-and-test.yml on main already references; wired here with a property alias so plain -DskipTests keeps working). These tests boot Quarkus Dev Services (Redpanda via Testcontainers); on current ubuntu-latest runners (Docker 29.x, API minimum 1.40) the Testcontainers client of the Quarkus 3.28.x stack cannot detect the Docker daemon — even though Docker itself works (the Kind-based cloud-deployment job passes on the same image). main runs these tests on the newer Quarkus stack. They still run locally wherever Docker is available.

Not touched, per your notes: release-please.yml and release-to-maven-central.yml (tag-driven deploys stay as-is; worst case a 0.3.x release can be deployed manually).

Happy to rework any part — e.g. if you'd rather fix the Testcontainers/Docker 29 detection instead of skipping the docker tests, I can keep digging.

Scope the push/pull_request triggers of the workflows living in the
0.3.x tree to the 0.3.x branch only, so maintenance-branch CI no longer
fires for unrelated branches. Workflow definitions on main are not
affected: push/pull_request runs always load workflows from the event's
own ref, and the only default-branch listener
(build-with-release-profile-run.yml) already allowlists 0.3.x.
The TCK pyproject only declares requires-python >=3.8.1, so
python-version-file resolves to the latest Python (3.15), whose
PyO3-based dependencies (cachebox via deepdiff) fail to build.
Pin 3.13 explicitly until the TCK declares an upper bound.
The replication integration tests boot Quarkus Dev Services (Redpanda
via Testcontainers). On current GitHub runners (Docker 29.x) the
Testcontainers client of the Quarkus 3.28.x stack cannot detect the
Docker daemon ('Could not find a valid Docker environment'), so
build-and-test always fails there. main runs these tests on a newer
Quarkus/Testcontainers stack.

Add a skipDockerTests surefire switch to the two replication test
modules (default false, mirroring the flag name used on main) and
enable it in build-and-test.yml. The tests still run locally and
wherever a compatible Docker/Testcontainers combination is available.
An explicit <skipTests> surefire configuration would shadow the standard
-DskipTests user property, breaking workflows like run-tck and
cloud-deployment-example that rely on it. Alias the skipTests property
to skipDockerTests in the module properties instead, so both
-DskipDockerTests=true and -DskipTests=true skip the docker-dependent
tests.
@kabir

kabir commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Thanks @Evader-lgb

@kabir
kabir merged commit 078f8be into a2aproject:0.3.x Nov 3, 2026
9 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.

2 participants