Skip to content

ci: stabilize release/3.16 CI environment - #14095

Merged
juzhiyuan merged 1 commit into
apache:release/3.16from
kayx23:ci/backport-ubuntu2604-316
Oct 28, 2026
Merged

juzhiyuan merged 1 commit into
apache:release/3.16from
kayx23:ci/backport-ubuntu2604-316

Conversation

@kayx23

@kayx23 kayx23 commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Why this PR is needed

This maintenance branch has three independent sources of CI drift:

  1. GitHub is moving ubuntu-latest from Ubuntu 24.04 to Ubuntu 26.04. The branch was validated against the former environment, so its active workflows are pinned to ubuntu-24.04 instead of backporting current runtime and product changes.
  2. The CI bootstrap installs the latest pnpm dynamically. pnpm 12 now rejects pnpm setup when the installer is invoked through sudo, causing the build, Kubernetes, and Tars jobs to stop during setup. This PR applies the same narrow fix already used by APISIX 3.19 in fix(ci): unbreak CI under pnpm 12 #13921: activate the last known-good pnpm@11.25.0. It does not change Node.js or application dependencies.
  3. Debian 11 Bullseye reached the end of LTS on August 31, 2026. Its packages moved away from the normal mirrors, so the development Docker build now receives 404 responses. The Dockerfile switches from debian:bullseye-slim to the official debian/eol:bullseye image, which uses Debian's archive repositories. This preserves Bullseye rather than upgrading a historical branch to Bookworm.

After those environment fixes, CI exposed existing test-stability problems:

  • The XRPC Prometheus test could scrape before its per-worker metrics had been flushed, and the Redis test could perform arithmetic on ngx.null before a counter existed. This PR backports the test-only fix from test(xrpc): fix first-run failures in redis.t and prometheus.t #13507.
  • The stream Prometheus and DNS CLI tests used fixed sleeps while startup, route propagation, DNS preread handling, and exporter-cache population are asynchronous. This PR backports only the relevant readiness and bounded-probe changes from test(ci): fix flaky tests #13266.
  • The etcd synchronization test used a fixed five-second sleep after toggling authentication, but watch reconnection and bulk event application can take longer. After this exact Round 2 Request 1 unexpected failure occurred, this PR backports the bounded readiness poll from test(ci): fix flaky tests #13332.
  • The OpenID Connect logout tests contacted live Auth0 and Google discovery endpoints, and Auth0's current certificate chain could not be verified by this historical branch. This is not a runner race, and rerunning cannot repair an external certificate chain. This PR backports the local-fixture test fix from test(openid-connect): stop logout tests from calling live IdPs #13608 while preserving the logout assertions.

A rerun can sometimes hide timing races but cannot remove them. These already-reviewed test-only fixes make CI deterministic without changing product code or application dependencies.

Changes

Validation

juzhiyuan
juzhiyuan previously approved these changes Oct 27, 2026
Yilialinn
Yilialinn previously approved these changes Oct 27, 2026
@kayx23
kayx23 dismissed stale reviews from Yilialinn and juzhiyuan via 5278031 October 27, 2026 06:13
@kayx23 kayx23 changed the title ci: backport Ubuntu 26.04 support to 3.16 ci: pin release/3.16 runners to Ubuntu 24.04 Oct 27, 2026
@kayx23
kayx23 force-pushed the ci/backport-ubuntu2604-316 branch 2 times, most recently from 4f5684e to 69926ba Compare October 27, 2026 07:06
@kayx23 kayx23 changed the title ci: pin release/3.16 runners to Ubuntu 24.04 ci: stabilize release/3.16 CI environment Oct 27, 2026
@kayx23
kayx23 force-pushed the ci/backport-ubuntu2604-316 branch 4 times, most recently from a6525f6 to 5494c67 Compare October 27, 2026 09:23
@kayx23
kayx23 force-pushed the ci/backport-ubuntu2604-316 branch from 5494c67 to 00aee00 Compare October 27, 2026 09:39
@kayx23
kayx23 requested review from Yilialinn and juzhiyuan October 27, 2026 17:36
@juzhiyuan
juzhiyuan merged commit 2e41707 into apache:release/3.16 Oct 28, 2026
21 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.

4 participants