Comments (3)
Discussed this as part of the linked issue above. We do already have the partial state mechanism however there were two factors at play which could cause it not to work:
- There was an error while trying to construct the partial state which resulted in a normal error being returned instead of a partial state error.
- The provider didn't have cancellation support so would not shut down gracefully and return a partial error.
I think we could re-scope this to returning the partial state immediately after the create has started to avoid situations where there's interruptions causing the partial error not to be returned. This would likely be implemented an additional request that the provider can make to the engine with the initial state from a creation. This would allow the engine to write the partial state as a placeholder in the checkpoint until the final state is recieved - making the partial state creation more reliable and less likely to loose data.
from pulumi.
I think we could re-scope this to returning the partial state immediately after the create has started to avoid situations where there's interruptions causing the partial error not to be returned.
from pulumi.
@Frassle yes, I think that's the same core issue, but looks like it stalled on the variance between clouds where we can't always know the id up-front. Hence, an optional early back-channel would be a nicer approach, if possible.
from pulumi.
Related Issues (20)
- Add support for env tagging to Automation API
- Consider adding codegen support for Custom Resource methods HOT 1
- Pulumi update fails with panic: runtime error: invalid memory address or nil pointer dereference HOT 1
- Workflow failure: Direct build HOT 1
- Python dynamic resource is replaced without the inputs being changed
- FileArchive creates zip files with backslashes on Windows
- a way for Pulumi to ignore the entrypoint of Package.json ( Node.js) HOT 3
- Intermittent `gzip: invalid header` when trying to unpack downloaded package plugins HOT 1
- [auto/go] RemoteDeployment in Automation API does not allow setting executorImage (ExecutorContext) when creating a remote stack
- Noninteractive `pulumi refresh` with json output is not showing any diff
- [internal] Simplify schemas used in program-gen for testing
- Move existing dependency installation and python command invocation to a Toolchain interface
- Add toolchain option for policies
- Add toolchain option to PulumiPlugin.yaml
- pendingReplacement
- Add stack outputs on partial failure of the stack creation HOT 2
- [Github App] Pulumi GitHub App not posting preview comments on Github PRs when using Automation API Inline programs
- Remote Automation API errors on preview
- No way to set PULUMI_ACCESS_TOKEN for remote automation api deployments. HOT 1
- Pulumi Dropping Resources for no reason
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulumi.