Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refactor DefaultStages to take StageConfig #8173

Merged
merged 6 commits into from May 12, 2024
Merged

Conversation

joshieDo
Copy link
Collaborator

@joshieDo joshieDo commented May 8, 2024

Feel like DefaultStages is in a weird place and building a pipeline has a lot of inertia.

We always call it, but end up overriding the stages to pass StageConfig values. In some cases, we don't pass them , even though we should.

So proposing DefaultStages to take these configuration values in the first place, and let the inner builders populate the initializations

@joshieDo joshieDo added A-staged-sync Related to staged sync (pipelines and stages) C-debt A section of code is hard to understand or change labels May 8, 2024
@joshieDo joshieDo marked this pull request as ready for review May 9, 2024 18:30
@joshieDo joshieDo added this pull request to the merge queue May 12, 2024
Merged via the queue into main with commit d9f9504 May 12, 2024
28 checks passed
@joshieDo joshieDo deleted the joshie/stageconf branch May 12, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-staged-sync Related to staged sync (pipelines and stages) C-debt A section of code is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants