Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Conversation

hc-github-team-waypoint
Copy link
Collaborator

Backport

This PR is auto-generated from #4744 to be assessed for backporting due to the inclusion of the label backport/0.11.x.

The below text is copied from the body of the original PR.


Prior to this commit, if a config had many pipeline stanzas, say more than 6, each time we would parse a pipeline via the hcl EvalContext we would append that context to the current one to capture any additional parts of the config. Given that we are evaluating the entire config file and not parts of it, this action was redundant. Additionally, it made parsing many pipeline configs slow for each appended context.

This fixes it by removing the append. We don't need to append this, given we have the full config context each time we parse pipelines.

Thank you @jgwhite and @sdav9375 for identifying this!


Overview of commits

@hc-github-team-waypoint hc-github-team-waypoint force-pushed the backport/bug/pipelines/dont-append-same-context/curiously-dear-mollusk branch from 9e0b5e0 to 3f846a5 Compare May 25, 2023 20:00
@hc-github-team-waypoint hc-github-team-waypoint merged commit fbae194 into release/0.11.x May 25, 2023
@hc-github-team-waypoint hc-github-team-waypoint deleted the backport/bug/pipelines/dont-append-same-context/curiously-dear-mollusk branch May 25, 2023 20:00
@vercel vercel bot temporarily deployed to Preview – waypoint-ui May 25, 2023 20:03 Inactive
@vercel vercel bot temporarily deployed to Preview – waypoint May 25, 2023 20:08 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants