Skip to content

feat(publisher): migrate build REST endpoints to tRPC#16

Merged
vianmora merged 2 commits into
mainfrom
feat/trpc-build-router
May 17, 2026
Merged

feat(publisher): migrate build REST endpoints to tRPC#16
vianmora merged 2 commits into
mainfrom
feat/trpc-build-router

Conversation

@vianmora

@vianmora vianmora commented May 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Consolidates PRs #16 and #17 into a single testable image.

  • Commit 1getProjectBuildInfo: migrate REST endpoint to tRPC
  • Commit 2notifyBuildStatus: migrate REST endpoint to tRPC

Closes #17

Test plan

  • Publish a site → status updates correctly (BUILDING → PUBLISHED/FAILED)
  • No regression on standard publish flow

🤖 Generated with Claude Code

vianmora and others added 2 commits May 16, 2026 09:38
Replace GET /rest/build/:buildId with the tRPC query
build.loadProjectDataByBuildId (GET /trpc/build.loadProjectDataByBuildId).
Service-token auth bypasses CSRF — no other change needed.

Closes #9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace POST /rest/build/:buildId/status with tRPC mutation
build.updatePublishStatus (POST /trpc/build.updatePublishStatus).

Closes #15

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vianmora vianmora changed the title feat(publisher): migrate getProjectBuildInfo from REST to tRPC feat(publisher): migrate build REST endpoints to tRPC May 17, 2026
@vianmora vianmora merged commit 243b9de into main May 17, 2026
1 check passed
@vianmora vianmora deleted the feat/trpc-build-router branch May 17, 2026 15:53
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.

1 participant