local-temporal

Hướng dẫn chạy giao diện người dùng với bản dựng máy chủ Temporal cục bộ thay vì máy chủ dev CLI tích hợp sẵn. Dùng khi được hỏi cách khởi động môi trường dev,…

npx skills add https://github.com/temporalio/ui --skill local-temporal

Local Temporal Dev Setup

To develop against a local build of the Temporal server, you need two things running in separate terminals.

Terminal 1 — Temporal server (from your local temporal repo)

Navigate to your local clone of the temporalio/temporal repo and start the server:

make start

This builds and starts the server with SQLite in-memory. If you want a specific branch, check it out first:

git checkout <branch-name>
make bins  # safe to run even if already built — outputs "Nothing to be done" and exits cleanly
make start

The server runs gRPC on port 7233 and HTTP on 7243.

Terminal 2 — UI dev server (this repo)

From this repo, use the local-temporal script instead of the default dev script:

pnpm dev:local-temporal

This loads .env.local-temporal which points the UI at the local server instead of spinning up its own.

Why not pnpm dev?

pnpm dev (aliased to pnpm dev:ui-server) starts a bundled Temporal server alongside the UI. pnpm dev:local-temporal skips that and connects to whatever is already running on the configured ports.

Keeping the ui-server in sync with the Temporal server branch

This is critical when working on unreleased features. The ui-server (server/) is a separate Go binary that acts as a grpc-gateway — it decodes HTTP/JSON into proto messages and forwards them to the Temporal server over gRPC. Its proto descriptors are baked in at compile time from its own server/go.mod.

If the Temporal server branch uses a newer go.temporal.io/api version than server/go.mod, the ui-server will reject any new HTTP fields as "unknown field" before the request ever reaches the Temporal server.

When switching to a Temporal branch with API changes:

  1. Check what go.temporal.io/api version the Temporal server branch uses:

    grep "go.temporal.io/api" ~/code/temporal/go.mod
    
  2. Update server/go.mod to match:

    cd server
    go get go.temporal.io/api@<version>
    
  3. Rebuild the ui-server binary:

    go build -o ui-server ./cmd/server
    
  4. Then restart pnpm dev:local-temporal to pick up the new binary.

Thêm skills từ temporalio

temporal-cloud-setup
temporalio
Thiết lập Temporal Cloud và chạy một Workflow mẫu trên đó cho người dùng, thực hiện công việc từ đầu đến cuối. Sử dụng khi người dùng muốn thiết lập Temporal Cloud, bắt đầu với…
official
temporal-developer
temporalio
Phát triển, gỡ lỗi và quản lý các ứng dụng Temporal trên Python, TypeScript, Go, Java, .NET và Ruby. Sử dụng khi người dùng đang xây dựng quy trình làm việc, hoạt động hoặc…
official
temporal-cloud
temporalio
Khắc phục sự cố kết nối, xác thực và cấu hình Temporal Cloud. Sử dụng khi người dùng gặp lỗi đăng nhập, không thể kết nối với Cloud, gặp lỗi x509/TLS, có vấn đề về namespace hoặc…
official
temporal-observability
temporalio
Đo lường, thu thập, truy vấn và cảnh báo trên các số liệu Temporal trên Temporal Cloud và các triển khai tự lưu trữ. Bao gồm OpenMetrics endpoint trên Cloud, SDK metrics,…
official
temporal-cloud-setup
temporalio
Thiết lập Temporal Cloud và chạy một Workflow mẫu trên đó cho người dùng, thực hiện toàn bộ công việc từ đầu đến cuối. Sử dụng khi người dùng muốn thiết lập Temporal Cloud, bắt đầu với…
official
temporal-developer
temporalio
Kỹ năng này nên được sử dụng khi người dùng yêu cầu "tạo một quy trình làm việc Temporal", "viết một hoạt động Temporal", "gỡ lỗi quy trình làm việc bị kẹt", "sửa lỗi non-determinism",…
official
temporal-workflow-design-critic
temporalio
Phê bình, kiểm toán hoặc chấm điểm thiết kế quy trình Temporal về tính chính xác, mức độ sẵn sàng cho sản xuất và tuân thủ các thực hành tốt nhất. Sử dụng khi được yêu cầu xem xét một Temporal…
official
temporal-developer
temporalio
Phát triển, gỡ lỗi và quản lý các ứng dụng Temporal trên Python, TypeScript, Go, Java và .NET. Sử dụng khi người dùng đang xây dựng quy trình làm việc, hoạt động hoặc worker…
official