Skip to content

feat: Create and delete runtime environments, and add task logs.#13081

Merged
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@common
Jun 18, 2026
Merged

feat: Create and delete runtime environments, and add task logs.#13081
wanghe-fit2cloud merged 1 commit into
dev-v2from
pr@dev-v2@common

Conversation

@zhengkunwang223

Copy link
Copy Markdown
Member

Refs #10494

@wanghe-fit2cloud wanghe-fit2cloud merged commit 868f1db into dev-v2 Jun 18, 2026
3 checks passed
@wanghe-fit2cloud wanghe-fit2cloud deleted the pr@dev-v2@common branch June 18, 2026 10:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eeab4b64f3

ℹ️ 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".

Comment on lines +245 to +247
createTask.AddSubTask(task.GetTaskName(create.Name, task.TaskCreate, task.TaskScopeRuntime), func(t *task.Task) error {
return executeRuntimeCreateTask(create, runtime, app, appDetail, appVersionDir, t)
}, nil)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Set runtime create task timeout to match builds

When a PHP runtime build or extension installation takes longer than the task package's default 30-minute subtask timeout, this wrapper reports the create task as failed with a timeout even though buildRuntimeWithResult can still be running under its own 60-minute build/install timeouts and may later mark the runtime running. Use AddSubTaskWithOps with a timeout at least as long as the build path (or no timeout) for runtime creation so slow but valid builds don't show failed task logs.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants