Skip to content

Bump typespec-java pinned http-client-java core commit - #5356

Open
iscai-msft wants to merge 1 commit into
Azure:mainfrom
iscai-msft:iscai-msft-regenerate-typespec-java-6ac
Open

Bump typespec-java pinned http-client-java core commit#5356
iscai-msft wants to merge 1 commit into
Azure:mainfrom
iscai-msft:iscai-msft-regenerate-typespec-java-6ac

Conversation

@iscai-msft

Copy link
Copy Markdown
Member

Summary

packages/typespec-java pins the http-client-java sources it consumes from the core (microsoft/typespec) submodule via core-commit.json, independent of whatever commit the submodule itself is checked out to. This meant a fix landed in core was not actually being picked up.

Bumps core-commit.json's sha from 27b39b71bf5c67f560ec6035900ae5621226ac8d to 0bd0c174228cf559ec7d4c9edec904294b59b9bc, which includes microsoft/typespec#11766 "Fix Javadoc corruption from literal */ in parameter description". That fix resolves the Regen & Spector Tests CI failure seen on #5305 (unrelated PR — the failure was a real compile error in generated Java, not flakiness).

Verification

  • pnpm turbo run --filter "@azure-tools/typespec-java^..." build
  • pnpm run regenerate (in packages/typespec-java) — all specs regenerate successfully
  • mvn compile -f emitter-tests/pom.xml — generated Java compiles cleanly (previously failed with ';' expected / <identifier> expected errors in FileClient.java)
  • pnpm run test:java:e2e — Spector e2e tests pass (BUILD SUCCESS)
  • pnpm lint passes

Update core-commit.json to a newer core (microsoft/typespec) commit
that includes the fix for Javadoc corruption from literal */ in
parameter descriptions (microsoft/typespec#11766), which was causing
Java compile failures in the Regen & Spector Tests CI job.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b371c61c-78d6-403f-a7bd-7a607faf82b5
@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @azure-tools/typespec-java
Show changes

@azure-tools/typespec-java - dependencies ✏️

Bump the pinned http-client-java core commit in core-commit.json to pick up the fix for Javadoc corruption from literal */ in parameter descriptions.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Package size report

✅ No notable package size changes compared to the base branch.

13 package(s) with no notable change
Package Packed (base → head) Δ Packed Unpacked (base → head) Δ Unpacked
@azure-tools/typespec-java 13.51 MB → 13.51 MB +218 B (+0.0%) 15.03 MB → 15.03 MB +112 B (+0.0%)
@azure-tools/azure-http-specs 146.71 KB → 146.71 KB 1.16 MB → 1.16 MB
@azure-tools/typespec-autorest 80.93 KB → 80.93 KB 395.06 KB → 395.06 KB
@azure-tools/typespec-autorest-canonical 7.42 KB → 7.42 KB 26.00 KB → 26.00 KB
@azure-tools/typespec-azure-core 130.22 KB → 130.22 KB 706.76 KB → 706.76 KB
@azure-tools/typespec-azure-portal-core 42.40 KB → 42.40 KB 192.91 KB → 192.91 KB
@azure-tools/typespec-azure-resource-manager 171.92 KB → 171.92 KB 1.04 MB → 1.04 MB
@azure-tools/typespec-azure-rulesets 5.16 KB → 5.16 KB 32.09 KB → 32.09 KB
@azure-tools/typespec-client-generator-core 229.48 KB → 229.48 KB 1.23 MB → 1.23 MB
@azure-tools/typespec-go 260.21 KB → 260.21 KB 1.33 MB → 1.33 MB
@azure-tools/typespec-metadata 15.91 KB → 15.91 KB 62.26 KB → 62.26 KB
@azure-tools/typespec-python 42.22 KB → 42.22 KB 164.91 KB → 164.91 KB
@azure-tools/typespec-ts 536.71 KB → 536.71 KB 2.58 MB → 2.58 MB

Packed = gzipped .tgz published to npm. Unpacked = total extracted size. 🆕 added, 🗑️ removed. Packages from the core/ submodule are not included.
🔴 grew · 🟢 shrank — only changes of at least 512 B and 0.5% are marked.

@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@azure-tools/typespec-java@5356

commit: 320f3fa

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:java Issues for @azure-tools/typespec-java emitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant