# \#go-sdk

**URL:** https://community.temporal.io/tag/go-sdk/1.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [An error occurred when creating temporal worker deployment](https://community.temporal.io/t/an-error-occurred-when-creating-temporal-worker-deployment/19793)

<div class="topic-metadata">

**Author:** [@harrisonwongfpg](https://community.temporal.io/u/harrisonwongfpg)\
**Replies:** 2\
**Last updated:** [August 31, 2026, 3:47pm UTC](https://community.temporal.io/t/an-error-occurred-when-creating-temporal-worker-deployment/19793 "2026-08-31T15:47:39Z")

</div>

Hi all, I am having issue in creating temporal worker deployment. Does anyone else face this issue before? Your help is appreciated.

---

## [Proper way to test Update Handlers in workflows](https://community.temporal.io/t/proper-way-to-test-update-handlers-in-workflows/19702)

<div class="topic-metadata">

**Author:** [@Adithya\_Lennzer](https://community.temporal.io/u/Adithya_Lennzer)\
**Replies:** 1\
**Last updated:** [July 1, 2026, 1:15pm UTC](https://community.temporal.io/t/proper-way-to-test-update-handlers-in-workflows/19702 "2026-07-01T13:15:58Z")

</div>

I have a workflow that uses an UpdateHandler to add items to an in-workflow struct. I also have an UpdateHandler to close the workflow. I want to properly test these handlers but the documentation for testing does not co…

---

## [Adding Role-Based Authorization to Temporal](https://community.temporal.io/t/adding-role-based-authorization-to-temporal/19665)

<div class="topic-metadata">

**Author:** [@merlin001](https://community.temporal.io/u/merlin001)\
**Replies:** 3\
**Last updated:** [June 15, 2026, 4:51pm UTC](https://community.temporal.io/t/adding-role-based-authorization-to-temporal/19665 "2026-06-15T16:51:36Z")

</div>

Hello everyone, I am trying to add Role-Based Authorization (RBAC) to our corporate Temporal deployment, and I’m struggling to understand how authorization should be enforced outside of the Temporal UI. Our setup looks…

---

## [Temporal Worker: what is the best code architecture in Golang?](https://community.temporal.io/t/temporal-worker-what-is-the-best-code-architecture-in-golang/19565)

<div class="topic-metadata">

**Author:** [@ParkerSec](https://community.temporal.io/u/ParkerSec)\
**Replies:** 3\
**Last updated:** [May 26, 2026, 6:12am UTC](https://community.temporal.io/t/temporal-worker-what-is-the-best-code-architecture-in-golang/19565 "2026-05-26T06:12:09Z")

</div>

I often work on developing Temporal Worker services in Go, but I still find it difficult to decide how to structure the codebase in the cleanest and most maintainable way. For my standard REST services, I implement the …

---

## [Worker Memory usage](https://community.temporal.io/t/worker-memory-usage/705)

<div class="topic-metadata">

**Author:** [@Pedro\_Almeida](https://community.temporal.io/u/Pedro_Almeida)\
**Replies:** 21\
**Last updated:** [April 16, 2026, 6:59pm UTC](https://community.temporal.io/t/worker-memory-usage/705 "2026-04-16T18:59:33Z")

</div>

Hello, First of all, congrats on the V1 release of Temporal. :slight\_smile: We were using only 1 worker for a couple of running workflows ( 50 000 ) approximately. Workflows instances are mostly waiting for signals to …

---

## [Temporal server with the error "UpdateTaskQueue failed"](https://community.temporal.io/t/temporal-server-with-the-error-updatetaskqueue-failed/7813)

<div class="topic-metadata">

**Author:** [@zhangkyou](https://community.temporal.io/u/zhangkyou)\
**Replies:** 10\
**Last updated:** [April 10, 2026, 12:50am UTC](https://community.temporal.io/t/temporal-server-with-the-error-updatetaskqueue-failed/7813 "2026-04-10T00:50:57Z")

</div>

I found there is many error log in my Temporal server’s log. {"level":"error","ts":"2023-04-07T10:36:11.662+0800","msg":"Operation failed with internal error.","error":"UpdateTaskQueue failed. Failed to start transactio…

---

## [Workflow Task Heartbeating behavior with multiple sequential Local Activities](https://community.temporal.io/t/workflow-task-heartbeating-behavior-with-multiple-sequential-local-activities/19433)

<div class="topic-metadata">

**Author:** [@maximus3](https://community.temporal.io/u/maximus3)\
**Replies:** 1\
**Last updated:** [April 9, 2026, 2:56pm UTC](https://community.temporal.io/t/workflow-task-heartbeating-behavior-with-multiple-sequential-local-activities/19433 "2026-04-09T14:56:29Z")

</div>

Hey everyone :waving\_hand: I have a workflow that runs multiple sequential Local Activities, each taking ~2 seconds. I understand that Workflow Task Heartbeating kicks in automatically when a Local Activity takes longer…

---

## [Best Practices for Implementing a Workflow to Process Millions of Files Concurrently with Heavy Child Workflow Activities](https://community.temporal.io/t/best-practices-for-implementing-a-workflow-to-process-millions-of-files-concurrently-with-heavy-child-workflow-activities/13140)

<div class="topic-metadata">

**Author:** [@n3sser96](https://community.temporal.io/u/n3sser96)\
**Replies:** 12\
**Last updated:** [April 8, 2026, 9:19pm UTC](https://community.temporal.io/t/best-practices-for-implementing-a-workflow-to-process-millions-of-files-concurrently-with-heavy-child-workflow-activities/13140 "2026-04-08T21:19:41Z")

</div>

Hi everyone, We’re working on a Temporal setup with a parent workflow named CrawlerWorkflow and a child workflow named ProcessingFileWorkflow. The CrawlerWorkflow is responsible for crawling and orchestrating the proces…

---

## [Web Scraping use case: Handling Custom API Errors and retry](https://community.temporal.io/t/web-scraping-use-case-handling-custom-api-errors-and-retry/12246)

<div class="topic-metadata">

**Author:** [@JavascriptMick](https://community.temporal.io/u/JavascriptMick)\
**Replies:** 3\
**Last updated:** [March 30, 2026, 10:44am UTC](https://community.temporal.io/t/web-scraping-use-case-handling-custom-api-errors-and-retry/12246 "2026-03-30T10:44:35Z")

</div>

Hi All, I’m implementing a web scraping solution with go, colly and temporal. I’ve figured most of it out but have a question about handling custom Errors and retry My basic approach is Scrape a main page (html + js…

---

## [Panicing within a DataConverter and/or PayloadCodec](https://community.temporal.io/t/panicing-within-a-dataconverter-and-or-payloadcodec/19305)

<div class="topic-metadata">

**Author:** [@hferentschik](https://community.temporal.io/u/hferentschik)\
**Replies:** 2\
**Last updated:** [February 25, 2026, 9:53am UTC](https://community.temporal.io/t/panicing-within-a-dataconverter-and-or-payloadcodec/19305 "2026-02-25T09:53:13Z")

</div>

Hi there, We are using the temporal-large-payload-codec to work around the size limitations of Temporal in- and outputs. This works great, except we had situations where we got non determinism errors, namely when the co…

---

## [Timer Started But Never Fired - Stuck 24+ Hours](https://community.temporal.io/t/timer-started-but-never-fired-stuck-24-hours/19234)

<div class="topic-metadata">

**Author:** [@Kshitiz1403](https://community.temporal.io/u/Kshitiz1403)\
**Replies:** 3\
**Last updated:** [February 16, 2026, 3:24am UTC](https://community.temporal.io/t/timer-started-but-never-fired-stuck-24-hours/19234 "2026-02-16T03:24:22Z")

</div>

Problem A 2-second timer started at 2026-01-31T12:34:20Z (event 23) but never fired. Workflow has been stuck for over 24 hours with no TIMER\_FIRED event. Environment Workflow Type: ChildWorkflow SDK: temporal-go v1…

---

## [Not enough hosts to serve the request in temporal](https://community.temporal.io/t/not-enough-hosts-to-serve-the-request-in-temporal/19186)

<div class="topic-metadata">

**Author:** [@Vadim](https://community.temporal.io/u/Vadim)\
**Replies:** 2\
**Last updated:** [January 19, 2026, 4:27pm UTC](https://community.temporal.io/t/not-enough-hosts-to-serve-the-request-in-temporal/19186 "2026-01-19T16:27:47Z")

</div>

Hi. We’re trying to deploy Temporal (1.29.2) to the company cloud. We are using PostgreSQL as both the primary database and the visibility database. The migrations ran without issues, and a namespace was created. However…

---

## [Signals don't support context propogation](https://community.temporal.io/t/signals-dont-support-context-propogation/19169)

<div class="topic-metadata">

**Author:** [@adrianbisberg](https://community.temporal.io/u/adrianbisberg)\
**Replies:** 0\
**Last updated:** [January 12, 2026, 5:07pm UTC](https://community.temporal.io/t/signals-dont-support-context-propogation/19169 "2026-01-12T17:07:40Z")

</div>

We are running into a problem capturing accurate tracing information in our logs during API calls that trigger signals inside a workflow. We found that Signals do not support Context Propagation the way that starting the…

---

## [Low TPS (~60) Despite High Concurrency Settings - Need Help Identifying Bottleneck](https://community.temporal.io/t/low-tps-60-despite-high-concurrency-settings-need-help-identifying-bottleneck/19158)

<div class="topic-metadata">

**Author:** [@vishu.nkkb](https://community.temporal.io/u/vishu.nkkb)\
**Replies:** 0\
**Last updated:** [January 8, 2026, 4:21pm UTC](https://community.temporal.io/t/low-tps-60-despite-high-concurrency-settings-need-help-identifying-bottleneck/19158 "2026-01-08T16:21:08Z")

</div>

Hi Temporal Community, I’m experiencing unexpectedly low throughput (approximately 60 TPS) in my Temporal deployment, and scaling up pods doesn’t seem to improve performance. I’d appreciate any guidance on identifying t…

---

## [Temporal activities going into a pending state intermittently and eventually succeeding](https://community.temporal.io/t/temporal-activities-going-into-a-pending-state-intermittently-and-eventually-succeeding/19152)

<div class="topic-metadata">

**Author:** [@nipun](https://community.temporal.io/u/nipun)\
**Replies:** 2\
**Last updated:** [September 14, 2026, 5:19pm UTC](https://community.temporal.io/t/temporal-activities-going-into-a-pending-state-intermittently-and-eventually-succeeding/19152 "2026-09-14T17:19:59Z")

</div>

Hey folks! need some help with temporal activities going into a pending state intermittently. Context: We use temporal self-hosted version for file ingestion use case in our system. Problem Summary We are observing int…

---

## [NextRetryDelay issue in Activity](https://community.temporal.io/t/nextretrydelay-issue-in-activity/18775)

<div class="topic-metadata">

**Author:** [@vivek6190](https://community.temporal.io/u/vivek6190)\
**Replies:** 12\
**Last updated:** [December 25, 2025, 4:28am UTC](https://community.temporal.io/t/nextretrydelay-issue-in-activity/18775 "2025-12-25T04:28:12Z")

</div>

We have an activity that must not execute during a fixed downtime window (02:00–02:30 IST). If the activity starts within the downtime window, we immediately fail it and return a failure with an explicit nextRetryDelay, …

---

## [Manul retry of workflow from last failed step](https://community.temporal.io/t/manul-retry-of-workflow-from-last-failed-step/18733)

<div class="topic-metadata">

**Author:** [@vijay20](https://community.temporal.io/u/vijay20)\
**Replies:** 1\
**Last updated:** [December 23, 2025, 6:45pm UTC](https://community.temporal.io/t/manul-retry-of-workflow-from-last-failed-step/18733 "2025-12-23T18:45:47Z")

</div>

Hi , I have a workflow with multiple child workflows and parallel and sequntial tasks(like DAG). Some child workflows may succeed while others fail. If a child workflow fails and a user wants to manually retry only the…

---

## [Custom ScheduleToStartTimeout for a ChildWorkflow](https://community.temporal.io/t/custom-scheduletostarttimeout-for-a-childworkflow/18730)

<div class="topic-metadata">

**Author:** [@nitinkumar30](https://community.temporal.io/u/nitinkumar30)\
**Replies:** 1\
**Last updated:** [December 23, 2025, 2:40pm UTC](https://community.temporal.io/t/custom-scheduletostarttimeout-for-a-childworkflow/18730 "2025-12-23T14:40:00Z")

</div>

Hello, We have a use case where a parent workflow starts a child workflow that runs on a different worker (i.e., it uses a separate task queue). I need to ensure that if the child workflow does not start within X minut…

---

## [Retention period](https://community.temporal.io/t/retention-period/18776)

<div class="topic-metadata">

**Author:** [@vishu.nkkb](https://community.temporal.io/u/vishu.nkkb)\
**Replies:** 1\
**Last updated:** [December 22, 2025, 4:26pm UTC](https://community.temporal.io/t/retention-period/18776 "2025-12-22T16:26:40Z")

</div>

Hii everyone. As far as I know, the retention period is set to a minimum of 24 hours. Is it possible to reduce it to 2 hours or even a few minutes?

---

## [Use case for Pub/Sub Workflow integration](https://community.temporal.io/t/use-case-for-pub-sub-workflow-integration/18777)

<div class="topic-metadata">

**Author:** [@diego](https://community.temporal.io/u/diego)\
**Replies:** 1\
**Last updated:** [December 19, 2025, 7:07pm UTC](https://community.temporal.io/t/use-case-for-pub-sub-workflow-integration/18777 "2025-12-19T19:07:17Z")

</div>

I’m considering using Temporal to bring visibility to our pub/sub service. This pub/sub service is subscribing to a topic and once a message is received it reacts doing a request to another service. I did a basic PoC w…

---

## [Workflow Versioning didn’t prevent call to unregistered activity](https://community.temporal.io/t/workflow-versioning-didn-t-prevent-call-to-unregistered-activity/18746)

<div class="topic-metadata">

**Author:** [@Kewal\_Krishna\_Pandey](https://community.temporal.io/u/Kewal_Krishna_Pandey)\
**Replies:** 4\
**Last updated:** [December 17, 2025, 5:43pm UTC](https://community.temporal.io/t/workflow-versioning-didn-t-prevent-call-to-unregistered-activity/18746 "2025-12-17T17:43:38Z")

</div>

Hi everyone, I’m facing an issue related to workflow versioning in Temporal and need some clarification.I introduced a new activity inside a versioned block like this: v := workflow.GetVersion(ctx, “MyChangeID”, workfl…

---

## [Update history shards](https://community.temporal.io/t/update-history-shards/18745)

<div class="topic-metadata">

**Author:** [@a\_narrr](https://community.temporal.io/u/a_narrr)\
**Replies:** 5\
**Last updated:** [December 15, 2025, 7:14pm UTC](https://community.temporal.io/t/update-history-shards/18745 "2025-12-15T19:14:06Z")

</div>

Hi, I have a temporal setup right now running in production and numHistoryShards is 4. (default) and as I know it’s immutable. I want to update it to 1024. However I need to find a way to migarate the running workflows …

---

## [Tactors SDK — a small typed actor layer for Temporal (feedback welcome!)](https://community.temporal.io/t/tactors-sdk-a-small-typed-actor-layer-for-temporal-feedback-welcome/18694)

<div class="topic-metadata">

**Author:** [@Anton\_Lopan](https://community.temporal.io/u/Anton_Lopan)\
**Replies:** 4\
**Last updated:** [December 6, 2025, 5:59am UTC](https://community.temporal.io/t/tactors-sdk-a-small-typed-actor-layer-for-temporal-feedback-welcome/18694 "2025-12-06T05:59:49Z")

</div>

Hey everyone :waving\_hand: I’ve been playing with an idea: what if building long-lived, stateful things on Temporal in Go felt more like writing actors — but without codegen, reflection, or hiding Temporal under the rug…

---

## [Troubles with hello-workflow in edu-101-go-code](https://community.temporal.io/t/troubles-with-hello-workflow-in-edu-101-go-code/18708)

<div class="topic-metadata">

**Author:** [@Illia\_Sobko](https://community.temporal.io/u/Illia_Sobko)\
**Replies:** 12\
**Last updated:** [December 1, 2025, 7:34am UTC](https://community.temporal.io/t/troubles-with-hello-workflow-in-edu-101-go-code/18708 "2025-12-01T07:34:22Z")

</div>

I pulled the repo and did all that was described in https://temporal.talentlms.com/plus/my/training/126/units/2147. Then I started doing this hands-on https://temporal.talentlms.com/plus/my/training/126/units/2121. But w…

---

## [High CPU Utilization in DB Due to Timer Fires](https://community.temporal.io/t/high-cpu-utilization-in-db-due-to-timer-fires/18711)

<div class="topic-metadata">

**Author:** [@vivek6190](https://community.temporal.io/u/vivek6190)\
**Replies:** 2\
**Last updated:** [December 1, 2025, 4:52am UTC](https://community.temporal.io/t/high-cpu-utilization-in-db-due-to-timer-fires/18711 "2025-12-01T04:52:11Z")

</div>

Hi, We are 1M workflows that triggers timers simultaneously, and this is causing a significant spike in DB CPU utilization—reaching ~90% for about an hour. Our Temporal DB is running on a db.r8g.2xlarge instance. Is th…

---

## [How to change the Activity name to be different from the Activity function name?](https://community.temporal.io/t/how-to-change-the-activity-name-to-be-different-from-the-activity-function-name/16507)

<div class="topic-metadata">

**Author:** [@juanzolotoochin](https://community.temporal.io/u/juanzolotoochin)\
**Replies:** 3\
**Last updated:** [November 16, 2025, 7:36pm UTC](https://community.temporal.io/t/how-to-change-the-activity-name-to-be-different-from-the-activity-function-name/16507 "2025-11-16T19:36:49Z")

</div>

Hi, I’m new to temporal. Please let me know if this is not the right place to ask this question. I’m building workflows in which I have a bunch of activities that all have the same implementation but their behavior and…

---

## [Workers not polling for tasks](https://community.temporal.io/t/workers-not-polling-for-tasks/16411)

<div class="topic-metadata">

**Author:** [@Shantanu\_Sharma](https://community.temporal.io/u/Shantanu_Sharma)\
**Replies:** 6\
**Last updated:** [November 11, 2025, 7:15pm UTC](https://community.temporal.io/t/workers-not-polling-for-tasks/16411 "2025-11-11T19:15:09Z")

</div>

We are using go sdk version v1.25.1. The number of task slots available keep reducing continously without increase in load, the number of pollers of task queue are also less than the number of pods running. When we …

---

## [Archival and docker-compose](https://community.temporal.io/t/archival-and-docker-compose/1120)

<div class="topic-metadata">

**Author:** [@Pedro\_Almeida](https://community.temporal.io/u/Pedro_Almeida)\
**Replies:** 5\
**Last updated:** [November 2, 2025, 3:11pm UTC](https://community.temporal.io/t/archival-and-docker-compose/1120 "2025-11-02T15:11:30Z")

</div>

Hello, We currently use temporal server with docker-compose. Looking into the Archival Docs, seems it is not supported when running with docker-compose? Just wondering if there is a workaround before thinking in chan…

---

## [Best Practice for Managing Global User State Across Workflows (e.g., for Frequency Capping)](https://community.temporal.io/t/best-practice-for-managing-global-user-state-across-workflows-e-g-for-frequency-capping/18424)

<div class="topic-metadata">

**Author:** [@Younes\_Mahmoudi](https://community.temporal.io/u/Younes_Mahmoudi)\
**Replies:** 5\
**Last updated:** [October 24, 2025, 7:08pm UTC](https://community.temporal.io/t/best-practice-for-managing-global-user-state-across-workflows-e-g-for-frequency-capping/18424 "2025-10-24T19:08:01Z")

</div>

Hi all, We’re designing a marketing automation system using Temporal. In our model, a user can be active in multiple independent “Campaign Workflows” simultaneously (e.g., a Black Friday campaign and a new user onboardi…

---

## [Default Cluster Worker OIDC auth](https://community.temporal.io/t/default-cluster-worker-oidc-auth/12073)

<div class="topic-metadata">

**Author:** [@Troy\_Sampson](https://community.temporal.io/u/Troy_Sampson)\
**Replies:** 4\
**Last updated:** [October 24, 2025, 4:00pm UTC](https://community.temporal.io/t/default-cluster-worker-oidc-auth/12073 "2025-10-24T16:00:51Z")

</div>

Hello, We are running a local temporal cluster for dev/poc and we are using OIDC auth keycloak. We have our custom workers setup and working correctly with a JWTHeaderProvider that resembles this: type JWTHeaderProvid…

[Next page](https://community.temporal.io/tag/go-sdk/1.md?match_all_tags=true&page=1&tags%5B%5D=go-sdk)
