Azure / Azure/azure-sdk-tools

Add a validation if the `service-dir` existing path is different than configed one

Open
#10,618 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
130

Description

In https://github.com/Azure/azure-rest-api-specs/pull/34078, we found that when the existing path does not match the path configured in tspconfig.yaml , CI error occurs.
To avoid similar errors, we will add a validation for `service-dir`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the service-dir path handling and the tspconfig.yaml validation entry point, then compare the configured and existing paths using the scenario from PR #34078. Done means a mismatch is reported during validation before CI reaches the later error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.