|
72 | 72 | - stable |
73 | 73 | - full |
74 | 74 | wait_for_clawhub: |
75 | | - description: Wait for ClawHub plugin publish before marking this workflow complete |
| 75 | + description: Wait for and auto-approve ClawHub plugin publish; otherwise approve and monitor the detached runs separately |
76 | 76 | required: true |
77 | 77 | default: false |
78 | 78 | type: boolean |
@@ -2197,27 +2197,19 @@ jobs: |
2197 | 2197 | fi |
2198 | 2198 | fi |
2199 | 2199 | else |
| 2200 | + # Detached mode deliberately leaves protected ClawHub approvals to |
| 2201 | + # the operator monitoring the linked child runs. Polling for those |
| 2202 | + # gates here would put plugin fan-out back on the core release path. |
2200 | 2203 | if [[ -n "${plugin_clawhub_run_id}" ]]; then |
2201 | | - wait_for_job_success plugin-clawhub-release.yml "${plugin_clawhub_run_id}" "Validate release publish approval" "${TARGET_SHA}" |
2202 | | - if approve_child_publish_environment plugin-clawhub-release.yml "${plugin_clawhub_run_id}" "${TARGET_SHA}"; then |
2203 | | - : |
2204 | | - else |
2205 | | - echo "- plugin-clawhub-release.yml: child environment gate not ready; publish was left dispatched (${plugin_clawhub_run_id})" >> "$GITHUB_STEP_SUMMARY" |
2206 | | - fi |
2207 | | - echo "- plugin-clawhub-release.yml: publish not awaited (${plugin_clawhub_run_id})" >> "$GITHUB_STEP_SUMMARY" |
| 2204 | + echo "- plugin-clawhub-release.yml: detached; approval and publish not awaited (${plugin_clawhub_run_id})" >> "$GITHUB_STEP_SUMMARY" |
2208 | 2205 | else |
2209 | 2206 | echo "- plugin-clawhub-release.yml: no normal OIDC publish to await" >> "$GITHUB_STEP_SUMMARY" |
2210 | 2207 | fi |
2211 | 2208 | if [[ -n "${plugin_clawhub_bootstrap_run_id}" ]]; then |
2212 | 2209 | if [[ "${plugin_clawhub_bootstrap_completed}" == "true" ]]; then |
2213 | 2210 | echo "- plugin-clawhub-new.yml: bootstrap already completed before continuing" >> "$GITHUB_STEP_SUMMARY" |
2214 | 2211 | else |
2215 | | - if approve_clawhub_bootstrap_environments "${plugin_clawhub_bootstrap_run_id}" "${bootstrap_workflow_sha}"; then |
2216 | | - : |
2217 | | - else |
2218 | | - echo "- plugin-clawhub-new.yml: child environment gates not ready; bootstrap was left dispatched (${plugin_clawhub_bootstrap_run_id})" >> "$GITHUB_STEP_SUMMARY" |
2219 | | - fi |
2220 | | - echo "- plugin-clawhub-new.yml: bootstrap not awaited (${plugin_clawhub_bootstrap_run_id})" >> "$GITHUB_STEP_SUMMARY" |
| 2212 | + echo "- plugin-clawhub-new.yml: detached; approvals and bootstrap not awaited (${plugin_clawhub_bootstrap_run_id})" >> "$GITHUB_STEP_SUMMARY" |
2221 | 2213 | fi |
2222 | 2214 | else |
2223 | 2215 | echo "- plugin-clawhub-new.yml: no bootstrap publish to await" >> "$GITHUB_STEP_SUMMARY" |
|
0 commit comments