Skip to content

Feature: Improve CI speed #66

Open

Description

@t3hmrman

Context

Right now CI speed for each individual run and also when doing releases is pretty slow.

Proposal

There are a few ways we can improve it:

  • Parallelize the builds per version of PG (via cargo pgrx init --pg16=download)
  • Explicit caching of the pg downloads to a cached folder (right now it should cache but doesn't seem to)
  • Caching for steps that are bundled together

While containers should help the build as they have embedded pre-built sources, it might be worth re-evaluating this as builds seem to still do a lot of fresh compilation.

Alternatives

N/A

Additional Links

N/A

27 minute build for a commit to main

Activity

  1. added
    enhancementNew feature or request
    dxDeveloper Experience
    ciContinuous Integration
    releasesRelated to releases
    on Mar 7, 2024
  2. t3hmrman commented on Mar 31, 2025

    @t3hmrman
    MemberAuthor

    Some of this work has happened as a result of other work -- currently the test run (on PRs and pushes to main) takes about 12 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous IntegrationdxDeveloper ExperienceenhancementNew feature or requestinfra/githubreleasesRelated to releases

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions