Skip to content

ci: make engine generate return a minimal diff - #9008

Merged
jedevc merged 2 commits into
dagger:mainfrom
jedevc:fix-engine-generate
Nov 21, 2024
Merged

jedevc merged 2 commits into
dagger:mainfrom
jedevc:fix-engine-generate

Conversation

@jedevc

@jedevc jedevc commented Nov 20, 2024

Copy link
Copy Markdown
Contributor

Follow-up from #8665.

Without this, we'd actually keep all the contents like docs entirely as is - when we later composed all the files together, we'd actually overwrite the newly generated files. This meant that generate didn't actually regenerate any files on an API schema change.

So we can just take the diff, and now we can compose these all together!

Without this, we'd actually keep all the contents like `docs` entirely
as is - when we later composed all the files together, we'd actually
overwrite the newly generated files. This meant that `generate` didn't
actually regenerate any files on an API schema change.

So we can just take the diff, and now we can compose these all together!

Signed-off-by: Justin Chadwell <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
@jedevc
jedevc force-pushed the fix-engine-generate branch from 1617651 to 2ca8e68 Compare November 21, 2024 14:02
@jedevc
jedevc merged commit 99f40f8 into dagger:main Nov 21, 2024
@jedevc
jedevc deleted the fix-engine-generate branch November 21, 2024 17:18
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.

2 participants