39 Commits
Author SHA1 Message Date
zeekay fbf2191dd6 docs(auth): canonical /v1/iam/.well-known/jwks in the JWKS references
The bare /.well-known/jwks form is only answered by the hanzo.id-worker
shim, which is being retired; IAM's discovery document advertises
/v1/iam/.well-known/jwks on both the public host and in-cluster.
2026-07-25 15:12:32 -07:00
zeekay d03bb8370a ops(scripts): sync-admin-ui.sh points at gui/apps/admin-tasks (was code/admin-tasks) 2026-04-27 14:33:28 -07:00
zeekay 1a46fdf123 feat(ui): v3.0.0 — Tamagui IS the production UI, kill v1 React/shadcn
The embedded UI in tasksd is now the @hanzo/gui Tamagui build from
~/work/hanzo/gui/code/admin-tasks/. v1 React/shadcn deleted.

What's still here:
  ui/embed.go        — Go //go:embed wrapper (handler unchanged)
  ui/dist/           — synced from admin-tasks build output
  ui/README.md       — explains the bundle is built externally
  scripts/sync-admin-ui.sh — copies admin-tasks/dist → ui/dist + stamp
  Makefile           — `ui` target now calls the sync script
  Dockerfile         — drops the node ui-build stage; expects pre-built
                       dist/ in the repo or built upstream via CI

What's deleted (62 files):
  ui/{src,public,node_modules}/         entire trees
  ui/{package.json, vite.config.ts, tailwind.config.js, postcss.config.js,
      tsconfig.json, index.html, PERF.md, .gitignore, pnpm-lock.yaml,
      vite.perf2.config.ts, tsconfig.tsbuildinfo}
  UI-TAMAGUI-MOVED.md (no longer accurate)

Live bundle (verified curl http://127.0.0.1:7243/):
  /_/tasks/                       → 200
  /_/tasks/assets/index-BKuZ1al1.js → 200, 674,748 bytes
  /_/tasks/assets/index-DTXHKKx4.css → 200, 9,104 bytes
  /v1/tasks/namespaces            → 200

Bundle: 339 KB → 675 KB raw / 104 KB → 199 KB gzip. Larger because
Tamagui ships react-native-web + Tamagui core + theme primitives
that shadcn doesn't. Trade: design-system consistency across all
Hanzo admin UIs (kms, commerce, console, etc.) vs 95 KB gzip.

CI note: .github/workflows/build.yml's docker build needs a pre-step
that checks out hanzo/gui and builds admin-tasks, OR commits ui/dist/
to this repo. Dockerfile fails fast with a clear message until then.

Tag v3.0.0 because this is a meaningful UI architecture change.
2026-04-27 08:15:19 -07:00
zeekay 818d40ed77 deploy: add K8s manifests, fix CI to push to GHCR, add IAM JWT auth
Production deployment infrastructure for tasks.hanzo.ai:

K8s manifests (k8s/):
- deployment.yaml: tasks server (gRPC 7233) + tasks-ui (HTTP 8080)
  with PostgreSQL backend, KMS-managed secrets, OTEL tracing
- ingress.yaml: tasks.hanzo.ai (UI) + tasks-api.hanzo.ai (gRPC)
- configmap.yaml: dynamic config (30d retention, rate limits)
- kms-secrets.yaml: KMSSecret CRD for POSTGRES_PASSWORD,
  TASKS_AUTH_SECRET, IAM_CLIENT_SECRET
- init-db.yaml: one-time job to create tasks + tasks_visibility DBs
- kustomization.yaml: Kustomize overlay

IAM integration:
- Client ID: app-tasks (matches live deployment)
- OIDC callback: https://tasks.hanzo.ai/auth/sso/callback
- JWT validation via hanzo.id JWKS (TEMPORAL_JWT_KEY_SOURCE1)
- scripts/register-iam.sh: IAM registration instructions

CI/CD (GHCR migration):
- docker-bake.hcl: IMAGE_REPO -> ghcr.io/hanzoai, image names
  server -> tasks, admin-tools -> tasks-admin-tools
- build-and-publish.yml: GHCR auth via GITHUB_TOKEN
- promote-*.yml: rewritten for GHCR (was DockerHub)
- docker-build-manual.yml: GHCR push support
- server.Dockerfile: user temporal -> tasks, workdir /etc/tasks
- admin-tools.Dockerfile: matching user/path rebrand
2026-03-19 10:54:47 -07:00
Alex ShtinandGitHub 0c6af46699 Move development files to .development (#1195) 2021-01-15 17:17:09 -08:00
Alex ShtinandGitHub 8df573c346 Refactor ldlflags (#1178) 2021-01-12 09:36:44 -08:00
Alex ShtinandGitHub bca0bb587c Refactor Buildkite pipeline (#1174) 2021-01-11 19:42:21 -08:00
wxing1292andGitHub 7b086939f1 Enable PostgreSQL tests on github (#821)
* Enable PostgreSQL tests on Github
* Move some tests around to avoid import cycle
2020-10-09 17:16:40 -07:00
Alex ShtinandGitHub 51541a8b47 Change client/server version support (#761) 2020-09-25 18:08:49 -07:00
Alex ShtinandGitHub 6a6909e92a Use vanity import package name go.temporal.io/server (#511) 2020-07-08 16:09:12 -07:00
Mark MarkaryanandGitHub 426d8acc3f docker-push.sh: publish :latest images repos (#235) 2020-03-20 13:36:26 -07:00
Samar AbbasandGitHub 3a11e54433 Switch to original goverall tool (#223) 2020-03-16 09:48:49 -07:00
Samar AbbasandGitHub 0649f09dda Update cadence references to temporal (#209)
Change all cadence references to temporal references throughout
source code and documentation.

Change docker entry point to tctl as we renamed it from temporal
to tctl.

Update mysql user login info.
2020-03-11 21:45:49 -07:00
Samar AbbasandGitHub 1034addd13 Add Buildkite pipeline step to publish docker images (#204) 2020-03-10 18:56:38 -07:00
5f51f61cf4 Enable all integration tests for buildkite (#110)
- Enable XDC test with cassandra
- Enable integration test with MySQL
- Enable XDC test with MySQL

Co-authored-by: Alex Shtin <[email protected]>
2020-02-04 12:48:18 -08:00
Samar AbbasandGitHub d630491c01 Buildkite enable integration tests (#88)
* Buildkite integration to run integration tests with code coverage
* update docker-compose plugin version to v3.1.0
* remove SSH_AUTH_SOCK volume mapping
* remove git config remap to use https again
* comment out cover files for XDC tests
2020-01-28 10:27:58 -08:00
Samar AbbasandGitHub 8ed34f62fc Renaming of package uber/cadence to temporalio/temporal (#4)
* Rename IDL files to move then under temporalio/temporal
* Rename ProjectRoot in makefile represent new repository
* Update go.mod to represent new repository
* Update all imports to temporalio/temporal package
* Fix tests to work after renaming
2019-10-26 10:26:07 -07:00
Quanzheng LongandGitHub db4eb3a6b3 Remove Deprecated code of Events V1 (#2634) 2019-10-11 16:33:44 -07:00
wxing1292andGitHub c1fbce8135 Fix build kite docker build (#2478)
* Fix docker userns remapping issue, i.e. `Container ID cannot be mapped to a host ID`
* Fix docker cli build
2019-08-29 11:01:08 -07:00
wxing1292andGitHub 626599fe3c Fix build kite docker build (#2477) 2019-08-28 18:34:47 -07:00
Dustin MetzgarandGitHub d358180347 Using latest version of goveralls for code coverage (#2390)
Forked goveralls and added a release with all the latest code. Last release was 2 years ago and doesn't include the BuildKite env vars.
2019-08-16 09:46:26 -07:00
Dustin MetzgarandGitHub 7ec73d09c9 Code coverage fixes (#2388)
* Code coverage fixes

* Moving gocov script, fixing volume

* Make gocov.sh executable

* Adding artifact path to pipeline

* Removing travis.yml

* Write code coverage mode to correct file

* Fix artifact path

* Fix artifact folder name

* Strip all coverage modes

* Add retry for code-coverage

* Fixing coveralls failed message
2019-08-14 16:20:13 -07:00
Quanzheng LongandGitHub 29813d32a5 User new dockerfiles (#2331) 2019-08-01 15:01:24 -07:00
VenkatandGitHub bad1e11a29 buildkite: generate docker image with tag master on every merge (#1983) 2019-06-11 11:44:51 -07:00
shreyassrivatsanandGitHub dc95d63e78 Start emitting build info metrics (#1849)
* Emit build info metrics - similar to how github.com/m3db
2019-05-21 13:16:52 -07:00
Quanzheng Longandshreyassrivatsan f0b23aa7d6 Update Kafka download link (#1612) 2019-03-27 15:16:27 -07:00
Samar Abbas - Uberandwxing1292 df275f2315 Parallelize travis builds for Cadence (#1428)
* increase test timeout to 40 minutes in makefile

* parallelize travis builds

* fix condition to start tests

* Parallelize travis builds for Cadence

Split Cadence build into three separate parts.
1) Unit: This runs unit test for all packages
2) Integration: This runs integration tests under host
3) XDC: This runs cross dc specific integration tests under hostxdc

Also split test initialization to only setup sql for unit tests and
Kafka for xdc tests.
2019-01-30 19:14:20 -08:00
Tamer EldeebandGitHub c56b06ec26 Remove unused scripts (#139)
Removes holdover scripts for Jenkins environment
2017-04-17 22:14:21 -07:00
Sivakumar KalvaandGitHub dc30429847 Mutable State Cleanup and Retry timer task incase of continuous update failures. (#87)
* Retry timer task incase of continuous update failures.

* Add schema to store next_event_id and state in the mutable state.

* Update MS state to get Next Event ID/State.

* Update History Engine API to do mutable state check

* Update TimerQ Processor to user Mutable state check

* Update workflow execution context to set next event ID and state.

* CR Comments.

* TimerProcessor Test: Split Activity timeouts into multiple tests.

* Turn the verbose -> Debug log in TimerQ Processor.

* Updating scripts to point to cadence_staging_dca1a

* Data Layer: Merge mutable state in to execution state

* Change decision start-to-close timeout to int32.

* Mutable state: Flatten decision info into execution info.

* CR Comments: remove the test code in timerQ processor.

* Remove decision_pending from schema.

* CR Comments Schema Naming: Remove last_ from decision, start_to_close from decision timeout

* Creating workflow to set decision start request ID to empty.
2017-03-17 10:58:38 -07:00
Sivakumar KalvaandGitHub 34a77b3683 stress verify completion script to run locally as well. (#79)
* stress verify completion script to run locally as well.

* Fix error coloring and message.
2017-03-09 14:46:10 -08:00
Sivakumar KalvaandGitHub 13a3310d0e Script to check stress is clean. (#72)
* Script to check stress is clean.

* Add workflow executions check.

* Upgrade deploy stress script.
2017-03-08 16:09:02 -08:00
Sivakumar KalvaandGitHub d9bfa1a542 Timer Cancellation Server Side changes. (#11)
* Thrift changes for cancel timer.

* Scripts to refer to local cassandra.

* Add CancelTimer to RespondDecisionTaskComplete

* Update integration test to run setup once.

* CR comments.
2017-03-01 14:18:10 -08:00
Samar Abbas 01f7b1e4cd Shard controller for history service
Summary:
ShardController implementation as a daemon started for each history
service host.  Basic implementation of shard controller relies entirely
on ring pop for shard distribution.
Added mocks for HistoryEngine, HistoryEngineFactory, ShardManager and
ServiceResolver for unit testing of shard controller.

Reviewers: sivakk, tamer, maxim

Reviewed By: tamer, maxim

Subscribers: jenkins, aravindv, venkat

Differential Revision: https://code.uberinternal.com/D716912
2017-01-31 13:28:02 -08:00
Samar Abbas 6a66e96066 Fix scripts to allow test to run on jenkins
Reviewers: tamer, sivakk, aravindv

Reviewed By: aravindv

Subscribers: jenkins, aravindv, venkat

Differential Revision: https://code.uberinternal.com/D698872
2017-01-13 12:55:44 -08:00
Siva Kalva 51d479e4ee Stress Script: Update Env variable. 2017-01-10 13:23:42 -08:00
Siva Kalva fdd1f0a09d Stress Scripts 2017-01-10 13:17:14 -08:00
Samar Abbas bac582148d enable running tests on jenkins
Summary:
Add support for running tests on jenkins

Added more reselient setup scripts which also allow us to run test on
jenkins.

Added .jenkins folder to allow running test on jenkins for every
check-in.

Reviewers: tamer

Reviewed By: tamer

Subscribers: aravindv, venkat

Differential Revision: https://code.uberinternal.com/D697074
2017-01-10 12:40:38 -08:00
Siva Kalva 66b4cc65c1 Add engine metrics
Summary:
Merge branch 'master' of code.uber.internal:devexp/minions into stress

Add Start/Stop to engine interface.

Fix start/stop

Add timer and schema script

Cleanup of schema.

Update drop key space.

Reviewers: samar

Subscribers: jenkins

Differential Revision: https://code.uberinternal.com/D654615
2016-12-02 11:57:49 -08:00
Siva Kalva 76fa1ce7cc Port client framework changes to exercise the stress run.
Summary: linting.

Reviewers: samar

Reviewed By: samar

Subscribers: jenkins

Differential Revision: https://code.uberinternal.com/D649078
2016-11-25 16:32:29 -08:00