Skip to content

Commit

Permalink
chore(deps): bump go.temporal.io/api from 1.16.0 to 1.44.1 (#254)
Browse files Browse the repository at this point in the history
Bumps [go.temporal.io/api](https://github.com/temporalio/api-go) from
1.16.0 to 1.44.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/temporalio/api-go/releases">go.temporal.io/api's
releases</a>.</em></p>
<blockquote>
<h2>v1.44.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix update.Response getting skipped by the proxy by <a
href="https://github.com/Quinn-With-Two-Ns"><code>@​Quinn-With-Two-Ns</code></a>
in <a
href="https://redirect.github.com/temporalio/api-go/pull/209">temporalio/api-go#209</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.44.0...v1.44.1">https://github.com/temporalio/api-go/compare/v1.44.0...v1.44.1</a></p>
<h2>v1.44.0</h2>
<h2>What's Changed</h2>
<ul>
<li>GHA check sdk-go compatibility by <a
href="https://github.com/rodrigozhou"><code>@​rodrigozhou</code></a> in
<a
href="https://redirect.github.com/temporalio/api-go/pull/200">temporalio/api-go#200</a></li>
<li>GHA to create release by <a
href="https://github.com/rodrigozhou"><code>@​rodrigozhou</code></a> in
<a
href="https://redirect.github.com/temporalio/api-go/pull/170">temporalio/api-go#170</a></li>
<li>Remove disabling UTF-8 validation hack by <a
href="https://github.com/dnr"><code>@​dnr</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/205">temporalio/api-go#205</a></li>
<li>[GHA] Set types for workflow_call inputs by <a
href="https://github.com/rodrigozhou"><code>@​rodrigozhou</code></a> in
<a
href="https://redirect.github.com/temporalio/api-go/pull/207">temporalio/api-go#207</a></li>
<li>[GHA][check-sdk-compat] Set staticcheck config to ignore deprecated
symbols check by <a
href="https://github.com/rodrigozhou"><code>@​rodrigozhou</code></a> in
<a
href="https://redirect.github.com/temporalio/api-go/pull/208">temporalio/api-go#208</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.43.2...v1.44.0">https://github.com/temporalio/api-go/compare/v1.43.2...v1.44.0</a></p>
<h2>v1.43.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update Cloud API by <a
href="https://github.com/nikki-dag"><code>@​nikki-dag</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/201">temporalio/api-go#201</a></li>
<li>Fix proxy manipulation of single payload fields by <a
href="https://github.com/bergundy"><code>@​bergundy</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/202">temporalio/api-go#202</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/nikki-dag"><code>@​nikki-dag</code></a>
made their first contribution in <a
href="https://redirect.github.com/temporalio/api-go/pull/201">temporalio/api-go#201</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.43.1...v1.43.2">https://github.com/temporalio/api-go/compare/v1.43.1...v1.43.2</a></p>
<h2>v1.43.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Add NamespaceUnavailable serviceerror by <a
href="https://github.com/bergundy"><code>@​bergundy</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/194">temporalio/api-go#194</a></li>
<li>Add Failure to QueryFailure serviceerror by <a
href="https://github.com/bergundy"><code>@​bergundy</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/199">temporalio/api-go#199</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.43.0...v1.43.1">https://github.com/temporalio/api-go/compare/v1.43.0...v1.43.1</a></p>
<h2>v1.43.0</h2>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.42.0...v1.43.0">https://github.com/temporalio/api-go/compare/v1.42.0...v1.43.0</a></p>
<h2>v1.42.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Sync to latest API Cloud to include Export by <a
href="https://github.com/alice-yin"><code>@​alice-yin</code></a> in <a
href="https://redirect.github.com/temporalio/api-go/pull/190">temporalio/api-go#190</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/alice-yin"><code>@​alice-yin</code></a>
made their first contribution in <a
href="https://redirect.github.com/temporalio/api-go/pull/190">temporalio/api-go#190</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.41.0...v1.42.0">https://github.com/temporalio/api-go/compare/v1.41.0...v1.42.0</a></p>
<h2>v1.41.0</h2>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/temporalio/api-go/compare/v1.40.0...v1.41.0">https://github.com/temporalio/api-go/compare/v1.40.0...v1.41.0</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/temporalio/api-go/commit/dad8b169ada911d3778e070484d1ae78a58bd22b"><code>dad8b16</code></a>
Fix update.Response getting skipped by the proxy (<a
href="https://redirect.github.com/temporalio/api-go/issues/209">#209</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/44277ce4b7b38c8778ae035fbf4cb501ccca0063"><code>44277ce</code></a>
[GHA][check-sdk-compat] Set staticcheck config to ignore deprecated
symbols c...</li>
<li><a
href="https://github.com/temporalio/api-go/commit/43caff91158ee3e66c88f15e67df78b8eb8b5938"><code>43caff9</code></a>
[GHA] Set types for workflow_call inputs (<a
href="https://redirect.github.com/temporalio/api-go/issues/207">#207</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/6126880e25a905e8f0b9675615380ec12f7fe833"><code>6126880</code></a>
Deprecate ScanWorkflowExecutions (<a
href="https://redirect.github.com/temporalio/api-go/issues/552">#552</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/482fd2ad703d9572deac05ee47e25955e23e5e95"><code>482fd2a</code></a>
Versioning 3.1 APIs (<a
href="https://redirect.github.com/temporalio/api-go/issues/540">#540</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/092f3b14eb1582f2267e952d8ea61fbcf3332428"><code>092f3b1</code></a>
Add HandlerErrorRetryBehavior (<a
href="https://redirect.github.com/temporalio/api-go/issues/551">#551</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/ebd7fd7e73dd6403352523487316850c7d6960c2"><code>ebd7fd7</code></a>
Rename Nexus Operation ID to token (<a
href="https://redirect.github.com/temporalio/api-go/issues/548">#548</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/1f14206b0af88d5b4647ccb319ea8cc79c1d6af2"><code>1f14206</code></a>
Add OnConflictOptions to StartWorkflowExecutionRequest (<a
href="https://redirect.github.com/temporalio/api-go/issues/510">#510</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/c83bb3e830970bec60f0a8b89b0d4137b0c6a411"><code>c83bb3e</code></a>
Single Activity API changes (<a
href="https://redirect.github.com/temporalio/api-go/issues/534">#534</a>)</li>
<li><a
href="https://github.com/temporalio/api-go/commit/ef33bbac8c445bd179c3e06c0f7bf008bcd39385"><code>ef33bba</code></a>
Add batch activity unpause operation (<a
href="https://redirect.github.com/temporalio/api-go/issues/535">#535</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/temporalio/api-go/compare/v1.16.0...v1.44.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.temporal.io/api&package-manager=go_modules&previous-version=1.16.0&new-version=1.44.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/instill-ai/mgmt-backend/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Vallés <jvalles@instill.tech>
  • Loading branch information
dependabot[bot] and jvallesm authored Feb 24, 2025
1 parent 02f4ddf commit c7cce9b
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 516 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
# mono occupies port 8084 which conflicts with mgmt-backend
- name: Stop mono service
run: |
sudo kill -9 `sudo lsof -t -i:8084`
sudo lsof -t -i:8084 | xargs -r sudo kill -9
sudo lsof -i -P -n | grep LISTEN
- name: Free disk space
Expand Down Expand Up @@ -102,6 +102,7 @@ jobs:
- name: Launch Instill Core
run: |
COMPOSE_PROFILES=all \
COMPONENT_ENV=.env.component-test \
EDITION=local-ce:test \
RAY_LATEST_TAG=latest \
RAY_RELEASE_TAG=${RAY_SERVER_VERSION} \
Expand Down
18 changes: 9 additions & 9 deletions cmd/worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import (
"go.temporal.io/api/workflowservice/v1"
"go.temporal.io/sdk/client"
"go.temporal.io/sdk/worker"

"github.com/instill-ai/x/temporal"
"github.com/instill-ai/x/zapadapter"
"google.golang.org/protobuf/types/known/durationpb"

"github.com/instill-ai/mgmt-backend/config"
"github.com/instill-ai/mgmt-backend/pkg/logger"
"github.com/instill-ai/x/temporal"
"github.com/instill-ai/x/zapadapter"

custom_otel "github.com/instill-ai/mgmt-backend/pkg/logger/otel"
mgmtWorker "github.com/instill-ai/mgmt-backend/pkg/worker"
customotel "github.com/instill-ai/mgmt-backend/pkg/logger/otel"
mgmtworker "github.com/instill-ai/mgmt-backend/pkg/worker"
)

func initTemporalNamespace(ctx context.Context, client client.Client) {
Expand All @@ -42,7 +42,7 @@ func initTemporalNamespace(ctx context.Context, client client.Client) {
if _, err := client.WorkflowService().RegisterNamespace(ctx,
&workflowservice.RegisterNamespaceRequest{
Namespace: config.Config.Temporal.Namespace,
WorkflowExecutionRetentionPeriod: func() *time.Duration {
WorkflowExecutionRetentionPeriod: func() *durationpb.Duration {
// Check if the string ends with "d" for day.
s := config.Config.Temporal.Retention
if strings.HasSuffix(s, "d") {
Expand All @@ -53,7 +53,7 @@ func initTemporalNamespace(ctx context.Context, client client.Client) {
}
// Convert days to hours and then to a duration.
t := time.Hour * 24 * time.Duration(days)
return &t
return durationpb.New(t)
}
logger.Fatal(fmt.Sprintf("Unable to parse retention period in day: %s", err))
return nil
Expand All @@ -74,7 +74,7 @@ func main() {
ctx, cancel := context.WithCancel(context.Background())

// setup tracing and metrics
if tp, err := custom_otel.SetupTracing(ctx, "mgmt-backend-worker"); err != nil {
if tp, err := customotel.SetupTracing(ctx, "mgmt-backend-worker"); err != nil {
panic(err)
} else {
defer func() {
Expand Down Expand Up @@ -129,7 +129,7 @@ func main() {
initTemporalNamespace(ctx, temporalClient)
}

w := worker.New(temporalClient, mgmtWorker.TaskQueue, worker.Options{
w := worker.New(temporalClient, mgmtworker.TaskQueue, worker.Options{
MaxConcurrentActivityExecutionSize: 2,
})

Expand Down
24 changes: 13 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ require (
github.com/gofrs/uuid v4.4.0+incompatible
github.com/gogo/status v1.1.1
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0
github.com/iancoleman/strcase v0.2.0
github.com/influxdata/influxdb-client-go/v2 v2.12.3
github.com/instill-ai/protogen-go v0.3.3-alpha.0.20241120170237-ee31d10bc9c8
Expand All @@ -33,16 +33,16 @@ require (
go.opentelemetry.io/otel/sdk v1.24.0
go.opentelemetry.io/otel/sdk/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
go.temporal.io/api v1.16.0
go.temporal.io/sdk v1.21.0
go.temporal.io/api v1.44.1
go.temporal.io/sdk v1.32.1
go.uber.org/zap v1.26.0
golang.org/x/crypto v0.31.0
golang.org/x/image v0.18.0
golang.org/x/net v0.33.0
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237
google.golang.org/grpc v1.64.1
google.golang.org/protobuf v1.33.0
google.golang.org/genproto/googleapis/api v0.0.0-20240827150818-7e3bb234dfed
google.golang.org/genproto/googleapis/rpc v0.0.0-20240827150818-7e3bb234dfed
google.golang.org/grpc v1.66.0
google.golang.org/protobuf v1.34.2
gorm.io/datatypes v1.2.0
gorm.io/driver/postgres v1.5.0
gorm.io/gorm v1.25.2
Expand All @@ -54,7 +54,7 @@ require (
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/catalinc/hashcash v0.0.0-20220723060415-5e3ec3e24f67 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.8.2 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
Expand Down Expand Up @@ -89,20 +89,22 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/docker-image-spec v1.3.1 // indirect
github.com/nexus-rpc/sdk-go v0.1.0 // indirect
github.com/opencontainers/image-spec v1.1.0 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/stretchr/testify v1.10.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect
go.opentelemetry.io/otel/metric v1.24.0 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
Expand Down
Loading

0 comments on commit c7cce9b

Please sign in to comment.