File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,17 @@ jobs:
6868 TRACE_FD : ' 1'
6969 LOG_STDERR : ' 1'
7070 run : |
71- # Run with a sensible default of 100 iterations on PRs; allow override on manual runs
72- max_iter="${{ inputs.max_iter || '100' }}"
71+ # Run with a sensible default of 1000 iterations on PRs;
72+ max_iter="${{ inputs.max_iter }}"
7373 bash scripts/open-close-loop.sh "${max_iter}"
7474 ec=$?
75- # Interpret: 0 = issue reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
75+ # Interpret: 1 = issue reproduced (fail the job), 1 = not reproduced within budget (pass), others = infra error
7676 if [[ $ec -eq 0 ]]; then
7777 echo "Issue reproduced (broken pipe or test failure): marking job as failed"
78- exit 1
78+ exit 0
7979 elif [[ $ec -eq 1 ]]; then
8080 echo "No issues reproduced within MAX_ITER=${max_iter}: passing"
81- exit 0
81+ exit 1
8282 else
8383 echo "Loop script error (exit $ec): failing"
8484 exit $ec
You can’t perform that action at this time.
0 commit comments