fix(wf10): fixing more of the add/add problems
CI / status-check (push) Blocked by required conditions
CI / benchmark-publish (push) Has started running
CI / benchmark-regression (push) Has been skipped
CI / lint (push) Successful in 41s
CI / push-validation (push) Successful in 29s
CI / e2e_tests (push) Failing after 1m9s
CI / helm (push) Successful in 44s
CI / build (push) Successful in 46s
CI / security (push) Successful in 2m0s
CI / quality (push) Successful in 1m4s
CI / typecheck (push) Successful in 1m13s
CI / integration_tests (push) Successful in 3m13s
CI / unit_tests (push) Successful in 9m25s
CI / coverage (push) Has started running
CI / docker (push) Successful in 1m58s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Failing after 1m3s
CI / coverage (pull_request) Successful in 16m0s
CI / build (pull_request) Successful in 47s
CI / docker (pull_request) Successful in 1m44s
CI / lint (pull_request) Successful in 1m15s
CI / typecheck (pull_request) Successful in 1m32s
CI / integration_tests (pull_request) Successful in 5m26s
CI / e2e_tests (pull_request) Successful in 5m8s
CI / unit_tests (pull_request) Successful in 6m14s
CI / helm (pull_request) Successful in 42s
CI / push-validation (pull_request) Successful in 47s
CI / quality (pull_request) Successful in 1m18s
CI / security (pull_request) Successful in 1m45s
CI / status-check (pull_request) Successful in 3s

Closes #10861
This commit was merged in pull request #10900.
This commit is contained in:
2026-05-05 00:38:44 +00:00
parent 1932bed2a8
commit 57930c9fb3
+20 -4
View File
@@ -93,10 +93,18 @@ Write Action Config
RETURN ${yaml_path}
Clean Workspace Template Files
[Documentation] Remove template files from the workspace that the LLM
... may regenerate during formatting, to prevent add/add
... merge conflicts during plan apply.
[Documentation] Remove template files from the workspace and monorepo
... that the LLM may regenerate during formatting, to prevent
... add/add merge conflicts during plan apply.
...
... CleverAgents copies workspace template files into project
... directories during ``project create``, so this keyword
... must run **after** project registration and **before**
... plan launch. It also runs ``git clean -fd`` in the
... monorepo to remove any untracked files that were copied.
[Arguments] ${target_dir}=${SUITE_HOME}
@{conflicting}= Create List
... .flake8
... .pre-commit-config.yaml
... pyproject.toml
... requirements-dev.txt
@@ -105,9 +113,13 @@ Clean Workspace Template Files
... setup.cfg
... tox.ini
FOR ${file} IN @{conflicting}
${path}= Set Variable ${SUITE_HOME}${/}${file}
${path}= Set Variable ${target_dir}${/}${file}
Run Keyword And Ignore Error Remove File ${path}
END
# Also run git clean to remove any untracked files/directories that
# the workspace template may have deposited in the monorepo.
${git_clean}= Run Process git clean -fd cwd=${target_dir} timeout=60s on_timeout=kill
Log git clean in ${target_dir}: rc=${git_clean.rc} level=DEBUG
Write Broken Action Config
[Documentation] Write a deliberately broken action YAML that uses a non-existent
@@ -301,6 +313,10 @@ Workflow 10 Full-Auto Batch Formatting
# --- Step 3: Register resources and projects for all packages ---
Register Package Resources And Projects ${monorepo} ${branch} @{PACKAGE_NAMES}
# Clean workspace template files that were copied into the monorepo
# during project creation, to prevent add/add merge conflicts during apply.
Clean Workspace Template Files ${monorepo}
# --- Step 4: Create plans — healthy + broken ---
# 4a: Launch plans for healthy packages with the good action
@{plan_ids}= Launch Batch Plans @{PACKAGE_NAMES}