Skip to content

Commit 34cca2c

Browse files
committed
Merge remote-tracking branch 'origin/main' into HEAD
2 parents 0c32b22 + 5dae896 commit 34cca2c

403 files changed

Lines changed: 5478 additions & 129879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ci_settings.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
# ABI_MIN is the minimum postgres version required when the extension was build against LATEST
1212
#
1313

14-
PG15_EARLIEST = "15.10"
15-
PG15_LATEST = "15.18"
16-
PG15_LATEST_WIN = "15.18"
17-
PG15_ABI_MIN = "15.10"
18-
1914
PG16_EARLIEST = "16.6"
2015
PG16_LATEST = "16.14"
2116
PG16_LATEST_WIN = "16.14"
@@ -31,5 +26,5 @@
3126
PG18_LATEST_WIN = "18.4"
3227
PG18_ABI_MIN = "18.0"
3328

34-
PG_LATEST = [PG15_LATEST, PG16_LATEST, PG17_LATEST, PG18_LATEST]
29+
PG_LATEST = [PG16_LATEST, PG17_LATEST, PG18_LATEST]
3530
PG_LATEST_ONLY = [PG17_LATEST]

.github/codecov.asc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
-----BEGIN PGP PUBLIC KEY BLOCK-----
2+
3+
mQINBGCsMn0BEACiCKZOhkbhUjb+obvhH49p3ShjJzU5b/GqAXSDhRhdXUq7ZoGq
4+
KEKCd7sQHrCf16Pi5UVacGIyE9hS93HwY15kMlLwM+lNeAeCglEscOjpCly1qUIr
5+
sN1wjkd2cwDXS6zHBJTqJ7wSOiXbZfTAeKhd6DuLEpmA+Rz4Yc+4qZP+fVxVG3Pv
6+
2v06m+E5CP/JQVQPO8HYi+S36hJImTh+zaDspu+VujSai5KzJ6YKmgwslVNIp5X5
7+
GnEr2uAh5w6UTnt9UQUjFFliAvQ3lPLWzm7DWs6AP9hslYxSWzwbzVF5qbOIjUJL
8+
KfoUpvCYDs2ObgRn8WUQO0nd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sMn0CGwwACgkQgGuyiu13
40+
mGkYWxAAkzF64SVpYvY9nY/QSYikL8UHlyyqirs6eFZ3Mj9lMRpHM2Spn9a3c701
41+
0Ge4wDbRP2oftCyPP+p9pdUA77ifMTlRcoMYX8oXAuyE5RT2emBDiWvSR6hQQ8bZ
42+
WFNXal+bUPpaRiruCCUPD2b8Od1ftzLqbYOosxr/m5Du0uahgOuGw6zlGBJCVOo7
43+
UB2Y++oZ8P7oDGF722opepWQ+bl2a6TRMLNWWlj4UANknyjlhyZZ7PKhWLjoC6MU
44+
dAKcwQUdp+XYLc/3b00bvgju0e99QgHZMX2fN3d3ktdN5Q2fqiAi5R6BmCCO4ISF
45+
o5j10gGU/sdqGHvNhv5C21ibun7HEzMtxBhnhGmytfBJzrsj7GOReePsfTLoCoUq
46+
dFMOAVUDciVfRtL2m8cv42ZJOXtPfDjsFOf8AKJk40/tc8mMMqZP7RVBr9RWOoq5
47+
y9D37NfI6UB8rPZ6qs0a1Vfm8lIh2/k1AFECduXgftMDTsmmXOgXXS37HukGW7AL
48+
QKWiWJQF/XopkXwkyAYpyuyRMZ77oF7nuqLFnl5VVEiRo0Fwu45erebc6ccSwYZU
49+
8pmeSx7s0aJtxCZPSZEKZ3mn0BXOR32Cgs48CjzFWf6PKucTwOy/YO0/4Gt/upNJ
50+
3DyeINcYcKyD08DEIF9f5tLyoiD4xz+N23ltTBoMPyv4f3X/wCQ=
51+
=ch7z
52+
-----END PGP PUBLIC KEY BLOCK-----

.github/gh_matrix_builder.py

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
import random
2828
import subprocess
2929
from ci_settings import (
30-
PG15_EARLIEST,
31-
PG15_LATEST,
3230
PG16_EARLIEST,
3331
PG16_LATEST,
3432
PG17_EARLIEST,
@@ -60,10 +58,6 @@
6058
# Some tests are ignored on PG earlier than 17 due to broken MergeAppend cost model there.
6159
ignored_before_pg17 = default_ignored_tests | {"merge_append_partially_compressed"}
6260

63-
# Some tests are ignored on PG earlier than 16 due to changes in default relation
64-
# size estimates.
65-
ignored_before_pg16 = default_ignored_tests | {"columnar_scan_cost"}
66-
6761
# Tests that we do not run as part of a Flake tests
6862
flaky_exclude_tests = {
6963
# Not executed as a flake test since it easily exhausts available
@@ -188,10 +182,6 @@ def macos_config(overrides):
188182

189183

190184
# always test debug build on latest of all supported pg versions
191-
m["include"].append(
192-
build_debug_config({"pg": PG15_LATEST, "ignored_tests": ignored_before_pg16})
193-
)
194-
195185
m["include"].append(
196186
build_debug_config({"pg": PG16_LATEST, "ignored_tests": ignored_before_pg17})
197187
)
@@ -249,16 +239,6 @@ def macos_config(overrides):
249239
# to a specific branch like prerelease_test we add additional
250240
# entries to the matrix
251241
if not pull_request:
252-
# add debug test for first supported PG15 version
253-
m["include"].append(
254-
build_debug_config(
255-
{
256-
"pg": PG15_EARLIEST,
257-
"ignored_tests": ignored_before_pg16 | {"insert_single"},
258-
}
259-
)
260-
)
261-
262242
# add debug test for first supported PG16 version
263243
m["include"].append(
264244
build_debug_config(
@@ -285,12 +265,6 @@ def macos_config(overrides):
285265
m["include"].append(build_debug_config({"pg": PG18_EARLIEST}))
286266

287267
# add debug tests for timescaledb on latest postgres release in MacOS
288-
m["include"].append(
289-
build_debug_config(
290-
macos_config({"pg": PG15_LATEST, "ignored_tests": ignored_before_pg16})
291-
)
292-
)
293-
294268
m["include"].append(
295269
build_debug_config(
296270
macos_config({"pg": PG16_LATEST, "ignored_tests": ignored_before_pg17})
@@ -302,9 +276,6 @@ def macos_config(overrides):
302276
m["include"].append(build_debug_config(macos_config({"pg": PG18_LATEST})))
303277

304278
# add release test for latest pg releases
305-
m["include"].append(
306-
build_release_config({"pg": PG15_LATEST, "ignored_tests": ignored_before_pg16})
307-
)
308279
m["include"].append(
309280
build_release_config({"pg": PG16_LATEST, "ignored_tests": ignored_before_pg17})
310281
)
@@ -318,26 +289,6 @@ def macos_config(overrides):
318289

319290
# to discover issues with upcoming releases we run CI against
320291
# the stable branches of supported PG releases
321-
m["include"].append(
322-
build_debug_config(
323-
{
324-
"pg": 15,
325-
"ignored_tests": ignored_before_pg16
326-
| {
327-
"bgw_custom",
328-
"bgw_scheduler_restart",
329-
"bgw_job_stat_history_errors_permissions",
330-
"bgw_job_stat_history_errors",
331-
"bgw_job_stat_history",
332-
"bgw_db_scheduler_fixed",
333-
"bgw_reorder_drop_chunks",
334-
"scheduler_fixed",
335-
"compress_bgw_reorder_drop_chunks",
336-
},
337-
"snapshot": "snapshot",
338-
}
339-
)
340-
)
341292
m["include"].append(
342293
build_debug_config(
343294
{

.github/workflows/abi.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,16 @@ jobs:
2222
config:
2323
runs-on: ubuntu-latest
2424
outputs:
25-
pg15_abi_min: ${{ steps.config.outputs.pg15_abi_min }}
2625
pg16_abi_min: ${{ steps.config.outputs.pg16_abi_min }}
2726
pg17_abi_min: ${{ steps.config.outputs.pg17_abi_min }}
2827
pg18_abi_min: ${{ steps.config.outputs.pg18_abi_min }}
29-
pg15_latest: ${{ steps.config.outputs.pg15_latest }}
3028
pg16_latest: ${{ steps.config.outputs.pg16_latest }}
3129
pg17_latest: ${{ steps.config.outputs.pg17_latest }}
3230
pg18_latest: ${{ steps.config.outputs.pg18_latest }}
3331

3432
steps:
3533
- name: Checkout source code
36-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3735
- name: Read configuration
3836
id: config
3937
run: python .github/gh_config_reader.py
@@ -45,13 +43,10 @@ jobs:
4543
strategy:
4644
fail-fast: false
4745
matrix:
48-
pg: [ 15, 16, 17, 18 ]
46+
pg: [ 16, 17, 18 ]
4947
ignores:
5048
- 'net telemetry'
5149
include:
52-
- pg: 15
53-
builder: ${{ fromJson(needs.config.outputs.pg15_abi_min) }}
54-
tester: ${{ fromJson(needs.config.outputs.pg15_latest) }}
5550
- pg: 16
5651
builder: ${{ fromJson(needs.config.outputs.pg16_abi_min) }}
5752
tester: ${{ fromJson(needs.config.outputs.pg16_latest) }}
@@ -65,7 +60,7 @@ jobs:
6560
steps:
6661

6762
- name: Checkout TimescaleDB
68-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6964

7065
- name: Build extension with ${{ matrix.builder }}
7166
run: |

.github/workflows/apt-installcheck.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
image_type=$(lsb_release -i -s | tr '[:upper:]' '[:lower:]')
5353
echo "deb https://packagecloud.io/timescale/timescaledb/${image_type}/ $(lsb_release -c -s) main" \
5454
> /etc/apt/sources.list.d/timescaledb.list
55-
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/timescale_timescaledb.gpg
55+
wget --quiet --tries=6 --waitretry=15 -O - https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/timescale_timescaledb.gpg
5656
5757
- name: Install timescaledb
5858
timeout-minutes: 15
@@ -62,12 +62,12 @@ jobs:
6262
timescaledb-2-postgresql-${{ matrix.pg }} timescaledb-tools
6363
timescaledb-tune --quiet --yes
6464
65-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6666

6767
- name: Get version of latest release
6868
id: versions
6969
run: |
70-
version=$(wget -q https://api.github.com/repos/timescale/timescaledb/releases/latest -O - | jq -r .tag_name)
70+
version=$(wget -q --tries=6 --waitretry=15 https://api.github.com/repos/timescale/timescaledb/releases/latest -O - | jq -r .tag_name)
7171
echo "version=${version}"
7272
echo "version=${version}" >>$GITHUB_OUTPUT
7373
@@ -93,7 +93,7 @@ jobs:
9393
" | tee -a $GITHUB_OUTPUT
9494
9595
- name: Checkout the sources for version ${{ steps.installation.outputs.commit_tag }}
96-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
96+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
9797
with:
9898
ref: ${{ steps.installation.outputs.commit_hash }}
9999

.github/workflows/apt-packages.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix:
2727
arch: [ "x86", "ARM" ]
2828
image: [ "debian:12-slim", "debian:13-slim", "ubuntu:22.04", "ubuntu:24.04", "ubuntu:26.04" ]
29-
pg: [ 15, 16, 17, 18 ]
29+
pg: [ 16, 17, 18 ]
3030
license: [ "TSL", "Apache"]
3131
include:
3232
- license: Apache
@@ -35,10 +35,6 @@ jobs:
3535
runner: "ubuntu-latest"
3636
- arch: "ARM"
3737
runner: "cloud-image-runner-ubuntu-24-arm64"
38-
exclude:
39-
- image: "ubuntu:26.04"
40-
pg: 15
41-
4238

4339
steps:
4440
- name: Add repositories
@@ -51,9 +47,9 @@ jobs:
5147
echo "deb https://packagecloud.io/timescale/timescaledb/${image_type}/ $(lsb_release -c -s) main" \
5248
> /etc/apt/sources.list.d/timescaledb.list
5349
if [ "${{ matrix.image }}" = "ubuntu:22.04" ]; then
54-
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | apt-key add -
50+
wget --quiet --tries=6 --waitretry=15 -O - https://packagecloud.io/timescale/timescaledb/gpgkey | apt-key add -
5551
else
56-
wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/timescale_timescaledb.gpg
52+
wget --quiet --tries=6 --waitretry=15 -O - https://packagecloud.io/timescale/timescaledb/gpgkey | gpg --dearmor -o /etc/apt/trusted.gpg.d/timescale_timescaledb.gpg
5753
fi
5854
5955
@@ -74,12 +70,12 @@ jobs:
7470
run: |
7571
dpkg -L timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }}
7672
77-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
73+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7874

7975
- name: Get version of latest release
8076
id: versions
8177
run: |
82-
version=$(wget -q https://api.github.com/repos/timescale/timescaledb/releases/latest -O - | jq -r .tag_name)
78+
version=$(wget -q --tries=6 --waitretry=15 https://api.github.com/repos/timescale/timescaledb/releases/latest -O - | jq -r .tag_name)
8379
echo "version=${version}"
8480
echo "version=${version}" >>$GITHUB_OUTPUT
8581
@@ -101,7 +97,7 @@ jobs:
10197
run: |
10298
# Since this runs nightly on main we have to get the previous version
10399
# from the last released version and not current branch.
104-
prev_version=$(wget --quiet -O - \
100+
prev_version=$(wget --quiet --tries=6 --waitretry=15 -O - \
105101
https://raw.githubusercontent.com/timescale/timescaledb/${{ steps.versions.outputs.version }}/version.config \
106102
| grep previous_version | sed -e 's!previous_version = !!')
107103
sudo -u postgres psql -X -c "ALTER EXTENSION timescaledb UPDATE TO '${prev_version}'" \

.github/workflows/backport-trigger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: timescaledb-runner-arm64
1515
steps:
1616
- name: Checkout TimescaleDB
17-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818

1919
- name: Trigger the Backport Workflow
2020
env:

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pip install PyGithub requests
3535
3636
- name: Checkout TimescaleDB
37-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3838
with:
3939
token: ${{ secrets.ORG_AUTOMATION_TOKEN }}
4040

.github/workflows/build-deb-artifacts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
WORKFLOW_REPO: timescale/release-build-scripts
2525
WORKFLOW_FILE: timescaledb-apt.yml
2626
steps:
27-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2828

2929
- name: Compute build inputs
3030
id: compute

.github/workflows/catalog-updates-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: timescaledb-runner-arm64
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515
with:
1616
fetch-depth: 0
1717
- name: Install pglast

0 commit comments

Comments
 (0)