Visitar URL original
Fix `copyArchive` by iwahbe · Pull Request #23798 · pulumi/pulumi · GitHub
Skip to content

Fix copyArchive - #23798

Merged
iwahbe merged 2 commits into
masterfrom
iwahbe/fix-copy-archive
Jul 6, 2026
Merged

iwahbe merged 2 commits into
masterfrom
iwahbe/fix-copy-archive

Conversation

@iwahbe

@iwahbe iwahbe commented Jul 6, 2026

Copy link
Copy Markdown
Member

pulumi/pulumi-policy#451 (as written by Claude) showed a copy bug when copying out an *archive.Archive. This PR addresses it, adds a test, and adds archives & assets to our property.Value rapid test definition to make this kind of mistake less likely to be caught in the future.

This fixes a bug observed in pulumi/pulumi-policy#451,
causing policies to read archive's as asset archives.
@iwahbe
iwahbe requested a review from a team as a code owner July 6, 2026 11:25
@iwahbe
iwahbe force-pushed the iwahbe/fix-copy-archive branch from 1eea364 to cb098c0 Compare July 6, 2026 11:26
@iwahbe
iwahbe enabled auto-merge July 6, 2026 11:26
iwahbe added a commit to pulumi/pulumi-policy that referenced this pull request Jul 6, 2026
The empty "assets" map on path- and uri-based archives is being fixed
upstream in pulumi/pulumi#23798, so the SDKs do not need to compensate
for it. This leaves only the integration test expectation updates for
the policy violation display format change (pulumi/pulumi#23705).
@iwahbe
iwahbe added this pull request to the merge queue Jul 6, 2026
Merged via the queue into master with commit 16623bd Jul 6, 2026
123 checks passed
@iwahbe
iwahbe deleted the iwahbe/fix-copy-archive branch July 6, 2026 18:26
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v3.251.0.

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.

3 participants