Skip to content

ci: add nightly-tests workflow for QEMU RISC-V, GCC TSan, cold-start builds, and issue reporting - #3834

Draft
jihuayu wants to merge 1 commit into
apache:unstablefrom
jihuayu:ci-nightly-tests-3831
Draft

jihuayu wants to merge 1 commit into
apache:unstablefrom
jihuayu:ci-nightly-tests-3831

Conversation

@jihuayu

@jihuayu jihuayu commented Nov 27, 2026

Copy link
Copy Markdown
Member

Part of #3829
Closes #3831

Motivation

Long-tail jobs such as Ubuntu RISC-V GCC without luaJIT (QEMU) (~52 min) and Ubuntu GCC TSan (~79 min, while Clang TSan already guards PRs and Merge Queue in less than half the time) heavily bottleneck PR and Merge Queue throughput. In addition, once ccache is enabled across routine CI builds, a daily uncached cold-start build is needed to catch upstream dependency URL issues or implicit cache assumptions early.

Existing .github/workflows/nightly.yaml (which publishes Docker Hub nightly images on push to unstable) is kept untouched.

Changes

  1. Add .github/workflows/nightly-tests.yaml (schedule: '0 18 * * *' UTC + workflow_dispatch with dry_run option):
    • Ubuntu RISC-V GCC without luaJIT (QEMU) cross-build + C++ unit, Go integration, and kvrocks2redis tests.
    • Ubuntu GCC TSan full build + C++ unit and Go integration tests.
    • Pure Cold-Start Release Build: canonical ./x.py build --unittest with both ccache and KVROCKS_DEPS_CACHE_DIR disabled.
  2. Add .github/scripts/nightly_report.py (+ test_nightly_report.py):
    • Automatically creates or updates a deduplicated ci/nightly issue with failing job/step links when any nightly job fails on apache/kvrocks, and comments + closes the issue automatically once a subsequent run passes.

@jihuayu jihuayu added enhancement type enhancement A-ci area ci labels Nov 27, 2026
@jihuayu jihuayu self-assigned this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ci area ci enhancement type enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: add nightly-tests workflow for QEMU RISC-V, GCC TSan, cold-start builds, and issue reporting

1 participant