[PATCH 0/5] Some assorted fixes for GitLab CI
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Feb 9, 2026, 16:56 UTC
- Message-ID
- <20260209-b4-pks-ci-meson-improvements-v1-0-38444dec4874@pks.im>
Hi,
I recently had the pleasure of debugging a couple of failing MSVC+Windows jobs in GitLab CI, which hasn't been quite fun because we didn't know to print error logs, and neither did we upload the failed test artifacts. This patch series is the result of this frustration and fixes a couple of smaller issues in the context of our CI:
- I noticed that test slicing is slightly wrong because of a
difference between zero- and one-based indices, which causes us to
skip the first test on GitLab. - I deduplicated how we run Meson tests so that both GitLab and GitHub
use the same "run-test-slice-meson.sh" script.- I add logic to handle failing tests via "print-test-failures.sh".
The result can be found at [1]. Note that tests are failing, but those failures are fixed in a separate patch series via [2]. In any case, I guess those test failures also serve as a good demonstration how the failing tests show up now.
Thanks!
Patrick
[1]: https://gitlab.com/gitlab-org/git/-/merge_requests/497 [2]: <20260209-b4-pks-ci-msvc-iconv-fixes-v1-0-1e3167cd8828@pks.im>
---
Patrick Steinhardt (5):
ci: handle failures of test-slice helper
ci: don't skip smallest test slice in GitLab
ci: make test slicing consistent across Meson/Make
gitlab-ci: use "run-test-slice-meson.sh"
gitlab-ci: handle failed tests on MSVC+Meson job.github/workflows/main.yml | 4 ++-- .gitlab-ci.yml | 17 +++++++++++++++-- ci/run-test-slice-meson.sh | 2 +- ci/run-test-slice.sh | 6 +++--- t/helper/test-path-utils.c | 18 ++++++++++++------ 5 files changed, 33 insertions(+), 14 deletions(-)
--- base-commit: 3e0db84c88c57e70ac8be8c196dfa92c5d656fbc change-id: 20260209-b4-pks-ci-meson-improvements-93d8a1ffdd27