Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust restore points test for PG 16 #6298

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

jnidzwetzki
Copy link
Contributor

@jnidzwetzki jnidzwetzki commented Nov 9, 2023

Currently, MN is not supported on PG16. Therefore, the creation of distributed restore points fails on PG16. This patch disables the CI test for this PG version.


Disable-check: force-changelog-file
Link to broken CI run: https://github.com/timescale/timescaledb/actions/runs/6808663440/job/18513494748
Link to fixed CI run: https://github.com/timescale/timescaledb/actions/runs/6809128223/job/18514813987?pr=6298

@jnidzwetzki jnidzwetzki added ci pg16 Issue/PR related to support for PG16 labels Nov 9, 2023
Currently, MN is not supported on PG16. Therefore, the creation of
distributed restore points fails on PG16. This patch disables the CI
test for this PG version.
@jnidzwetzki jnidzwetzki force-pushed the additional_tests_workflow branch from 3976221 to 4bc82d7 Compare November 9, 2023 08:18
@@ -297,6 +297,11 @@ if [ ${PG_VERSION_MAJOR} -lt 13 ]; then
exit 1
fi

if [ ${PG_VERSION_MAJOR} -ge 16 ]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check is performed in the shell script and not excluded from the build matrix in the workflow since matrix exclusion would require the exact PG version and needs to be adjusted with every version upgrade.

  exclude:
    - pg: "16.0"

Here, we can perform the test based on the PG major version.

@jnidzwetzki jnidzwetzki marked this pull request as ready for review November 9, 2023 08:24
Copy link

github-actions bot commented Nov 9, 2023

@antekresic, @erimatnor: please review this pull request.

Powered by pull-review

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #6298 (4bc82d7) into main (6e79687) will decrease coverage by 0.07%.
Report is 7 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #6298      +/-   ##
==========================================
- Coverage   65.44%   65.37%   -0.07%     
==========================================
  Files         247      247              
  Lines       57663    57637      -26     
  Branches    12819    12809      -10     
==========================================
- Hits        37736    37679      -57     
- Misses      18087    18109      +22     
- Partials     1840     1849       +9     

see 23 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@@ -4,6 +4,8 @@ name: Additional tests
branches:
- main
- prerelease_test
- trigger/additional_tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this new branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@konskov It is a branch that you can use to trigger this workflow. You can push your local changes into our main repository to trigger this workflow using this branch name.

We have these trigger workflows in other GitHub actions as well (e.g., here and here)

@jnidzwetzki jnidzwetzki merged commit b423d14 into timescale:main Nov 9, 2023
51 checks passed
@jnidzwetzki jnidzwetzki deleted the additional_tests_workflow branch November 9, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci pg16 Issue/PR related to support for PG16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants