Skip to content

[WIT] Update Go support file to use internal APIs - #164

Open
dplyukhin wants to merge 3 commits into
go-sample-toolchain-matrixfrom
advanced-go-internals
Open

[WIT] Update Go support file to use internal APIs#164
dplyukhin wants to merge 3 commits into
go-sample-toolchain-matrixfrom
advanced-go-internals

Conversation

@dplyukhin

@dplyukhin dplyukhin commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What was changed

  • Update the Go support file to use newly exposed internal APIs instead of our half-assed reimplementations
  • Make Go backend use newSystemNexusClient instead of newNexusClient

Why?

Why not?

Stack

This PR depends on #166 and targets its go-sample-toolchain-matrix branch.

Checklist

  1. Closes: N/A

  2. How was this tested:

    • cargo build-examples --lang go
    • cargo validate go-advanced
    • cargo test --features advanced --test generate_go — 50 passed
    • cargo check --all-features --all-targets
    • Generated support equality check — verified all 4 files
    • git diff --check
  3. Any docs updates needed?

No.

@dplyukhin
dplyukhin requested a review from a team as a code owner August 28, 2026 20:32
@dplyukhin
dplyukhin force-pushed the advanced-go-internals branch from c57aa9e to 85c364a Compare August 28, 2026 21:36
@dplyukhin
dplyukhin changed the base branch from main to go-sample-toolchain-matrix August 28, 2026 21:36
@dplyukhin
dplyukhin force-pushed the advanced-go-internals branch from 85c364a to 9d9503f Compare August 28, 2026 21:42
@dplyukhin
dplyukhin marked this pull request as draft August 28, 2026 21:46
@dplyukhin
dplyukhin marked this pull request as ready for review August 28, 2026 22:00
}

func newSystemNexusClient(service string) workflow.NexusClient {
return internal.NewSystemNexusClient(service)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why are we creating a separate nexus client type? Not that it is wrong, just wondering what it gives us. The separate interception point?

@dplyukhin
dplyukhin force-pushed the advanced-go-internals branch from e7e2d13 to 7df6995 Compare September 2, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants