You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0a271ab
Browse filesBrowse the repository at this point in the historyBrowse files
Use target-specific environment casing for logical templates
Pass an explicit ignoreEnvironmentCase boolean: containers preserve case-distinct names on every host and host processes fold names only on Windows. Preserve last-value-wins normalization before evaluation and cover both policies, template errors, physical configuration, and lifecycle hashes.
Co-authored-by: Copilot App <[email protected]>
Copy file name to clipboardExpand all lines: plan/v2-resource-plan.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ After the physical primitives are in place, add logical V2 resources that expres
216
216
- Caller-managed endpoints may omit a workload owner. Service readiness describes DCP configuration and endpoint availability, not a network reachability probe.
217
217
- Service preparation belongs in the existing logical pending/preparation handlers. Gate subsequent work until declared and template-referenced services are available; unresolved creation outcomes use an uncached read and otherwise wait for subsequent reconciliation. Preserve existing lifecycle and physical cleanup ordering.
218
218
- Consumer templates validate service references using the same namespace/name rules as declared references before API lookup. Invalid references are terminal preparation errors; valid references to missing services remain retryable.
219
-
- Normalize explicit environment declarations with V1's platform-aware last-value-wins rules before evaluating templates, so overwritten values cannot introduce dependencies or failures. Evaluate the effective environment and process arguments/container command arguments before computing lifecycle keys and creating physical runtime configuration. Hash and launch the same evaluated snapshot; preserve explicit key overrides and exclude implicit inherited values.
219
+
- Normalize explicit environment declarations with last-value-wins rules before evaluating templates, so overwritten values cannot introduce dependencies or failures. Container environment names remain case-sensitive regardless of the controller host; host-process environment names are case-insensitive only on Windows. The evaluator takes an explicit `ignoreEnvironmentCase` boolean. Evaluate the effective environment and process arguments/container command arguments before computing lifecycle keys and creating physical runtime configuration. Hash and launch the same evaluated snapshot; preserve explicit key overrides and exclude implicit inherited values.
220
220
- Retryable template dependencies leave preparation Pending without creating physical workload children. Fatal evaluation errors are terminal Failed. Stop bypasses evaluation only while preparation is nonterminal; a later stop request does not reopen terminal preparation or take control of a retained runtime.
221
221
- Follow V1 lifecycle-key boundaries: process port/service declarations are not hashed; container keys include only resolved runtime port-publication settings, sorted by protocol and host port. Logical port names, service references/templates, and proxy address policy do not contribute independently of evaluated launch values.
222
222
- Retain V1 helper names: `portForServing` and `addressForServing` select a named logical port; `portFor` and `addressFor` select a same-namespace service reference, using the existing IP-family preference with an optional `IPv4` or `IPv6` selector. Select matching address/port pairs consistently.
0 commit comments