Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up Actions issues #31252

Merged
merged 6 commits into from
Oct 26, 2024
Merged

Fix up Actions issues #31252

merged 6 commits into from
Oct 26, 2024

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

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.

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
35 of 36 checks passed
@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
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