clayburn commented on PR #5421:
URL: https://github.com/apache/openwhisk/pull/5421#issuecomment-1600820821

   From the linked documentation on `fail-fast`: 
   
   > jobs.<job_id>.strategy.fail-fast applies to the entire matrix. If 
jobs.<job_id>.strategy.fail-fast is set to true, GitHub will cancel all 
in-progress and queued jobs in the matrix if any job in the matrix fails. This 
property defaults to true.
   
   This `strategy` block is specifically used to create a [matrix 
strategy](https://docs.github.com/ko/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategy)
 in order to run a job multiple times with different parameters. For example, 
you may do something like this to run a job against multiple operating systems:
   
   ```
   strategy:
     fail-fast: true
     matrix:
       os: [ubuntu-latest, windows-latest]
   ```
   
   In this case, if say `ubuntu-latest` were to fail, _then_ windows would be 
cancelled. But since you are not using a matrix strategy like this, the 
`fail-fast` would be a no-op.
   
   I also get this warning in my IDE, although I do not know where to locate 
the schema it is using for this validation:
   
   ![Screenshot 2023-06-21 at 8 09 55 
AM](https://github.com/apache/openwhisk/assets/625514/ad197f56-77f5-4879-9d13-6ea05abf9dea)
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to