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

fix: Restore minimal schema #5020

Merged
merged 1 commit into from
Dec 30, 2024
Merged

fix: Restore minimal schema #5020

merged 1 commit into from
Dec 30, 2024

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Dec 30, 2024

Since v6.62.1 minimal schema was not working. This is now fixed.

A change in standard CI scripts aimed at speeding up makefiles broke the assumptions of pulumi-aws specific Makefile extensions in .mk/minimal_schema.mk - that is CI would now run make --touch provider schema which would create an empty provider/cmd/pulumi-resource-aws/schema-minimal-embed.json file instead of recalculating it.

The change in question is: pulumi/ci-mgmt#1157

The fix makes minimal_schema a PHONY target that may be a bit less efficient for rebuilding but is no longer affected by make --touch.

A regression test is added to catch this problem should it reoccur.

Fixes #5016

Since v6.62.1 minimal schema was not working. This is now fixed.

A change in standard CI scripts aimed at speeding up makefiles broke the assumptions of pulumi-aws specific Makefile extensions in .mk/minimal_schema.mk - that is CI would now run `make --touch provider schema` which would create an empty provider/cmd/pulumi-resource-aws/schema-minimal-embed.json file instead of recalculating it.

The change in question is: pulumi/ci-mgmt#1157

The fix makes `minimal_schema` a PHONY target that may be a bit less efficient for rebuilding but is no longer affected by `make --touch`.

A regression test is added to catch this problem should it reoccur.

Fixes #5016
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 24.42%. Comparing base (8b981bc) to head (2b50acc).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5020   +/-   ##
=======================================
  Coverage   24.42%   24.42%           
=======================================
  Files         360      360           
  Lines      143403   143403           
=======================================
  Hits        35023    35023           
  Misses     108281   108281           
  Partials       99       99           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@t0yv0
Copy link
Member Author

t0yv0 commented Dec 30, 2024

/release patch

@t0yv0 t0yv0 enabled auto-merge (squash) December 30, 2024 18:41
@github-actions github-actions bot added the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Dec 30, 2024
@t0yv0 t0yv0 merged commit 02b1b12 into master Dec 30, 2024
25 checks passed
@t0yv0 t0yv0 deleted the t0yv0/fix-minimal-schema branch December 30, 2024 18:59
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v6.66.2.

@github-actions github-actions bot removed the needs-release/patch When a PR with this label merges, it initiates a release of vX.Y.Z+1 label Dec 30, 2024
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.

Minimal schema does not work since 6.62.1
3 participants