Skip to content

Reduce qualified type and event names - #2674

Open
leighmcculloch wants to merge 24 commits into
update-xdr-and-sdk-cratesfrom
patch-xdr-and-spec-crates
Open

leighmcculloch wants to merge 24 commits into
update-xdr-and-sdk-cratesfrom
patch-xdr-and-spec-crates

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Aug 7, 2026 •

Copy link
Copy Markdown
Member

What

Reduce the fully qualified UDT type names that stellar/rs-soroban-sdk#1970 emits (e.g. my_contract::inner::State) down to short names during the build process.

Why

The soroban-sdk will be emitting fully qualified user-defined type names as an intermediary step so that the stellar-cli can reduce the spec to only those types needed by the exported interface of a contract, and so that types will be guaranteed to have unique names. The long names are not good for most tooling though which is already accustomed to the short simple names. The cli can make this change in the soroban-sdk a no-op for the rest of the ecosystem by converting the names to unique simple names during the build step.

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Aug 7, 2026
@leighmcculloch leighmcculloch changed the title Patch xdr and spec crates to pending PRs Patch xdr and spec crates to support long type names Aug 7, 2026
@github-project-automation github-project-automation Bot moved this from Backlog (Not Ready) to Done in DevX Aug 10, 2026
@leighmcculloch
leighmcculloch force-pushed the patch-xdr-and-spec-crates branch from 65c31be to 69c41b9 Compare September 3, 2026 15:19
@leighmcculloch leighmcculloch changed the title Patch xdr and spec crates to support long type names Reduce fully qualified UDT names in contract info output Sep 3, 2026
@leighmcculloch leighmcculloch changed the title Reduce fully qualified UDT names in contract info output Reduce qualified type and event names Sep 5, 2026
@leighmcculloch
leighmcculloch force-pushed the patch-xdr-and-spec-crates branch from 5fb4d08 to 7f6dacd Compare September 8, 2026 07:25
@leighmcculloch
leighmcculloch force-pushed the patch-xdr-and-spec-crates branch 2 times, most recently from 6a79b08 to 8710d3f Compare September 8, 2026 21:44
@leighmcculloch
leighmcculloch added this pull request to stack #2726 September 16, 2026 11:30
@leighmcculloch
leighmcculloch force-pushed the patch-xdr-and-spec-crates branch from 727af47 to 22f59e5 Compare September 23, 2026 07:01
@leighmcculloch
leighmcculloch removed this pull request from stack #2726 September 23, 2026 08:20
@leighmcculloch
leighmcculloch changed the base branch from main to pass-cli-version-to-sdk September 23, 2026 08:20
@leighmcculloch
leighmcculloch added this pull request to stack #2750 September 23, 2026 08:21
Copilot AI review requested due to automatic review settings September 25, 2026 00:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Address unresolved reference handling, warning sanitization, image-path behavior, collision messaging, and integration coverage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Comment on lines +608 to +609
String::from_utf8_lossy(&rename.from),
String::from_utf8_lossy(&rename.to),
Copilot AI review requested due to automatic review settings September 25, 2026 00:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Multiple moderate issues remain unresolved in the build path, diagnostics, safety, and test coverage.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI review requested due to automatic review settings September 25, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Unresolved moderate issues affect correctness, coverage, and safe warning output.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI review requested due to automatic review settings September 25, 2026 13:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Multiple moderate issues remain in build-path handling, serialization, diagnostics, and test coverage.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI review requested due to automatic review settings September 25, 2026 13:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Multiple moderate issues remain in build coverage, reduction behavior, warning safety, and test coverage.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Moderate issues remain in reference handling, warning sanitization, container builds, and integration coverage.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Unresolved build-path, fast-path, sanitization, naming, and coverage issues remain.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Address the missed undefined-type rewrites and sanitize spec-derived warning names.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Address artifact handling, reference reduction, output sanitization, and end-to-end build coverage.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Five unresolved moderate findings remain across build-path coverage, safety, testing, and warning accuracy.

Review effort: Lite
Findings: 3 Medium severity · 1 Low severity

Open (4)

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants