Skip to content

Comments

Fix up Actions issues#31252

Merged
danieljurek merged 6 commits intomainfrom
djurek/actions-fixup
Oct 26, 2024
Merged

Fix up Actions issues#31252
danieljurek merged 6 commits intomainfrom
djurek/actions-fixup

Conversation

@danieljurek
Copy link
Member

@danieljurek danieljurek commented Oct 26, 2024

Issues identified:

  1. Within a job, TSV.ps1 is now failing fast when the first spec fails, instead of verifying all specs and collecting the errors.

  2. The parallel jobs are also configured to fail fast, so they all cancel when one fails, which we don't want either.

With fixes:

TypeSpec Validation now shows an error, continues processing and then fails the build:

image

TypeSpec Validation All now shows an error, continues processing, and then fails the build and all jobs run until completion:

image

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Oct 26, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Oct 26, 2024

PR validation pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

@danieljurek danieljurek marked this pull request as draft October 26, 2024 01:50
@danieljurek danieljurek marked this pull request as ready for review October 26, 2024 03:06
@danieljurek danieljurek self-assigned this Oct 26, 2024
@danieljurek
Copy link
Member Author

@mikeharder I'm merging this now as it fixes the immediate issue. We can do a longer term fix in the near future.

@danieljurek danieljurek merged commit 1ceae65 into main Oct 26, 2024
@danieljurek danieljurek deleted the djurek/actions-fixup branch October 26, 2024 04:33
markcowl pushed a commit to markcowl/azure-rest-api-specs that referenced this pull request Oct 29, 2024
* fail-fast: false

* Write-Host instead of Write-Error, judge failure from exit code

* Option 1: Continue processing when an error is written out. Nonzero exit code will fail the step.

* Undo eng/scripts/Logging-Functions.ps1

* Revert typespec-requirement.yaml

* Put ErrorActionPreference in the right place
haagha pushed a commit that referenced this pull request Nov 19, 2024
* fail-fast: false

* Write-Host instead of Write-Error, judge failure from exit code

* Option 1: Continue processing when an error is written out. Nonzero exit code will fail the step.

* Undo eng/scripts/Logging-Functions.ps1

* Revert typespec-requirement.yaml

* Put ErrorActionPreference in the right place
pjpatel12 pushed a commit to pjpatel12/azure-rest-api-specs that referenced this pull request Apr 29, 2025
* fail-fast: false

* Write-Host instead of Write-Error, judge failure from exit code

* Option 1: Continue processing when an error is written out. Nonzero exit code will fail the step.

* Undo eng/scripts/Logging-Functions.ps1

* Revert typespec-requirement.yaml

* Put ErrorActionPreference in the right place
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant