You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sync eng/common directory with azure-sdk-tools for PR 16330 (#48049)
* Convert eval CI glue scripts from .js to .ts (Node type stripping)
Rename the 7 source + 4 test modules under eng/common/scripts/eval to .ts and rewrite relative import specifiers to .ts (Node native type erasure, no build step). Pipeline node invocations and the npm test script gain --experimental-strip-types --disable-warning=ExperimentalWarning so they run on Node 22.6-22.17 (local) and unflagged on 22.18+ (CI). engines bumped to >=22.6. Addresses Mike Harder feedback to prefer .ts with type erasure over .js.
* Reuse azure-rest-api-specs exec primitives in eval git sync
Vendor .github/shared/src/exec.js from azure-rest-api-specs (@ef7dd74) as lib/exec.ts (TS port, erasable syntax) under eng/common so it syncs into the language repos. Rewire sync-eval-git-repo invokeGit onto the async execFile helper (no-shell child_process.execFile, git stderr surfaced only on failure); syncRepo and init-eval-git-fixtures main become async accordingly. README documents the vendored file and provenance. Addresses Mike Harder feedback to reuse the shared exec primitives; see #16296.
* Polish: keep vendored exec.ts faithful to upstream; note shard spawnSync rationale
* Drop --disable-warning=ExperimentalWarning; keep only --experimental-strip-types
---------
Co-authored-by: helen229 <gaoh@microsoft.com>
0 commit comments