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

[snapshot] Elide writes for RRO with no changes #15976

Merged
merged 5 commits into from
Apr 18, 2024
Merged

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Apr 18, 2024

These changes elide checkpoint writes for RegisterResourceOutputs steps if the associated resource's outputs have not changed. This can eliminate unnecessary snapshot writes for stacks with large numbers of component resources whose outputs do not change.

These changes elide checkpoint writes for RegisterResourceOutputs steps
if the associated resource's outputs have not changed. This can
eliminate unnecessary snapshot writes for stacks with large numbers of
component resources whose outputs do not change.
@pgavlin pgavlin requested a review from a team as a code owner April 18, 2024 05:36
@pgavlin
Copy link
Member Author

pgavlin commented Apr 18, 2024

Working on tests tomorrow.

@pulumi-bot
Copy link
Contributor

pulumi-bot commented Apr 18, 2024

Changelog

[uncommitted] (2024-04-18)

Features

  • [backend/{diy,service}] Elide state file writes for unchanged component outputs
    #15976

@pgavlin
Copy link
Member Author

pgavlin commented Apr 18, 2024

This is ready to review.

Copy link
Contributor

@PollRobots PollRobots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

pkg/backend/snapshot.go Outdated Show resolved Hide resolved
@pgavlin pgavlin enabled auto-merge April 18, 2024 18:04
@pgavlin pgavlin added this pull request to the merge queue Apr 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 18, 2024
@pgavlin pgavlin added this pull request to the merge queue Apr 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 18, 2024
@justinvp
Copy link
Member

[CI / Acceptance Test / tests on windows-latest/current](https://github.com/pulumi/pulumi/actions/runs/8744119657/job/23996539719)
The hosted runner encountered an error while running your job. (Error Type: Disconnect).

@justinvp justinvp added this pull request to the merge queue Apr 18, 2024
@justinvp justinvp mentioned this pull request Apr 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 18, 2024
@justinvp
Copy link
Member

Sigh

+ gh release download v0.10.0 --repo pulumi/pulumi-java -p pulumi-language-java-v0.10.0-linux-amd64.tar.gz
HTTP 403: API rate limit exceeded for user ID 30351955. If you reach out to GitHub Support for help, please include the request ID 6582:2CD7C1:7DDBD84:CD3DC60:66219833 and timestamp 2024-04-18 22:01:23 UTC. (https://api.github.com/repos/pulumi/pulumi-java/releases/tags/v0.10.0)

@justinvp justinvp added this pull request to the merge queue Apr 18, 2024
@pgavlin
Copy link
Member Author

pgavlin commented Apr 18, 2024

What a farce

Merged via the queue into master with commit 5d73fc5 Apr 18, 2024
49 checks passed
@justinvp justinvp deleted the pgavlin/elide-outputs branch April 18, 2024 23:03
github-merge-queue bot pushed a commit that referenced this pull request Apr 19, 2024
To be merged after #15976.
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.

None yet

5 participants