azure-sdk-for-js icon indicating copy to clipboard operation
azure-sdk-for-js copied to clipboard

Generate SDK for codetransparency

Open Copilot opened this issue 10 months ago • 3 comments

This PR generates a new TypeScript SDK for the Azure Code Transparency service using TypeSpec and integrates it into the Azure SDK for JavaScript monorepo.

Changes Made

  • Generated new SDK package: @azure-rest/codetransparency in sdk/confidentialledger/codetransparency-rest/
  • Added to rush.json: Registered the new package with the "client" version policy in alphabetical order
  • Updated dependencies: Updated pnpm-lock.yaml to include the new package dependencies

SDK Details

  • Package Name: @azure-rest/codetransparency
  • Version: 1.0.0-beta.1
  • Type: REST Level Client (RLC)
  • Service Directory: sdk/confidentialledger
  • TypeSpec Source: Microsoft.CodeTransparency

Verification

Build: Package builds successfully with rush
Format: Code formatting passes
Lint: Linting passes with only expected warnings
Tests: Test infrastructure is in place (fails as expected due to missing recordings for new package)

Generated Files

The SDK includes all standard components:

  • TypeScript source files with client definitions, models, and parameters
  • Test infrastructure with vitest configuration
  • Build configuration (tsconfig, eslint, api-extractor)
  • Documentation (README, API reference)
  • TypeSpec location tracking for future updates

The generated code follows Azure SDK TypeScript guidelines and uses the latest tooling including tshy for dual ESM/CommonJS support.

Fixes #34684.

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • azuresdkartifacts.blob.core.windows.net
    • Triggering command: node /opt/hostedtoolcache/node/22.15.0/x64/bin/rush build -t @azure-rest/codetransparency (dns block)
  • http://168.63.129.16:80/machine/
    • Triggering command: /usr/bin/python3 -u bin/WALinuxAgent-2.13.1.1-py3.9.egg -collect-logs (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Jun 04 '25 20:06 Copilot

Hi @Copilot. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

github-actions[bot] avatar Aug 08 '25 05:08 github-actions[bot]

Hi @Copilot. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

github-actions[bot] avatar Oct 10 '25 05:10 github-actions[bot]

Hi @Copilot. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

github-actions[bot] avatar Dec 12 '25 05:12 github-actions[bot]