File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 options :
3131 - aws
3232 - hetzner
33+ crabbox_lease_id :
34+ description : Optional existing Crabbox desktop/browser lease id or slug to reuse
35+ required : false
36+ type : string
3337
3438permissions :
3539 contents : write
@@ -194,6 +198,7 @@ jobs:
194198 OPENCLAW_QA_MANTIS_CRABBOX_COORDINATOR_TOKEN : ${{ secrets.OPENCLAW_QA_MANTIS_CRABBOX_COORDINATOR_TOKEN }}
195199 CRABBOX_ACCESS_CLIENT_ID : ${{ secrets.CRABBOX_ACCESS_CLIENT_ID }}
196200 CRABBOX_ACCESS_CLIENT_SECRET : ${{ secrets.CRABBOX_ACCESS_CLIENT_SECRET }}
201+ CRABBOX_LEASE_ID : ${{ inputs.crabbox_lease_id }}
197202 CRABBOX_PROVIDER : ${{ inputs.crabbox_provider }}
198203 KEEP_VM : ${{ inputs.keep_vm }}
199204 SCENARIO_ID : ${{ inputs.scenario_id }}
@@ -222,6 +227,10 @@ jobs:
222227 output_rel=".artifacts/qa-e2e/mantis/slack-desktop-smoke"
223228 root="$candidate_repo/$output_rel"
224229 echo "output_dir=${root}" >> "$GITHUB_OUTPUT"
230+ lease_args=()
231+ if [[ -n "${CRABBOX_LEASE_ID:-}" ]]; then
232+ lease_args=(--lease-id "$CRABBOX_LEASE_ID")
233+ fi
225234 keep_args=()
226235 if [[ "$KEEP_VM" == "true" ]]; then
227236 keep_args=(--keep-lease)
@@ -245,7 +254,8 @@ jobs:
245254 --alt-model openai/gpt-5.4 \
246255 --fast \
247256 --scenario "$SCENARIO_ID" \
248- "${keep_args[@]}"
257+ "${keep_args[@]}" \
258+ "${lease_args[@]}"
249259 mantis_exit=$?
250260 set -e
251261
You can’t perform that action at this time.
0 commit comments