samples-go icon indicating copy to clipboard operation
samples-go copied to clipboard

Temporal Go SDK samples

Results 71 samples-go issues
Sort by recently updated
recently updated
newest added

Signed-off-by: Tihomir Surdilovic * adds how to add custom metric in workflow code * adds how to set custom tags * updates worker to publish metrics on port 9092 (default...

Vulnerable Library - github.com/temporalio/sdk-go/contrib/tools/workflowcheck-b06c84ab2608fae617fe4d6d128d1018c828ae13 Found in HEAD commit: f334c489674c9ad224a791ced3eeec047e64e4ce ## Vulnerabilities | CVE | Severity | CVSS | Dependency | Type | Fixed in | Remediation Available | | -------------...

security vulnerability

Welcome to [Mend for GitHub.com](https://github.com/apps/mend-for-github-com) (formerly WhiteSource). This is an onboarding PR to help you understand and configure settings before Mend starts scanning your repository for security vulnerabilities. :vertical_traffic_light: Mend...

`make` currently failed at `staticcheck` step: https://github.com/temporalio/samples-go/blob/b49280daa78f354036d7d749157252369bca9b89/Makefile#L3 If remove `staticcheck` by changing to ```make install: clean errcheck workflowcheck bins test ``` It will pass. Here is the error log: ```sh...

## What was changed add errgroup sample ## Why? `errgroup` synchronise cancellation is a common pattern. ## Checklist 2. How was this tested: `go run errgroup/errgroup.go` 3. Any docs updates...

## What was changed Changed how Prometheus is configured in metrics sample ## Why? https://github.com/temporalio/sdk-go/pull/756 was merged and we want to encourage this way of initializing Prometheus. Note - do...

I was not able to find a sample on how to set up client options with TSL enabled. Does not have to be running, could be just a config example...

enhancement

### Describe the solution you'd like When https://github.com/temporalio/sdk-go/pull/756 is released, apply this: ```diff diff --git a/metrics/worker/main.go b/metrics/worker/main.go index c1dc254..e3dde80 100644 --- a/metrics/worker/main.go +++ b/metrics/worker/main.go @@ -53,35 +53,12 @@ func newPrometheusScope(c...

enhancement

As of today there are no integration level tests for `NewNonRetryableApplicationError`. This is a problem because we reference the feature in our docs and its a bit hard to find...

I want to be able to selectively decide if my workflow is to have its payloads encrypted. I am using the following sample project as a starter to prove I...

bug