pulumi/pkg
Fraser Waters 9d8badf2cd
Replace Bail result with BailError (#13811)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

Replaces most instances of bail results outside the core engine with
BailErorr instead.

The only parts of the codebase still using `result.Bail()` are in
pkg/resource/deploy.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-08-30 13:18:54 +00:00
..
authhelpers make linter happy 2023-02-08 10:30:10 -08:00
backend Replace Bail result with BailError (#13811) 2023-08-30 13:18:54 +00:00
cmd/pulumi Replace Bail result with BailError (#13811) 2023-08-30 13:18:54 +00:00
codegen Remove NodeJS and Python install scripts (#13800) 2023-08-30 08:05:34 +00:00
engine Warn about ambient plugins loaded from $PATH 2023-08-08 13:11:34 +01:00
graph Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
importer Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
operations PR feedback and CHANGELOG 2023-07-26 20:44:12 -07:00
resource Add hidden sdk-pack command 2023-08-08 17:53:04 +01:00
secrets Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
testing/integration ci: Track code coverage 2023-06-28 13:30:13 -07:00
util Remove ibm from pulumiverse list 2023-08-10 10:49:06 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Fill in default plugin download URL before looking up version 2023-07-13 23:12:25 +01:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Changelog and go.mod updates for v3.79.0 (#13794) 2023-08-26 00:21:43 +00:00
go.sum [pkg] Update pulumi-yaml, pulumi-java and pulumi-dotnet (#13763) 2023-08-24 22:15:53 +00:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.