yuqi1129 opened a new pull request, #14990:
URL: https://github.com/apache/gravitino/pull/14990

   ### What changes were proposed in this pull request?
   
   Fix Fork CI status reporting after partial reruns. A failed suite and 
cancelled suites can be retried separately while earlier successes are 
retained. Once the exact `Required CI` job and all required suites pass, an 
unsuccessful fail-fast watcher or obsolete `Required CI` record no longer keeps 
the PR status red.
   
   Continue blocking success for current failed, cancelled or unfinished jobs, 
missing/mismatched required results, and unverified CI-definition changes. 
Document the partial-rerun behavior.
   
   ### Why are the changes needed?
   
   In #14981, the retried MySQL test and `Required CI` passed, but retained 
cancelled auxiliary jobs kept the run conclusion cancelled. The status 
publisher mirrored that aggregate conclusion instead of recognizing the 
recovered tests.
   
   ### Does this PR introduce _any_ user-facing change?
   
   The PR's Fork CI status can become successful after partial retries recover 
all required tests, even when the Actions run retains an auxiliary 
cancellation. This changes the published status, not GitHub's run conclusion.
   
   ### How was this patch tested?
   
   - `node --test .github/scripts/tests/fork-ci.test.cjs`: 109 passed, none 
skipped. Covers scheduled publication, successive partial retries, stale 
summaries, trusted runs and rejection paths.
   - `node --test .github/scripts/tests/*.test.cjs`: 141 passed; 18 unrelated 
CVE-policy tests skipped because `yq` is unavailable.
   - Five mutations rejected: original implementation, requiring an 
unsuccessful watcher, retaining obsolete summaries, ignoring cancelled 
prerequisites, and accepting future-attempt jobs.
   - Replayed #14981's captured run/job data with cancelled, successful, 
skipped and absent watchers: all recovered. Injected 
failed/cancelled/unfinished MySQL jobs were rejected in all 12 counterexamples.
   - Git whitespace and Markdown table source-alignment checks passed. No live 
CI status was overwritten during validation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to