Skip to content

chore(decom): widget cleanup PR 4 — sync SDK to api (items 12,13 mirror)#174

Merged
yasithdev merged 1 commit into
devfrom
cleanup-pr4-api-decom
May 27, 2026
Merged

chore(decom): widget cleanup PR 4 — sync SDK to api (items 12,13 mirror)#174
yasithdev merged 1 commit into
devfrom
cleanup-pr4-api-decom

Conversation

@yasithdev
Copy link
Copy Markdown
Member

@yasithdev yasithdev commented May 27, 2026

Closes #175

Summary

SDK mirror sync for items 12 and 13 from .claude/plans/2026-05-27-post-migration-cleanup-plan.md.

  • Copies api/routes.ts and api/schema.ts (post item 12 + 13 edits) over src/sdk/routes.ts and src/sdk/schema.ts.
  • adminMaintenance contract no longer exposes cosmos_containers_deleted; widget did not consume this field outside the SDK mirror.
  • Drift accumulated since the previous sync is reconciled in the same diff (SDK file byte-equals api source).
  • Bumps version to 3.3.236.

Coordination

Depends on Marketrix-ai/api#533. Per oRPC no runtime validation:

  • API must ship the contract change before consumers — do not merge or deploy this PR until api v3.3.240 is rolled out to dev.
  • Widget tag push publishes @marketrix.ai/widget to npm; once published, app should npm install @marketrix.ai/widget@latest if needed.

Test plan

  • npm run type-check clean
  • npm run lint clean (warnings only)
  • npm run build clean
  • CI green
  • Deploy after api is rolled

…s_deleted)

Mirror api/routes.ts and api/schema.ts after item 12 removed the cosmos_cleanup
maintenance task. adminMaintenance no longer returns cosmos_containers_deleted.

Bump widget to 3.3.236.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@yasithdev yasithdev requested a review from a team May 27, 2026 20:31
@yasithdev yasithdev merged commit 4182e85 into dev May 27, 2026
4 checks passed
@yasithdev yasithdev deleted the cleanup-pr4-api-decom branch May 27, 2026 20:49
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.

chore(decom): widget cleanup PR 4 — sync SDK to api (items 12,13 mirror)

1 participant