Skip to content

Parallelize source hydrator manifest generation #24451

@crenshaw-dev

Description

@crenshaw-dev

Summary

Today when the Source Hydrator generates manifests for a group of apps destined for the same target branch, it does so in series. We should do it in parallel.

Motivation

Hydrating in series is slow.

Proposal

Use an errgroup to run the hydrations in parallel. Use a context so that we fail fast if there's an error.

Eventually we should probably implement parallelism limits, jitter, etc. But for now just a simple errgroup will do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:hydratorIssue related to the Source Hydrator and commit serverenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions