Skip to content
Merged
Changes from all commits
Commits
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
9 changes: 7 additions & 2 deletions releases.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
18.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-18.4-2025.6.2.7z
18.3 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.3.8/bearsampp-postgresql-18.3-2025.3.8.7z
18.1 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.11.22/bearsampp-postgresql-18.1-2025.7.2.7z
18.1 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-18.1-2025.6.2.7z
17.10 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-17.10-2025.6.2.7z
Comment on lines +1 to +4

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Action required

1. Ci skips release update 🐞 Bug ☼ Reliability

For pull_request events, the postgresql-test workflow only derives versions from changed /bin paths
or from numeric patterns in the PR title; a PR that only edits releases.properties will typically
produce an empty version list and skip the Windows download/extract smoke tests for the newly added
versions.
Agent Prompt
### Issue description
`postgresql-test.yml` skips testing when a PR only updates `releases.properties`, because version detection does not look at that file’s changes and the PR-title regex commonly extracts unrelated numbers (e.g., release tag fragments), resulting in `VERSIONS="[]"` and the test job being skipped.

### Issue Context
This PR adds new top versions in `releases.properties`, but the PR-based version detection in the CI workflow only checks changed `/bin` paths and then falls back to extracting `X.Y` patterns from the PR title.

### Fix Focus Areas
- .github/workflows/postgresql-test.yml[75-165]

### Implementation notes
- Add a detection path for PRs that parses added/modified keys in `releases.properties` (e.g., via `git diff` against the base SHA and extracting `^[0-9]+\.[0-9]+` keys from added lines).
- Use those detected keys to populate `VERSIONS` (and optionally cap to the newest N).
- Keep the existing `/bin` and title-based fallbacks as secondary paths.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

17.9 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.3.8/bearsampp-postgresql-17.9-2025.3.8.7z
17.7 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.11.22/bearsampp-postgresql-17.7-2025.7.2.7z
17.5 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.7.2/bearsampp-postgresql-17.5-2025.7.2.7z
17.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-17.4-2025.2.21.7z
17.2.3 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.13/bearsampp-postgresql-17.2.3-2025.2.13.7z
17.2.1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.12.1/bearsampp-postgresql-17.2.1-2024.12.1.7z
17.0-RC1 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-17.0-RC1-2024.9.18.7z
16.14 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-16.14-2025.6.2.7z
16.13 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.3.8/bearsampp-postgresql-16.13-2025.3.8.7z
16.11 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.11.22/bearsampp-postgresql-16.11-2025.7.2.7z
16.9 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.7.2/bearsampp-postgresql-16.9-2025.7.2.7z
16.8 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-16.8-2025.2.21.7z
16.4 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.9.18/bearsampp-postgresql-16.4-2024.9.18.7z
16.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2024.4.16/bearsampp-postgresql-16.2-2024.4.16.7z
16.0 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.10.9/bearsampp-postgresql-16.0-2023.10.9.7z
15.18 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-15.18-2025.6.2.7z
15.17 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.3.8/bearsampp-postgresql-15.17-2025.3.8.7z
15.15 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.11.22/bearsampp-postgresql-15.15-2025.7.2.7z
15.13 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.7.2/bearsampp-postgresql-15.13-2025.7.2.7z
Expand All @@ -23,7 +27,8 @@
15.3 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.7.23/bearsampp-postgresql-15.3-2023.7.23.7z
15.2 = https://github.com/Bearsampp/module-postgresql/releases/download/2023.4.20/bearsampp-postgresql-15.2-2023.4.24.7z
15.0 = https://github.com/Bearsampp/module-postgresql/releases/download/2022.10.28/bearsampp-postgresql-15.0-2022.10.28.7z
14.22 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.3.8/bearsampp-postgresql-14.22-2025.3.8.7z
14.23 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-14.23-2025.6.2.7z
14.22 = https://github.com/Bearsampp/module-postgresql/releases/download/2026.6.2/bearsampp-postgresql-14.22-2025.6.2.7z
14.20 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.11.22/bearsampp-postgresql-14.20-2025.7.2.7z
14.18 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.7.2/bearsampp-postgresql-14.18-2025.7.2.7z
14.17 = https://github.com/Bearsampp/module-postgresql/releases/download/2025.2.21/bearsampp-postgresql-14.17-2025.2.21.7z
Expand Down
Loading