Repository navigation
Commit b58e2a3
committed
fix(deploy): upload Worker Loader bindings when secrets are pinned
The pinned-secret uploader converts every binding itself, and
bindingsFromOutput had no case for the `worker-loader` binding that cf
emits for `worker_loaders`. Any app with a Worker Loader binding and a
secret failed with "Cloudflare binding LOADER cannot be uploaded with
pinned secrets."
Map it to the `worker_loader` binding type and cover it in the pinned
upload test.1 parent 4d51362 commit b58e2a3
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
286 | 289 | | |
287 | 290 | | |
288 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
| 1114 | + | |
1114 | 1115 | | |
1115 | 1116 | | |
1116 | 1117 | | |
| |||
1287 | 1288 | | |
1288 | 1289 | | |
1289 | 1290 | | |
| 1291 | + | |
1290 | 1292 | | |
1291 | 1293 | | |
1292 | 1294 | | |
| |||
0 commit comments