pulumi/pkg/backend/diy
Justin Van Patten 3260080071
[backend/diy] Show a more correct URL for lock files (#17961)
In the DIY backend, when a stack is locked, we attempt to show the URL
to the lock file in the error message we show to users. The URL is
naively created by concatenating the baseURL with the path to the lock
file. But this naive concatenation isn't correct when there are query
params in the base URL. This change fixes that by concatenating the path
of a parsed URL. If for some reason we can't parse the URL, we fall back
to the naive concatenation we were doing previously.

Fixes #17762
2024-12-09 08:21:51 +00:00
..
backend.go try to keep machine awake during pulumi operations (DIY edition) (#17699) 2024-11-06 14:03:26 +00:00
backend_legacy_test.go Introduce snapshot metadata (#17430) 2024-09-30 16:45:40 +00:00
backend_test.go Introduce snapshot metadata (#17430) 2024-09-30 16:45:40 +00:00
bucket.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
bucket_test.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
doc.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
lock.go [backend/diy] Show a more correct URL for lock files (#17961) 2024-12-09 08:21:51 +00:00
lock_test.go [backend/diy] Show a more correct URL for lock files (#17961) 2024-12-09 08:21:51 +00:00
meta.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
meta_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
pool.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
pool_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
snapshot.go Persist initial states in DIY backend (#17372) 2024-09-26 14:45:09 +00:00
stack.go Replace `result.Result` with native errors (#17044) 2024-08-22 14:39:59 +00:00
state.go Persist metadata about snapshot integrity errors (#17291) 2024-11-06 17:35:27 +00:00
store.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
store_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00