Azure / Azure/azure-sdk-tools

[JS] we should not use `src/rest/parameters.ts` as some logical judgment criteria in js release tool

Open
#12,161 1 comment 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

for hlc, modular and rlc, all these will not generate the src/rest/parameters.ts any more, so we should improve related codes to fix some failure like `Failed to generate SDK for package '@azure/ai-agents' due to Error: File not found: /mnt/vss/_work/1/s/azure-sdk-for-js/sdk/ai/ai-agents/src/rest/parameters.ts`

another failure found in https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5353286&view=results

Contributor guide

Open the contributing guide

Research direction

Start by locating the JavaScript release-tool logic that treats src/rest/parameters.ts as a required criterion, then compare it with the HLC, modular, and RLC generation paths described here. Use the linked Azure DevOps build failure as a reproduction reference. Done means SDK generation no longer fails when that file is absent for these package types.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
release, tooling
Issue type
Bug
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.