@orchestraworks/worker 0.0.137 → 0.0.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/REFERENCE.md CHANGED
@@ -204,7 +204,7 @@ set is a concern this machine does not have.
204
204
  | `SFDK_EGRESS_LISTEN_PORT` | where the redirect lands, which is the shim's own listen port |
205
205
  | `SFDK_EGRESS_IPV6` | `true` mirrors the redirect through `ip6tables` |
206
206
  | `SFDK_EGRESS_PROXY` | `on`, the default, or `off`; `off` tells each harness that no edge of ours stands in front of this machine, as on an enrolled one. The platform writes `off` into every Launcher machine's boot file, because no proxy entrance of ours stands in front of one yet |
207
- | `SFDK_RUNTIME_ENVIRONMENT` | a whole environment folded into one JSON object of string values, for a boot file whose lines cannot carry a line break; each pair is placed unless already set |
207
+ | `SFDK_RUNTIME_ENVIRONMENT` | a whole environment folded into one JSON object of string values, for a boot file whose lines cannot carry a line break; each pair is placed unless already set, except that with `SFDK_EGRESS_PROXY=off` a pair replaces a name that holds exactly the image's egress placeholder |
208
208
  | `SFDK_VOLUME_MOUNTS` | the volumes this launch declares, as one JSON document |
209
209
  | `SFDK_MACHINE_SLUG` | the machine's platform-minted slug: the leading label of its preview hostnames, and what the tunnel's upgrade signs |
210
210
  | `SFDK_TUNNEL_ENDPOINT_URL` | where the preview gateway serves its tunnel listener; its scheme is the whole TLS statement for that hop |
@@ -213,7 +213,11 @@ set is a concern this machine does not have.
213
213
 
214
214
  **The worker reads that file itself, on every operating system, and no service manager is handed it.**
215
215
  Every `worker run` places each pair into its own environment before it serves, leaving alone any name
216
- that is already set, so a person's own foreground run still wins over the file. systemd's
216
+ that is already set, so a person's own foreground run still wins over the file. One name already set
217
+ is replaced: where the switch `SFDK_EGRESS_PROXY` is `off`, no edge replaces the image's placeholder
218
+ credential on the way out, so a value the launch declared replaces a name that holds exactly a
219
+ placeholder the family facts list. That is how a customer's own token in `provisionSpec.env` reaches the
220
+ harness on a Launcher machine; it rides the machine's startup data in plain text. systemd's
217
221
  `EnvironmentFile=` is deliberately not used: it processes backslash escapes in an unquoted value, so
218
222
  the two characters `\n` that carry a line break inside `SFDK_RUNTIME_ENVIRONMENT` would arrive as a bare
219
223
  `n` and the certificate folded in there would hold no certificate at all. A machine with no file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestraworks/worker",
3
- "version": "0.0.137",
3
+ "version": "0.0.139",
4
4
  "type": "module",
5
5
  "description": "The Orchestra worker.",
6
6
  "license": "Apache-2.0",
@@ -22,10 +22,10 @@
22
22
  "docs/REFERENCE.md"
23
23
  ],
24
24
  "optionalDependencies": {
25
- "@orchestraworks/worker-linux-x64": "0.0.137",
26
- "@orchestraworks/worker-linux-arm64": "0.0.137",
27
- "@orchestraworks/worker-darwin-x64": "0.0.137",
28
- "@orchestraworks/worker-darwin-arm64": "0.0.137",
29
- "@orchestraworks/worker-win32-x64": "0.0.137"
25
+ "@orchestraworks/worker-linux-x64": "0.0.139",
26
+ "@orchestraworks/worker-linux-arm64": "0.0.139",
27
+ "@orchestraworks/worker-darwin-x64": "0.0.139",
28
+ "@orchestraworks/worker-darwin-arm64": "0.0.139",
29
+ "@orchestraworks/worker-win32-x64": "0.0.139"
30
30
  }
31
31
  }