Harden cloud provider orchestration runtime fallback - #67
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c5e2681b6a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const configuredInvokeUrl = String(process.env.MAPLE_ALIYUN_FC_INVOKE_URL || defaults.aliyun_fc.invoke_url || ""); | ||
| const configuredFunctionName = String(process.env.MAPLE_ALIYUN_FC_FUNCTION_NAME || defaults.aliyun_fc.function_name || functionName); |
There was a problem hiding this comment.
Carry Aliyun FC pool auth into provisioned members
When an Aliyun FC runtime pool uses an existing HTTP endpoint, this path only reads process-wide MAPLE_ALIYUN_FC_* values and later persists member config without the per-workspace/pool invoke_url, function_name, or api_key from runtime_pools[].config / provider_credentials.aliyun. In tenant-scoped deployments where those values are stored on the workspace rather than the API process, provisioning either marks every Aliyun member failed for missing MAPLE_ALIYUN_FC_INVOKE_URL, or sessions run against protected FC endpoints without the Authorization header because runtimePoolMemberAgentRuntime can only reconstruct the runtime from member config_json.
Useful? React with 👍 / 👎.
Summary
Verification
Resource cleanup