Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b6af5ae
Add AI_GUIDLINE for clarification how to use AI agents
leborchuk May 29, 2026
4778113
CI: Add convenience packaging workflow with multi-platform support
tuhaihe May 29, 2026
0169910
ltree: Fix overflows with lquery parsing
michaelpq May 11, 2026
f479a99
Fix overflows with ts_headline()
michaelpq May 11, 2026
b986ad5
Remove test cases for field overflows in intarray and ltree.
tglsfdc May 11, 2026
1b860d5
Use palloc_array() in a few more places to avoid overflow
hlinnaka May 11, 2026
d760ca2
Make palloc_array() and friends safe against integer overflow.
tglsfdc May 11, 2026
e5a3a6a
Adapt ORCA for a935348f7 regression test changes
reshke May 29, 2026
f617cd7
Fix greenplum_path.sh GPHOME resolution under relative symlinks
gfphoenix78 May 26, 2026
bea8e08
Fix PAX CException stack overflow by pass-by-reference and shrinking …
lss602726449 Apr 15, 2026
5d5ce68
Check for CREATE privilege on the schema in CREATE STATISTICS.
nathan-bossart Nov 10, 2025
d71cd7f
libpq: Prevent some overflows of int/size_t
jchampio Nov 10, 2025
96f9c55
Adapt CBDB regression test suite for 07ffe0783
reshke May 31, 2026
fe399e1
pgcrypto: Fix buffer overflow in pgp_pub_decrypt_bytea()
michaelpq Feb 8, 2026
3e0d390
Fix encoding length for EUC_CN.
macdice Feb 4, 2026
673277b
Fix mb2wchar functions on short input.
macdice Jan 25, 2026
f23b882
Guard against unexpected dimensions of oidvector/int2vector.
tglsfdc Feb 9, 2026
e4eb95b
Add a syscache on pg_extension.oid.
tglsfdc Feb 9, 2026
69adc42
Require superuser to install a non-built-in selectivity estimator.
tglsfdc Feb 9, 2026
fcbe4af
Harden _int_matchsel() against being attached to the wrong operator.
tglsfdc Feb 9, 2026
677bb6b
Rebase fixes & RAT check fix
reshke May 31, 2026
c9c59aa
macOS: make PAX's liburing dependency optional
avamingli May 28, 2026
97532c8
macOS: provide HZ fallback for UDP interconnect
avamingli May 28, 2026
7532d7e
Drop -Werror -Wextra -Wpedantic from ORCA C++ build
avamingli May 28, 2026
ec54a65
macOS: defer libpostgres.so's undefined symbols to load time
avamingli May 28, 2026
886596a
macOS: PAX cmake portability
avamingli May 28, 2026
257610e
macOS: PAX C++ portability
avamingli May 28, 2026
e2bf254
macOS: build the standalone libpaxformat reader
avamingli May 28, 2026
5eb48e3
macOS: demote clang-strict warning categories in Makefile.custom
avamingli May 29, 2026
788b3a2
ic_udpifc: fix initSndBufferPool forward declaration
avamingli May 29, 2026
df31f7c
PAX/toast: aux's TOAST goes to pg_toast, aux itself clamped to PERMANENT
gfphoenix78 Jun 3, 2026
7476eb4
Feature: add reject_partition_fullscan extension (#1713)
lqriu Jun 18, 2026
0e75159
PAX: fix SIGSEGV in SUM stats merge during DELETE on minmax columns
gongxun0928 Jul 26, 2026
daed44a
PAX regress: refresh expected outputs for AO-like index routing
yjhjstz May 21, 2026
9d32bd7
Cherry-pick some commits from the main branch
chenjinbao1989 Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Fixes #ISSUE_Number
- [ ] Followed [contribution guide](https://cloudberry.apache.org/contribute/code)
- [ ] Added/updated documentation
- [ ] Reviewed code for security implications
- [ ] This PR contains AI-assisted code generation
- [ ] Requested review from [cloudberry committers](https://github.com/orgs/apache/teams/cloudberry-committers)

### Additional Context
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This directory contains GitHub Actions workflows for Apache Cloudberry CI/CD.
|----------|---------|---------|
| `build-cloudberry.yml` | Main CI: build, test, create RPMs | Push, PR, Manual |
| `build-dbg-cloudberry.yml` | Debug build with assertions enabled | Push, PR, Manual |
| `package-convenience-binaries.yml` | Build convenience DEB/RPM packages from an ASF-approved source release | Manual |
| `apache-rat-audit.yml` | License header compliance check | Push, PR |
| `coverity.yml` | Static code analysis with Coverity | Weekly, Manual |
| `sonarqube.yml` | Code quality analysis with SonarQube | Push to main |
Expand Down Expand Up @@ -74,6 +75,42 @@ Many workflows support manual triggering via `workflow_dispatch`, allowing devel
- `make-installcheck-world` - Full test suite
- And more... (see workflow for complete list)

#### `package-convenience-binaries.yml` - Official source release packaging

This manual workflow supports two manual modes:
- `official_source_release`: builds convenience `DEB/RPM` packages from an ASF-approved official source release
- `git_ref_test`: temporarily archives a specified tag or commit from the repository with `git archive` semantics and runs the same packaging flow for CI validation

| Parameter | Description | Example |
|-----------|-------------|---------|
| `source_mode` | `official_source_release` or temporary `git_ref_test` | `official_source_release` |
| `version` | Official release version | `2.2.0-incubating` |
| `source_url` | Official Apache source tarball URL from `downloads.apache.org` | `https://downloads.apache.org/incubator/cloudberry/2.2.0-incubating/apache-cloudberry-2.2.0-incubating-src.tar.gz` |
| `source_asc_url` | Detached GPG signature URL for the source tarball (`.asc`) | `https://downloads.apache.org/incubator/cloudberry/2.2.0-incubating/apache-cloudberry-2.2.0-incubating-src.tar.gz.asc` |
| `source_sha512_url` | SHA-512 checksum URL for the source tarball (`.sha512`) | `https://downloads.apache.org/incubator/cloudberry/2.2.0-incubating/apache-cloudberry-2.2.0-incubating-src.tar.gz.sha512` |
| `git_ref` | Temporary test-only git tag or commit SHA | `2.1.0-incubating` |

Workflow behavior:
- In `official_source_release` mode, verifies the source tarball with the project `KEYS`, `.asc`, and `.sha512` before any build starts.
- In `git_ref_test` mode, checks out the specified tag or commit and prepares a temporary source tarball using `git archive` semantics, including checked-out submodule contents, without Apache release verification.
- Derives the package build version automatically by stripping a trailing `-incubating` from the release version before invoking the DEB/RPM packaging scripts.
- Runs `unittest-cloudberry.sh` after building from source and before packaging.
- Installs each generated `DEB/RPM`, verifies its `.sha512`, and runs a `gpdemo` smoke test with basic SQL validation.
- Runs the full flow, from source release verification to package generation, inside Cloudberry Docker build images instead of installing dependencies on the GitHub runner.
- Generates `.sha512` files for each produced `DEB/RPM` artifact.
- Preserves the default package filenames emitted by `dpkg-buildpackage` and `rpmbuild`.
- Does not generate detached `.asc` signatures for convenience binaries; that remains a release manager local signing step.

Input rules:
- `official_source_release`: fill `source_url`, `source_asc_url`, and `source_sha512_url`
- `git_ref_test`: fill `git_ref`; the Apache URL inputs may be left empty

Current target matrix:
- `rocky8`: `x86_64`, `arm64`
- `rocky9`: `x86_64`, `arm64`
- `ubuntu22.04`: `x86_64`, `arm64`
- `ubuntu24.04`: `x86_64`, `arm64`

## Artifact Reuse for Faster Testing

When debugging test failures, rebuilding Cloudberry (~50-70 minutes) on every iteration is inefficient. The artifact reuse feature allows you to reuse build artifacts from a previous successful run.
Expand Down
Loading
Loading