mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-20 11:40:32 -05:00
* Add gzip compression init * revert * Feat: Initial cross-domain identify setup (#2533) * feat: initial setup * fix: factor out * chore: lint * fix: xss vuln * feat: set up properly * fix: lint * fix: key * fix: keys, cleanup * Fix: use sessionStorage instead of localStorage (#2541) * chore(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 (#2545) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.44.0 to 0.45.0. - [Commits](https://github.com/golang/crypto/compare/v0.44.0...v0.45.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.45.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml (#2547) Bumps [google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml](https://github.com/google/osv-scanner-action) from 2.2.4 to 2.3.0. - [Release notes](https://github.com/google/osv-scanner-action/releases) - [Commits](https://github.com/google/osv-scanner-action/compare/v2.2.4...v2.3.0) --- updated-dependencies: - dependency-name: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml dependency-version: 2.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Go SDK] Resubscribe and get a new listener stream when gRPC connections fail (#2544) * fix listener cache issue to resubscribe when erroring out * worker retry message clarification (#2543) * add another retry layer and add comments * fix loop logic * make listener channel retry * Compression test utils, and add log to indicate its enabled * clean + fix * more fallbacks * common pgxpool afterconnect method (#2553) * remove * lint * lint * add cpu monitor during test * fix background monitor and lint * Make envvar to disable compression * cleanup monitoring * PR Feedback * Update paths in compression tests + bump package versions * path issue on test script --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: matt <mrkaye97@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohammed Nafees <hello@mnafees.me>
63 lines
2.3 KiB
YAML
63 lines
2.3 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
client-go:
|
|
image: go-${COMPRESSION_STATE:-enabled}-compression
|
|
container_name: hatchet-client-go
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- HATCHET_CLIENT_HOST_PORT=${HATCHET_CLIENT_HOST_PORT:-192.168.65.254:7070}
|
|
- HATCHET_CLIENT_SERVER_URL=${HATCHET_CLIENT_SERVER_URL:-http://192.168.65.254:8080}
|
|
- HATCHET_CLIENT_TOKEN=${HATCHET_CLIENT_TOKEN}
|
|
- HATCHET_CLIENT_NAMESPACE=${HATCHET_CLIENT_NAMESPACE:-compression-test}
|
|
- HATCHET_CLIENT_LOG_LEVEL=${HATCHET_CLIENT_LOG_LEVEL:-debug}
|
|
- HATCHET_CLIENT_TLS_STRATEGY=none
|
|
- COMPRESSION_STATE=${COMPRESSION_STATE:-enabled}
|
|
command:
|
|
- ./hatchet-loadtest
|
|
- loadtest
|
|
- --events
|
|
- "${TEST_EVENTS_RATE:-10}"
|
|
- --duration
|
|
- "${TEST_DURATION:-60s}"
|
|
- --payloadSize
|
|
- "100kb"
|
|
- --dagSteps
|
|
- "1"
|
|
- --eventFanout
|
|
- "1"
|
|
- --slots
|
|
- "100"
|
|
- --wait
|
|
- "${TEST_WAIT:-60s}"
|
|
|
|
client-typescript:
|
|
image: typescript-${COMPRESSION_STATE:-enabled}-compression
|
|
container_name: hatchet-client-typescript
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- HATCHET_CLIENT_HOST_PORT=${HATCHET_CLIENT_HOST_PORT:-192.168.65.254:7070}
|
|
- HATCHET_CLIENT_API_URL=${HATCHET_CLIENT_API_URL:-http://192.168.65.254:8080}
|
|
- HATCHET_CLIENT_TOKEN=${HATCHET_CLIENT_TOKEN}
|
|
- HATCHET_CLIENT_NAMESPACE=${HATCHET_CLIENT_NAMESPACE:-compression-test}
|
|
- HATCHET_CLIENT_TLS_STRATEGY=none
|
|
- TEST_EVENTS_COUNT=${TEST_EVENTS_COUNT:-10}
|
|
- COMPRESSION_STATE=${COMPRESSION_STATE:-enabled}
|
|
command: ["ts-node", "-r", "tsconfig-paths/register", "typescript_test.ts"]
|
|
|
|
client-python:
|
|
image: python-${COMPRESSION_STATE:-enabled}-compression
|
|
container_name: hatchet-client-python
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- HATCHET_CLIENT_HOST_PORT=${HATCHET_CLIENT_HOST_PORT:-192.168.65.254:7070}
|
|
- HATCHET_CLIENT_TOKEN=${HATCHET_CLIENT_TOKEN}
|
|
- HATCHET_CLIENT_NAMESPACE=${HATCHET_CLIENT_NAMESPACE:-compression-test}
|
|
- HATCHET_CLIENT_TLS_STRATEGY=none
|
|
- TEST_EVENTS_COUNT=${TEST_EVENTS_COUNT:-10}
|
|
- COMPRESSION_STATE=${COMPRESSION_STATE:-enabled}
|
|
command: ["python", "python_test.py"]
|