Commit Graph

113 Commits

Author SHA1 Message Date
Stephan Behnke
587e0779e9 OTEL setup via environment variables (#5230)
## What changed?
<!-- Describe what has changed in this PR -->

- allow configuring a custom OTEL `service.name` prefix
- allow configuring an OTEL exporter via env vars (following the [OTEL
spec](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options))

**Note that the OTEL exporter from the environment variables will only
be created if there isn't already one from the config.** Creating an
additional one wouldn't make any sense since the env variables would be
applied to both anyways and there would not be any difference between
them.

## Why?
<!-- Tell your future self why have you made these changes -->

Addresses:
- https://github.com/temporalio/temporal/issues/4042
- https://github.com/temporalio/temporal/issues/4041
- our own (increasing) need to enable OpenTelemetry tracing without
touching the Server config (for ad-hoc debugging when working on a SDK,
for example)

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

I ran an OTEL collector to verify it sends the tracing exports.

These are the env vars I set to make it work:
```go
os.Setenv("OTEL_TRACES_EXPORTER", "oltp")
os.Setenv("OTEL_EXPORTER_OTLP_TRACES_INSECURE", "true")
```

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

I doubt anyone would accidentally have these env variables specified and
turn on OpenTelemetry by accident.

Unless these are specified; no behavior change occurs.

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->

No
2024-02-27 09:30:00 -08:00
ast2023
7f11cae45d Allow client to request not to add timestamp to scheduled workflow id (#5447)
## What changed?
Now client can request not to append timestamp to scheduled workflow ID.

## Why?
User request.

## How did you test it?
Functional test.

## Potential risks
N/A

## Documentation
To the best of my ability.

## Is hotfix candidate?
No
2024-02-26 23:45:55 +00:00
Quinn Klassen
0d6536f547 Update Go SDK to v1.26.0-rc.2 (#5396)
## What changed?
Update Go SDK to v1.26.0-rc.2

## Why?
Use a tagged Go SDK for the server release

---------

Co-authored-by: Roey Berman <roey@temporal.io>
2024-02-21 12:54:18 -08:00
Michael Snowden
2da757965d Improve DLQ documentation (#5366)
## What changed?
<!-- Describe what has changed in this PR -->
I updated the docs for the DLQ to include a few more things and made
some structural changes.

## Why?
<!-- Tell your future self why have you made these changes -->
To make the docs more comprehensive and better structured.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
2024-01-30 18:30:09 +00:00
Alex Shtin
448db39cd6 Switch from docker-compose to docker compose (#5314)
## What changed?
<!-- Describe what has changed in this PR -->
Switch from `docker-compose` to `docker compose`.

## Why?
<!-- Tell your future self why have you made these changes -->
`docker-compose` was deprecated some time ago.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
Run locally.

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
No risks.

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
No.
2024-01-22 17:21:05 -08:00
Rodrigo Zhou
7c1cb65ea5 Update base-ci-builder image (#5311)
## What changed?
<!-- Describe what has changed in this PR -->
Update `base-ci-builder` image to 1.10.8.

## Why?
<!-- Tell your future self why have you made these changes -->
It updates `alpine` image to 3.19.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
2024-01-17 13:04:59 -06:00
Tim Deeb-Swihart
6a4450f1a6 Pull in protojson vuln fixes (#5267)
## What was changed

I bumped the version of api-go and sdk-go and _slightly_ altered our
nettest RPC factory interface to deal with changes in v1.60.0 of go-grpc

## Why?

To fix the protojson DOS vulns recently patched in the upstream
golang/protobuf. See https://github.com/temporalio/api-go/pull/143 for
details

## How did you test it?

I pulled the tests added to the protojson repo into our fork

## Potential risks

N/A

## Is hotfix candidate?

No as it requires all our other proto changes which aren't released
2024-01-08 22:41:00 +00:00
Rodrigo Zhou
bcdb99ab32 Github workflow to run tests (#5248)
## What changed?
<!-- Describe what has changed in this PR -->
Github workflow to run tests.
I couldn't add tests on `windows-latest` nor `macos-latest` at this moment.
In Windows, there are issues with filepaths in the archiver (eg: `file:///home/` vs `file:///c:\\`, note that in Windows, it needs a forward slash before the actual path `c:\\`, but it messes up with the actual path)
In MacOS, it doesn't have Docker installed by default.
Also, in both Windows and MacOS, some TLS related unit tests are failing.

## Why?
<!-- Tell your future self why have you made these changes -->
Replace buildkite.

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? -->
Ran in my fork: https://github.com/rodrigozhou/temporal/actions/runs/7401242980

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this change to production? -->
No.

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->
No.
2024-01-08 14:06:58 -06:00
Rodrigo Zhou
fe4bf89558 Fix buildkite cassandra setup (#5263)
## What changed?
<!-- Describe what has changed in this PR -->
Specify patch version of Cassandra image to use in buildkite.

## Why?
<!-- Tell your future self why have you made these changes -->
It seems that the latest version (3.11.16) has some issues with buildkite (`Cassandra 3.0 and later require Java 8u40 or later.`)

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? -->

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this change to production? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to be sent to the broader community? (Yes/No) -->
2024-01-04 16:39:14 -06:00
Tim Deeb-Swihart
8796381b8b Improve ackManager.completeTask performance by two orders of magnitude (#5216)
## What changed?
I replaced the outstandingTasks map with an ordered treemap and
optimized
completeTask to only scan what was necessary to update the ack level.

## Why?
The old implementation of completeTask required a full scan of the task
map in order to move the ack level which had terrible performance. 
By storing tasks in an ordered set we can limit the scan's size by
stopping at the first unacked task.

This trades addTask performance for completeTask performance but since
all
added tasks are presumably completed we should be fine with 1/3 the 
performance on addTask for 227x the completeTask performance. With this
change both operations run in about the same amount of time.

Before:
```
$ go test -bench=AckManager ./service/matching/... -run=FooBarBaz
goos: darwin
goarch: arm64
pkg: go.temporal.io/server/service/matching
BenchmarkAckManager_AddTask-12         	  22768	    52206 ns/op
BenchmarkAckManager_CompleteTask-12    	     38	 29293019 ns/op
```

After:
```
$ go test -bench=AckManager ./service/matching -run=FooBarBaz
goos: darwin
goarch: arm64
pkg: go.temporal.io/server/service/matching
BenchmarkAckManager_AddTask-12         	   8127	   147226 ns/op
BenchmarkAckManager_CompleteTask-12    	   8626	   136614 ns/op
```

## How did you test it?
I added both tests and benchmarks to ensure the ackManager worked as
before

## Potential risks
None.

## Is hotfix candidate?
No
2023-12-13 15:14:07 -08:00
Dan Davison
9002549018 Update ui-server version in docker-compose files (#5218)
Confirmed UI is at new version when served via docker-compose project.
2023-12-11 09:57:27 -08:00
Anton Romanovich
7f59d8243f Make functional test suites exported (#5205)
## What changed?
All `tests/*_test.go` were renamed to `tests/*go`, their `Test*Suite`
functions were moved out to `tests/all_test.go`.

## Why?
Following up on #5192 and #5188 — making test suites available to
third-party packages.

## How did you test it?
Ran tests.

## Potential risks
Merge conflicts in other PRs.

## Is hotfix candidate?
No.
2023-12-08 12:15:08 -06:00
Prathyush PV
955b87c23a Adding documentation for dealing with DLQ messages (#5139)
<!-- Describe what has changed in this PR -->
**What changed?**
Adding documentation on how to deal with messages that are added to
DLQs.

<!-- Tell your future self why have you made these changes -->
**Why?**
This will help operators to find messages in DLQ, the reason why it got
enqueued into DLQ etc.
It also has useful tdbg commands for deleting or re-enqueuing the
messages from DLQ

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**


<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
2023-11-23 02:22:43 +00:00
Tim Deeb-Swihart
1be76e3583 Replace gogo/protobuf with google/protobuf (#5032)
**What changed?**

gogo/protobuf has been replaced with Google's official go compiler. 

**Why?**

gogo/protobuf has been deprecated for some time and the community is
moving on, building new tools (like vtproto) atop google's v2 compiler.

**How did you test it?**

`make test`

**Potential risks**

1. The change from embedded gogo-generated-structs to
google-generated-pointers-to-structs created a risk of nil pointer
exceptions. I've fixed all the ones our tests found but it's possible
there are more lurking in the new code.
2. This change may cause our performance to decrease. Certainly
encoding/deconding of proto objects will become slower, but the overuse
of pointers by the google compiler may negatively affect our overall
performance. We'll need to keep an eye on the GC stats
3. This breaks the HTTP API. We will not support [shortand payload
encoding](https://github.com/temporalio/proposals/blob/master/api/http-api.md#payload-formatting)
in this first pass; that will come once this initial work is in testing.

**Breaking changes for developers**

- `*time.Time` in proto structs will now be
[timestamppb.Timestamp](https://pkg.go.dev/google.golang.org/protobuf@v1.31.0/types/known/timestamppb#section-documentation)
- `*time.Duration` will now be
[durationpb.Duration](https://pkg.go.dev/google.golang.org/protobuf/types/known/durationpb)
- V2-generated structs embed locks, so you cannot dereference them. `go
vet` will scream at you about this. If you need a copy, use
`proto.Clone`.
- If the performance of this sucks then I will either update our code
generator to add shallow-clone methods or hand-roll the ones we need
- Proto enums will, when formatted to JSON, now be in
`SCREAMING_SNAKE_CASE` rather than `PascalCase`. We decided (in
discussion with the SDK team) that now was as good a time as any to rip
the bandage off.
- Proto objects, or objects embedding protos, cannot be compared using
`reflect.DeepEqual` or _anything_ that uses it. This includes `testify`
and `mock` equality testers!
- You will need to use the `common/testing/protorequire`,
`common/testing/protoassert`, or `common/testing/protomock` packages
instead. I've implemented proto-compatible matchers and assertions there
for all cases I've encountered
- If you need `reflect.DeepEqual` for any reason you can use
`go.temporal.io/api/temporalproto.DeepEqual` instead

Note that history loading will not be impacted by the JSON changes: I
rewrote history loading to dynamically fix incoming history JSON data
(like all our other sdks); you can find this code in [my fork of our go
API](https://github.com/tdeebswihart/temporal-api-go/blob/master/internal/temporalhistoryv1/load.go)
alongside its tests.

**🚨Sharp Edges Introduced🚨**

Beware `*timestamppb.Timestamp.AsTime()`. If you need to extract a time
value from a proto time (timestamppb) **always** make sure to check
whether it's nil first. When the proto object is `nil` `AsTime()` will
return a non-zero time at the proto epoch: UTC midnight on January 1,
1970.

I've made this mistake multiple times during this transition and each
time it's been a pain to debug

**Is hotfix candidate?**

No.
2023-11-21 15:19:37 -08:00
Dan Davison
6c8b179116 Update APIs: server-imposed deadline expiry and non-blocking Update Poll (#5114)
## What changed?

Makes changes summarized in
https://github.com/temporalio/temporal/assets/52205/0660a021-588a-4573-94d3-301cae0c0040

### Empty responses on server-timeout
The behavior of `PollWorkflowExecutionUpdate` and
`UpdateWorkflowExecution` was changed as follows:
- They introduce a "server-imposed deadline" equal to current time plus
`LongPollExpirationInterval`
- If a timeout occurs due to the server-imposed deadline, then they do
not return an error, but return a response with an empty outcome.
- Otherwise, their behavior is unchanged (in particular, if a timeout
occurs due context deadline expiry, they return the error as before)

### Non-blocking poll
- Change the Update Poll endpoint so that omitting the `WaitPolicy` now
means "do not wait; respond with current Update status without
blocking". Previously omitting the `WaitPolicy` was interpreted to mean
"attempt to wait until Completed"
- Also return the `UpdateRef`

## Why?

### Empty responses on server-timeout
- This makes the behavior of the endoint consistent with
`GetWorkflowExecutionHistory`.
- This makes sense, because that endpoint is used in an analogous way
(e.g. `GetWorkflowExecutionHistory` is used for `wfHandle.result()` and
`PollWorkflowExecutionUpdateRequest` is used for
`updateHandle.result()`, and both involve polling for the result).
- In particular, a polling client interprets
timeout-on-server-imposed-deadline to mean that it should continue
polling, and we would prefer not to use an error to communicate this
non-exceptional situation.

### Non-blocking poll
SDK clients may use non-blocking poll to, for example
- Obtain current status of an Update (perhaps `updateHandle.describe()`
- Determine whether an Update with a given ID already exists / is
running

### How did you test it?
- Unit tests
- Modified Typescript SDK to not send `WaitPolicy`, ran a feature test
against the modified server and modified SDK, and confirmed API
communication as expected (this revealed that I needed to stop Frontend
mutating the request to set `WaitPolicy` to `Completed`).
- I changed the poll loop in sdk-typescript to no longer catch
`DeadlineExceeded`, ran the `update/basic_async` feature test against
the local SDK and against server binaries built prior to and with this
commit, and confirmed that the change in this PR fixed the poll loop.

### Potential risks
- Could break Update operations in SDKs

### Is hotfix candidate?
- No
2023-11-16 17:48:49 -05:00
Rodrigo Zhou
98faaf48fe Replace xwb1989/sqlparser with forked temporalio/sqlparser (#5096)
<!-- Describe what has changed in this PR -->
**What changed?**
Replace xwb1989/sqlparser with forked temporalio/sqlparser

<!-- Tell your future self why have you made these changes -->
**Why?**


<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Unit tests

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
2023-11-15 16:13:41 -06:00
Michael Snowden
37ffdd21c2 Log pkg/errors stack traces (#5076)
<!-- Describe what has changed in this PR -->
**What changed?**
I upgraded our zap version from v1.24.0 to v1.26.0, which contains
support for pkg/errors. See [this
issue](https://github.com/uber-go/zap/issues/303) and [this
commit](5fc2db7f38).
<img width="448" alt="image"
src="https://github.com/temporalio/temporal/assets/5942963/7d15d91a-27d3-45f6-9628-30bdcac38771">


<!-- Tell your future self why have you made these changes -->
**Why?**
Before this change, our logs would only contain the stack trace from
where the logger itself was invoked, not from the source of where the
error was generated or wrapped. This provided very little useful
information.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
I ran a custom [build of
server](https://gist.github.com/MichaelSnowden/c649dfd1efeb92f10bc72a040a792a8d)
which overwrote some deep code in history to return an error. I then set
up docker-compose to output logs -> promtail -> loki -> grafana. Then, I
queried Grafana to verify that the error log contained an "errorVerbose"
field with the stack trace from where my error was generated. As you can
see from the below image, the stack trace does appear under this field,
and if you turn on JSON parsing and newline escaping, you can both see
it rendered correctly, and you can copy-paste the stack trace.

<img width="983" alt="image"
src="https://github.com/temporalio/temporal/assets/5942963/cb9b0c83-b146-4060-9eac-3ccf9b807657">
<img width="683" alt="image"
src="https://github.com/temporalio/temporal/assets/5942963/6fa28f2f-5d04-47ae-b8a3-7512c3dd85e7">

The stack trace from Grafana:

```
oopsie woopsie
main.(*faultyShardEngine).StartWorkflowExecution
	/Users/mikey/src/temporalio/temporal/.scratches/main.go:39
go.temporal.io/server/service/history.(*Handler).StartWorkflowExecution
	/Users/mikey/src/temporalio/temporal/service/history/handler.go:595
go.temporal.io/server/api/historyservice/v1._HistoryService_StartWorkflowExecution_Handler.func1
	/Users/mikey/src/temporalio/temporal/api/historyservice/v1/service.pb.go:1300
...
```

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
The stack traces are pretty deep because of all our gRPC interceptors.
However, we can definitely fix that later if we want by filtering the
`pkg/errors.StackTrace`. I'd rather do that in a follow-up after getting
support for this initial change first, though.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
2023-11-06 09:28:26 -08:00
David Reiss
47f407f468 Fix output artifact names in coverage report in buildkite (#5071)
**What changed?**
Fix names of artifact paths to upload.

**Why?**
I mixed these up in a previous PR.
2023-11-03 08:39:01 -07:00
Stephan Behnke
01d3e7fdea Batch operation rate limit (#4941)
<!-- Describe what has changed in this PR -->
**What changed?**

Allow rate limiting a batch operation. Fixes
https://github.com/temporalio/temporal/issues/4926.

<!-- Tell your future self why have you made these changes -->
**Why?**

Batch operations are run server side and may effect millions of
executions, this in turn may overload workers and disrupt normal
operations.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**

I started the Server locally and initiated a batch operation from the
CLI ([CLI changes be found
here](https://github.com/temporalio/cli/pull/366)):

- [x] uses provided limit
- [x] uses server limit when not provided
- [x] caps it at server limit 

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**

Rate limiting to be incorrect and slow down processing or disrupt
cluster.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**

No
2023-10-30 20:04:09 +00:00
David Reiss
222bdc05a3 Share built images in CI and more sharding for functional tests (#4589)
**What changed?**
- In CI, build most of the tests and dependencies and reuse them in
subsequent steps.
- Additionally pre-build dependencies separately on a weekly schedule
(in buildkite configuration) and reuse them when possible.
- Add more test sharding for functional tests (split the main functional
test suite into three).

**Why?**
Increase parallelism, reduce latency of getting test results, reduce
granularity of retries

**How did you test it?**
lots of testing on buildkite

**Potential risks**

**Is hotfix candidate?**
2023-10-26 23:34:23 -07:00
Stephan Behnke
5f6768cb33 Buildkite test analytics (#4938)
<!-- Describe what has changed in this PR -->
**What changed?**

Using `gotestsum` - [as suggested by
Buildkite](https://buildkite.com/docs/test-analytics/golang-collectors)
- and uploading the artifacts to their Analytics product.

[Results will be available
here](https://buildkite.com/organizations/temporal/analytics/suites/temporal-public?branch=all+branches).

<!-- Tell your future self why have you made these changes -->
**Why?**

We want to have better insight into which tests are flaky and/or slow.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**

Running this branch in Buildkite.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**

None?

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**

No.
2023-10-10 08:39:20 -07:00
Nikolay Tretyak
0612ebf53e pgx support (#4913)
<!-- Describe what has changed in this PR -->
**What changed?**
`Driver` interface (with two implementations) was added to the
postgresql persistence package in order to support other drivers than
`lib/pq`. Fixes https://github.com/temporalio/temporal/issues/1775

Essentially, this PR does
https://github.com/temporalio/temporal/pull/4914 in a
backward-compatible and extendable way

<!-- Tell your future self why have you made these changes -->
**Why?**
Since `lib/pq` does not support multi-node clusters


<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Existing tests


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No, since you should explicitly change the driver in your config file.
However, `connectAttributes` depend on the driver (e.g.,
`binary_parameters` is supported only by `lib/pq` and is not a part of
postresql standard), so one should be careful changing drivers in
production.


<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No
2023-10-09 17:38:51 -05:00
Tim Deeb-Swihart
f44307cb3a Bump go version to 1.21 (#4874)
**What changed?**

The minimum go version was bumped from 1.20 to 1.21 in our go module
file.

**Why?**

Nexus would like to use the new `log/slog` package so let's support
that.

**How did you test it?**
Tests passed locally and in CI

**Potential risks**

Given the go team's aversion to breaking changes I'd say none. I've
spoken with @dnr in slack about how we can control the exact version of
go we use in CI to ensure we don't see any weirdness with unknown
version updates going forward. [We can set the new `GOTOOLCHAIN`
environment variable to `local`](toolchain) to prevent Go from
downloading new toolchains without our knowledge

**Is hotfix candidate?**

Nope.

[toolchain]: https://go.dev/doc/toolchain
2023-09-25 10:45:52 -07:00
Alex Shtin
0ce1234eea Rename leftover master to main (#4768)
<!-- Describe what has changed in this PR -->
**What changed?**
Rename leftover `master` to `main`.

<!-- Tell your future self why have you made these changes -->
**Why?**
`master` branch was renamed to `main` but some places still reference
`master`.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
N/A

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No risks.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
2023-08-11 10:39:14 -07:00
Alex Tideman
ccd23cb6b4 Bump UI version to 2.17.1 (#4720)
<!-- Describe what has changed in this PR -->
**What changed?**


<!-- Tell your future self why have you made these changes -->
**Why?**


<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**


<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
2023-08-03 14:55:59 -05:00
Rodrigo Zhou
01034e4b4e Add ES point in time to Scan API (#4380) 2023-05-26 12:36:22 -07:00
Mind.R
df9162b7bf Bump CI builder base version (#4406) 2023-05-26 07:38:40 -07:00
Rodrigo Zhou
6be18a1836 Add functional test with OpenSearch 2 (#4124) 2023-05-23 08:38:33 -07:00
Rob Holland
f1b88e8d59 Bump UI version (#4047)
Bump UI version.
2023-03-29 08:24:03 +01:00
Alex Shtin
74bfaffa84 Enable Elasticsearch functional tests for SQL advanced visibility (#3923)
* Enable Elasticsearch functional tests for SQL advanced visibility

* Cleanup cluster configs

* Disable cyclomatic and cognitive linter rules for tests dir
2023-02-10 12:57:21 -08:00
Rodrigo Zhou
c257d84c1e Implement default mapper for SQL visibility (#3875) 2023-01-31 22:03:41 -08:00
Ross Edfort
473b449d4c update development version of temporalio/ui to 2.10.1 (#3869)
update temporalio/ui to 2.10.1
2023-01-30 15:39:02 -07:00
Laura Whitaker
1543bd4add Update UI to v2.10.0 (#3841)
* Bump UI to v2.10.0 in docker-compose.yml

* Bump UI to v2.10.0 in docker-compose.cdc.yml
2023-01-25 15:51:15 -07:00
Yu Xia
851c634c6d Rename host tests to functional tests (#3782)
* Rename host tests to functional tests
2023-01-11 11:47:19 -08:00
Yu Xia
ac8717cc8d Separate integration tests and unit tests (#3760)
* Separate integration tests and unit tests
2023-01-04 22:17:25 -08:00
David Reiss
d112ea818f Update dashboards (#3694) 2022-12-07 12:45:43 -08:00
Alex Shtin
dde2afb3c8 Update api and sdk references (#3595) 2022-11-14 18:35:12 -08:00
Rodrigo Zhou
b74b0e3aab Upgrade dev grafana version used in docker (#3593) 2022-11-14 18:10:28 -08:00
Alex Shtin
3a08eed68d Limit Cassandra memory appetite to 1Gb in development configuration (#3581) 2022-11-14 17:28:38 -08:00
Ross Edfort
44154d3245 bump ui to v2.8.3 (#3573)
* bump ui to v2.8.3

* bump ui to v2.8.3 in docker-compose.cdc.yml
2022-11-10 09:21:52 -07:00
Mindaugas Rukas
4b4493ba91 Bump Golang version to 1.19 (#3507)
* Bump base image (temporalio/base-ci-builder) version to 1.7.0
* Run gofmt & goimports
* Bump go.mod go directive to 1.19
* Bump go version for goreleaser workflow
2022-10-19 12:37:16 -07:00
Ruslan
a4fe3a7cf1 Remove UI v1 from development environment (#3485)
Remove UI v1 from development scripts
2022-10-15 20:33:03 -04:00
Ruslan
bf8e1f1701 Bump UI to v2.7.0 (#3480) 2022-10-13 09:59:35 -07:00
Alex Shtin
6d8c6a968d Update base CI image version (#3334) 2022-09-07 20:52:05 -07:00
Rodrigo Zhou
1b210d8ee1 Remove support for ES6 (#3184)
* Remove support for ES6

* Remove ES6 index templates and remove ES6 support from scripts
2022-08-19 14:38:59 -07:00
Rodrigo Zhou
95e24d75d0 Add support for ES8 (#3185)
* Change ES client GetMapping to work with ES8

* Add support for ES8 and integration test

* Add ES8 integration test to buildkite coverage report

* Create es_v8_index_template.json

* Add env vars for ES8 container
2022-08-19 12:55:26 -07:00
Ross Edfort
378759cd05 Bump UI to v2.2.3 (#3114)
* bump ui to v2.2.3

* bump ui to v2.2.3 for cdc
2022-07-18 15:10:06 -06:00
David Reiss
30a89202af Generate most of the gRPC wrappers in client (#3001) 2022-06-29 18:33:15 -07:00
Rodrigo Zhou
8004b16756 Update Cassandra install guide for MacBook with ARM chip (#3026) 2022-06-27 12:26:21 -07:00
Matt McShane
a431b8a6d3 Tracing docs typo (#3018)
Docs typo

The headers stanza should be a child of spec, not connection. Dedent 2
spaces.
2022-06-25 23:45:47 -04:00