Skip to content

mz487: allow squashing pure copydependencies again#488

Draft
mzihlmann wants to merge 20 commits intomainfrom
mz487-fix-squash-copydependency
Draft

mz487: allow squashing pure copydependencies again#488
mzihlmann wants to merge 20 commits intomainfrom
mz487-fix-squash-copydependency

Conversation

@mzihlmann
Copy link
Collaborator

Fixes #487

Description

Our squashing logic has an optimization, we don't even attempt to squash if the stage is not used anyways. However, when we split the meaning of stagesDependencies and copyDependencies in #335, we did not update that optimization. As a result squashing was only applied to the former.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Release Notes

Describe any changes here so maintainer can include it in the release notes, or delete this block.

Examples of user facing changes:
- kaniko adds a new flag `--registry-repo` to override registry

@mzihlmann
Copy link
Collaborator Author

depends on #486 for it's integration tests

@mzihlmann mzihlmann mentioned this pull request Feb 2, 2026
4 tasks
@mzihlmann mzihlmann force-pushed the mz487-fix-squash-copydependency branch from b28a583 to 6b2e539 Compare February 15, 2026 15:25
@mzihlmann mzihlmann force-pushed the mz487-fix-squash-copydependency branch from 6b2e539 to d06c24f Compare February 15, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pure CopyDependencies don't get squashed

1 participant