tests: do not download all PG versions - #271
Conversation
Thinking was that downloading less data from cache will improve build times but there's no material difference even though we are downloading a smaller size with this PR's change (shaving off ~164 MB): Old: New: I guess network download is not on the critical path. |
Right, I guess it can't hurt though so I'll proceed with the review. |
|
Github stacks are new to me but this looks good to merge independently of the other PR |
I'm in the same boat, was experimenting with them and the basic idea is that you can keep interdependent PR branches updated automatically with GH stacks instead of manually rebasing when a dependency branch has new commits. I just wanted this PR to reuse the flaky test fixes, but as you said it's not really dependent on the other PR, so I'll detach it from the stack and merge. |
By the way, the slowest test is Old: New: |
xpg version 2.5.0 added support for downloading only one version of Postgres. This PR bumps xpg to 2.5.0 and uses it to download only the versions needed in a test workflow. This change downloads ~164 MBs less than previous versions.