Skip to content

feat: generate standalone admin SDK - #6000

Merged
walker-tx merged 12 commits into
mainfrom
walker/admin-sdk-generation
Sep 4, 2026
Merged

feat: generate standalone admin SDK#6000
walker-tx merged 12 commits into
mainfrom
walker/admin-sdk-generation

Conversation

@walker-tx

@walker-tx walker-tx commented Sep 3, 2026

Copy link
Copy Markdown
Member

Stack context

This PR is the second part of a four-PR stack that moves organization product-feature management from the legacy Dashboard Platform Admin surface into the standalone Admin application.

The preceding PR, #6036, establishes the shared backend contract, Goa operations, and isolated Dashboard/Admin OpenAPI inputs. This PR consumes that Admin-specific contract to generate a private TypeScript SDK and places it behind a constrained same-origin application boundary. The next PR uses this client to deliver feature-management parity in Admin, after which the final PR removes the duplicate Dashboard surface.

What this PR does

  • generates and commits the private TypeScript Admin SDK from the isolated Admin OpenAPI source
  • provides a module-private, same-origin client boundary using the ambient Admin session cookie
  • adds resolver, overlay, formatter, and CI drift checks for generated Admin artifacts
  • prevents application callers from overriding the server URL, browser credentials, or authorization headers

@walker-tx
walker-tx requested review from a team as code owners September 3, 2026 01:26
@walker-tx walker-tx added the enhancement New feature or request label Sep 3, 2026
@changeset-bot

changeset-bot Bot commented Sep 3, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 999bbf1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 252 files

Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.

Note: This PR contains a large number of files. cubic selects up to 200 of the highest-priority eligible files for this review, so some files may not have been reviewed.
Tip: instead of fixing issues one by one fix them all with cubic

Re-trigger cubic

Comment thread client/admin/src/sdk/src/lib/http.ts
Comment thread client/admin/src/sdk/src/lib/security.ts
Comment thread client/admin/src/sdk/src/lib/retries.ts
Comment thread client/admin/src/sdk/src/lib/base64.ts
Comment thread overlays/dashboard-sdk.yaml
Comment thread docs/superpowers/specs/2026-09-02-admin-sdk-generation-design.md Outdated
Comment thread client/admin/src/sdk/REACT_QUERY.md
Comment thread server/internal/admin/generated_routes_test.go Outdated
Comment thread client/admin/src/sdk/FUNCTIONS.md
Comment thread client/admin/src/lib/gramAdminClient.test.ts Outdated
@walker-tx
walker-tx force-pushed the walker/admin-sdk-generation branch from 7503930 to 551224b Compare September 3, 2026 20:26
@walker-tx
walker-tx changed the base branch from main to walker/admin-product-feature-api September 3, 2026 20:26
@blacksmith-sh

This comment has been minimized.

@blacksmith-sh

This comment has been minimized.

@walker-tx
walker-tx force-pushed the walker/admin-sdk-generation branch from 9756b22 to 3047a44 Compare September 3, 2026 23:39

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 82 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread .mise-tasks/test/sdk-overlays.sh
@walker-tx
walker-tx force-pushed the walker/admin-sdk-generation branch from 75edca9 to 9e82ae4 Compare September 4, 2026 17:03
Base automatically changed from walker/admin-product-feature-api to main September 4, 2026 17:55
@walker-tx
walker-tx force-pushed the walker/admin-sdk-generation branch from 9e82ae4 to 999bbf1 Compare September 4, 2026 17:55
@walker-tx
walker-tx added this pull request to the merge queue Sep 4, 2026
Merged via the queue into main with commit 9c8681c Sep 4, 2026
45 checks passed
@walker-tx
walker-tx deleted the walker/admin-sdk-generation branch September 4, 2026 18:15
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants