mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-31 21:59:49 -06: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>
72 lines
2.6 KiB
Makefile
72 lines
2.6 KiB
Makefile
.PHONY: setup build-baseline build-compression test-baseline test-compression report help
|
|
|
|
help:
|
|
@echo "Compression Testing Suite"
|
|
@echo ""
|
|
@echo "Available targets:"
|
|
@echo " setup - Initial setup (create network, directories)"
|
|
@echo " build-baseline - Build baseline images (requires: git checkout main)"
|
|
@echo " build-compression - Build compression images (current branch)"
|
|
@echo " test-baseline - Run all baseline tests"
|
|
@echo " test-compression - Run all compression tests"
|
|
@echo " report - Generate comparison report"
|
|
@echo ""
|
|
@echo "Individual SDK tests:"
|
|
@echo " test-go-baseline - Test Go SDK (baseline)"
|
|
@echo " test-go-compression - Test Go SDK (compression)"
|
|
@echo " test-ts-baseline - Test TypeScript SDK (baseline)"
|
|
@echo " test-ts-compression - Test TypeScript SDK (compression)"
|
|
@echo " test-py-baseline - Test Python SDK (baseline)"
|
|
@echo " test-py-compression - Test Python SDK (compression)"
|
|
|
|
setup:
|
|
./scripts/setup.sh
|
|
|
|
build-baseline:
|
|
@echo "Building baseline images (main branch)..."
|
|
@echo "Make sure you're on the main branch!"
|
|
@read -p "Press enter to continue..."
|
|
@cd ../.. && docker build -t go-disabled-compression -f hack/dev/compression-test/Dockerfile.client-go .
|
|
@cd ../.. && docker build -t typescript-disabled-compression -f hack/dev/compression-test/Dockerfile.client-ts .
|
|
@cd ../.. && docker build -t python-disabled-compression -f hack/dev/compression-test/Dockerfile.client-python .
|
|
@echo "Baseline images built successfully!"
|
|
|
|
build-compression:
|
|
@echo "Building compression images (current branch)..."
|
|
@read -p "Press enter to continue..."
|
|
@cd ../.. && docker build -t go-enabled-compression -f hack/dev/compression-test/Dockerfile.client-go .
|
|
@cd ../.. && docker build -t typescript-enabled-compression -f hack/dev/compression-test/Dockerfile.client-ts .
|
|
@cd ../.. && docker build -t python-enabled-compression -f hack/dev/compression-test/Dockerfile.client-python .
|
|
@echo "Compression images built successfully!"
|
|
|
|
test-baseline:
|
|
./scripts/run_all_tests.sh disabled
|
|
|
|
test-compression:
|
|
./scripts/run_all_tests.sh enabled
|
|
|
|
test-go-baseline:
|
|
./scripts/run_test.sh go disabled
|
|
|
|
test-go-compression:
|
|
./scripts/run_test.sh go enabled
|
|
|
|
test-ts-baseline:
|
|
./scripts/run_test.sh typescript disabled
|
|
|
|
test-ts-compression:
|
|
./scripts/run_test.sh typescript enabled
|
|
|
|
test-py-baseline:
|
|
./scripts/run_test.sh python disabled
|
|
|
|
test-py-compression:
|
|
./scripts/run_test.sh python enabled
|
|
|
|
report:
|
|
./scripts/generate_report.sh
|
|
|
|
clean:
|
|
docker rm -f hatchet-engine hatchet-client-go hatchet-client-typescript hatchet-client-python 2>/dev/null || true
|
|
rm -rf results/*.log results/*.summary
|