temporal_postgres_db | The files belonging to this database system will be owned by user "postgres". temporal_postgres_db | This user must also own the server process. temporal_postgres_db | temporal_postgres_db | The database cluster will be initialized with locale "en_US.utf8". temporal_postgres_db | The default database encoding has accordingly been set to "UTF8". temporal_postgres_db | The default text search configuration will be set to "english". temporal_postgres_db | temporal_postgres_db | Data page checksums are disabled. temporal_postgres_db | temporal_postgres_db | fixing permissions on existing directory /var/lib/postgresql/data ... ok temporal_postgres_db | creating subdirectories ... ok temporal_postgres_db | selecting dynamic shared memory implementation ... posix temporal_postgres_db | selecting default max_connections ... 100 temporal_postgres_db | selecting default shared_buffers ... 128MB temporal_postgres_db | selecting default time zone ... Etc/UTC temporal_postgres_db | creating configuration files ... ok temporal_postgres_db | running bootstrap script ... ok temporal_postgres_db | performing post-bootstrap initialization ... ok temporal_postgres_db | initdb: warning: enabling "trust" authentication for local connections temporal_postgres_db | You can change this by editing pg_hba.conf or using the option -A, or temporal_postgres_db | --auth-local and --auth-host, the next time you run initdb. temporal_postgres_db | syncing data to disk ... ok temporal_postgres_db | temporal_postgres_db | temporal_postgres_db | Success. You can now start the database server using: temporal_postgres_db | temporal_postgres_db | pg_ctl -D /var/lib/postgresql/data -l logfile start temporal_postgres_db | temporal_postgres_db | waiting for server to start....2025-02-22 15:40:47.606 UTC [48] LOG: starting PostgreSQL 13.20 (Debian 13.20-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit temporal_postgres_db | 2025-02-22 15:40:47.609 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" temporal_postgres_db | 2025-02-22 15:40:47.615 UTC [49] LOG: database system was shut down at 2025-02-22 15:40:47 UTC temporal_postgres_db | 2025-02-22 15:40:47.620 UTC [48] LOG: database system is ready to accept connections temporal_postgres_db | done temporal_postgres_db | server started temporal_postgres_db | CREATE DATABASE temporal_postgres_db | temporal_postgres_db | temporal_postgres_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* temporal_postgres_db | temporal_postgres_db | 2025-02-22 15:40:47.792 UTC [48] LOG: received fast shutdown request temporal_postgres_db | waiting for server to shut down....2025-02-22 15:40:47.794 UTC [48] LOG: aborting any active transactions temporal_postgres_db | 2025-02-22 15:40:47.795 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1 temporal_postgres_db | 2025-02-22 15:40:47.795 UTC [50] LOG: shutting down temporal_postgres_db | 2025-02-22 15:40:47.807 UTC [48] LOG: database system is shut down temporal_postgres_db | done temporal_postgres_db | server stopped temporal_postgres_db | temporal_postgres_db | PostgreSQL init process complete; ready for start up. temporal_postgres_db | temporal_postgres_db | 2025-02-22 15:40:47.907 UTC [1] LOG: starting PostgreSQL 13.20 (Debian 13.20-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit temporal_postgres_db | 2025-02-22 15:40:47.983 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 temporal_postgres_db | 2025-02-22 15:40:47.983 UTC [1] LOG: listening on IPv6 address "::", port 5432 temporal_postgres_db | 2025-02-22 15:40:47.987 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" temporal_postgres_db | 2025-02-22 15:40:48.045 UTC [63] LOG: database system was shut down at 2025-02-22 15:40:47 UTC temporal_postgres_db | 2025-02-22 15:40:48.048 UTC [1] LOG: database system is ready to accept connections postgres_db | The files belonging to this database system will be owned by user "postgres". postgres_db | This user must also own the server process. postgres_db | postgres_db | The database cluster will be initialized with locale "en_US.utf8". postgres_db | The default database encoding has accordingly been set to "UTF8". postgres_db | The default text search configuration will be set to "english". postgres_db | postgres_db | Data page checksums are disabled. postgres_db | postgres_db | fixing permissions on existing directory /var/lib/postgresql/data ... ok postgres_db | creating subdirectories ... ok postgres_db | selecting dynamic shared memory implementation ... posix postgres_db | selecting default max_connections ... 100 postgres_db | selecting default shared_buffers ... 128MB postgres_db | selecting default time zone ... Etc/UTC postgres_db | creating configuration files ... ok postgres_db | running bootstrap script ... ok postgres_db | performing post-bootstrap initialization ... ok postgres_db | initdb: warning: enabling "trust" authentication for local connections postgres_db | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. postgres_db | syncing data to disk ... ok postgres_db | postgres_db | postgres_db | Success. You can now start the database server using: postgres_db | postgres_db | pg_ctl -D /var/lib/postgresql/data -l logfile start postgres_db | postgres_db | waiting for server to start....2025-02-22 15:40:47.840 UTC [48] LOG: starting PostgreSQL 16.8 (Debian 16.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit postgres_db | 2025-02-22 15:40:47.841 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_db | 2025-02-22 15:40:47.847 UTC [51] LOG: database system was shut down at 2025-02-22 15:40:47 UTC postgres_db | 2025-02-22 15:40:47.850 UTC [48] LOG: database system is ready to accept connections postgres_db | done postgres_db | server started postgres_db | postgres_db | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* postgres_db | postgres_db | waiting for server to shut down...2025-02-22 15:40:47.953 UTC [48] LOG: received fast shutdown request postgres_db | .2025-02-22 15:40:47.955 UTC [48] LOG: aborting any active transactions postgres_db | 2025-02-22 15:40:47.956 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1 postgres_db | 2025-02-22 15:40:47.956 UTC [49] LOG: shutting down postgres_db | 2025-02-22 15:40:47.957 UTC [49] LOG: checkpoint starting: shutdown immediate postgres_db | 2025-02-22 15:40:47.965 UTC [49] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.002 s, total=0.009 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB; lsn=0/14EA2C8, redo lsn=0/14EA2C8 postgres_db | 2025-02-22 15:40:47.967 UTC [48] LOG: database system is shut down postgres_db | done postgres_db | server stopped postgres_db | postgres_db | PostgreSQL init process complete; ready for start up. postgres_db | postgres_db | 2025-02-22 15:40:48.068 UTC [1] LOG: starting PostgreSQL 16.8 (Debian 16.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit postgres_db | 2025-02-22 15:40:48.183 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres_db | 2025-02-22 15:40:48.183 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres_db | 2025-02-22 15:40:48.186 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_db | 2025-02-22 15:40:48.189 UTC [62] LOG: database system was shut down at 2025-02-22 15:40:47 UTC postgres_db | 2025-02-22 15:40:48.193 UTC [1] LOG: database system is ready to accept connections postgres_db | 2025-02-22 15:45:48.275 UTC [60] LOG: checkpoint starting: time postgres_db | 2025-02-22 15:46:18.584 UTC [60] LOG: checkpoint complete: wrote 305 buffers (1.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=30.272 s, sync=0.033 s, total=30.310 s; sync files=254, longest=0.002 s, average=0.001 s; distance=1800 kB, estimate=1800 kB; lsn=0/16AC6D8, redo lsn=0/16AC6A0 worker-1 | 2025-02-22 15:40:52.712206Z [1] | INFO tracecat.dsl.client:get_temporal_client:104 - Connecting to Temporal server... | {'namespace': 'default', 'url': 'temporal:7233'} worker-1 | 2025-02-22 15:40:52.717854Z [1] | INFO tracecat.dsl.client:get_temporal_client:110 - Successfully connected to Temporal server | {} worker-1 | 2025-02-22 15:40:55.431028Z [1] | INFO __main__:main:78 - Worker started, ctrl+c to exit | {} executor-1 | 2025-02-22 15:40:52.414553Z [1] | INFO tracecat.api.executor:create_app:66 - Executor service started | {'env': 'production', 'origins': ['*']} executor-1 | INFO: Started server process [1] executor-1 | INFO: Waiting for application startup. executor-1 | 2025-02-22 15:40:55,142 WARNING services.py:2063 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 67108864 bytes available. This will harm performance! You may be able to free up space by deleting files in /dev/shm. If you are inside a Docker container, you can increase /dev/shm size by passing '--shm-size=2.21gb' to 'docker run' (or add it to the run_options list in a Ray cluster config). Make sure to set this to more than 30% of available RAM. executor-1 | 2025-02-22 15:40:56,273 INFO worker.py:1832 -- Started a local Ray instance. View the dashboard at http://172.22.0.3:8265  executor-1 | 2025-02-22 15:40:58.395640Z [1] | INFO tracecat.executor.engine:setup_ray:22 - Connected to Ray cluster | {'resources': {'cpu': 8.0, 'CPU': 8.0, 'memory': 4314102990.0, 'object_store_memory': 2157051494.0, 'node:172.22.0.3': 1.0, 'node:__internal_head__': 1.0}, 'dashboard_url': '172.22.0.3:8265', 'ray_version': '2.42.1', 'ray_commit': 'c2e38f7b75be223c0c033986472daada8622d64f'} executor-1 | INFO: Application startup complete. executor-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) ui | Γû▓ Next.js 14.2.23 ui | - Local: http://localhost:3000 ui | - Network: http://0.0.0.0:3000 ui | ui | Γ£ô Starting... ui | Γ£ô Ready in 91ms ui | PostHog initialized for production environment. temporal | TEMPORAL_ADDRESS is not set, setting it to 172.18.0.4:7233 temporal | PostgreSQL started. temporal | Setup PostgreSQL schema. temporal | 2025-02-22T15:40:48.509Z INFO Starting schema setup {"config": {"SchemaFilePath":"","SchemaName":"","InitialVersion":"0.0","Overwrite":false,"DisableVersioning":false}, "logging-call-at": "setuptask.go:63"} temporal | 2025-02-22T15:40:48.509Z DEBUG Setting up version tables {"logging-call-at": "setuptask.go:73"} temporal | 2025-02-22T15:40:48.518Z DEBUG Setting initial schema version to 0.0 {"logging-call-at": "setuptask.go:136"} temporal | 2025-02-22T15:40:48.520Z DEBUG Updating schema update log {"logging-call-at": "setuptask.go:141"} temporal | 2025-02-22T15:40:48.521Z INFO Schema setup complete {"logging-call-at": "setuptask.go:149"} temporal | 2025-02-22T15:40:48.668Z INFO UpdateSchemaTask started {"config": {"DBName":"","TargetVersion":"","SchemaDir":"/etc/temporal/schema/postgresql/v12/temporal/versioned","SchemaName":"","IsDryRun":false}, "logging-call-at": "updatetask.go:104"} temporal | 2025-02-22T15:40:48.669Z DEBUG Schema Dirs: [v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6 v1.7 v1.8 v1.9 v1.10 v1.11 v1.12] {"logging-call-at": "updatetask.go:212"} temporal | 2025-02-22T15:40:48.670Z INFO Processing schema file: v1.0/schema.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.671Z INFO Processing schema file: v1.1/cluster_metadata.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.672Z INFO Processing schema file: v1.2/queue.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.673Z INFO Processing schema file: v1.3/visibility_tasks.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.673Z INFO Processing schema file: v1.4/cluster_metadata.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.674Z INFO Processing schema file: v1.5/event.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.674Z INFO Processing schema file: v1.5/executions.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.674Z INFO Processing schema file: v1.5/cluster_membership.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.675Z INFO Processing schema file: v1.6/queue_metadata.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.675Z INFO Processing schema file: v1.7/cluster_metadata_info.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.676Z INFO Processing schema file: v1.7/no_start_version.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.676Z INFO Processing schema file: v1.7/tiered_storage_tasks.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.677Z INFO Processing schema file: v1.8/drop_unused_tasks_table.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.677Z INFO Processing schema file: v1.8/alter_columns.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.677Z INFO Processing schema file: v1.9/history_tasks_table.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.678Z INFO Processing schema file: v1.10/task_queue_user_data.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.678Z INFO Processing schema file: v1.11/queue_v2.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.678Z INFO Processing schema file: v1.12/nexus_incoming_services.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:48.678Z DEBUG running 13 updates for current version 0.0 {"logging-call-at": "updatetask.go:138"} temporal | 2025-02-22T15:40:48.679Z DEBUG ---- Executing updates for version 1.0 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.679Z DEBUG CREATE TABLE namespaces( partition_id INTEGER NOT NULL, id BYTEA NOT NULL, name VARCHAR(255) UNIQUE NOT NULL, notification_version BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, is_global BOOLEAN NOT NULL, PRIMARY KEY(partition_id, id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.686Z DEBUG CREATE TABLE namespace_metadata ( partition_id INTEGER NOT NULL, notification_version BIGINT NOT NULL, PRIMARY KEY(partition_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.689Z DEBUG INSERT INTO namespace_metadata (partition_id, notification_version) VALUES (54321, 1); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.690Z DEBUG CREATE TABLE shards ( shard_id INTEGER NOT NULL, range_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.696Z DEBUG CREATE TABLE transfer_tasks( shard_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.704Z DEBUG CREATE TABLE executions( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, next_event_id BIGINT NOT NULL, last_write_version BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, state BYTEA NOT NULL, state_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.709Z DEBUG CREATE TABLE current_executions( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, create_request_id VARCHAR(64) NOT NULL, state INTEGER NOT NULL, status INTEGER NOT NULL, start_version BIGINT NOT NULL, last_write_version BIGINT NOT NULL, PRIMARY KEY (shard_id, namespace_id, workflow_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.713Z DEBUG CREATE TABLE buffered_events ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, id BIGSERIAL NOT NULL UNIQUE, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.721Z DEBUG CREATE TABLE tasks ( range_hash BIGINT NOT NULL, task_queue_id BYTEA NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (range_hash, task_queue_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.726Z DEBUG CREATE TABLE task_queues ( range_hash BIGINT NOT NULL, task_queue_id BYTEA NOT NULL, range_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (range_hash, task_queue_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.730Z DEBUG CREATE TABLE replication_tasks ( shard_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.735Z DEBUG CREATE TABLE replication_tasks_dlq ( source_cluster_name VARCHAR(255) NOT NULL, shard_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (source_cluster_name, shard_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.740Z DEBUG CREATE TABLE timer_tasks ( shard_id INTEGER NOT NULL, visibility_timestamp TIMESTAMP NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, visibility_timestamp, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.746Z DEBUG CREATE TABLE activity_info_maps ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, schedule_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16), PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, schedule_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.755Z DEBUG CREATE TABLE timer_info_maps ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, timer_id VARCHAR(255) NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16), PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, timer_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.762Z DEBUG CREATE TABLE child_execution_info_maps ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, initiated_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16), PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, initiated_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.768Z DEBUG CREATE TABLE request_cancel_info_maps ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, initiated_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16), PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, initiated_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.773Z DEBUG CREATE TABLE signal_info_maps ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, initiated_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16), PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, initiated_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.779Z DEBUG CREATE TABLE signals_requested_sets ( shard_id INTEGER NOT NULL, namespace_id BYTEA NOT NULL, workflow_id VARCHAR(255) NOT NULL, run_id BYTEA NOT NULL, signal_id VARCHAR(64) NOT NULL, PRIMARY KEY (shard_id, namespace_id, workflow_id, run_id, signal_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.784Z DEBUG CREATE TABLE history_node ( shard_id INTEGER NOT NULL, tree_id BYTEA NOT NULL, branch_id BYTEA NOT NULL, node_id BIGINT NOT NULL, txn_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, tree_id, branch_id, node_id, txn_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.790Z DEBUG CREATE TABLE history_tree ( shard_id INTEGER NOT NULL, tree_id BYTEA NOT NULL, branch_id BYTEA NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, tree_id, branch_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.795Z DEBUG CREATE TABLE queue ( queue_type INTEGER NOT NULL, message_id BIGINT NOT NULL, message_payload BYTEA NOT NULL, PRIMARY KEY(queue_type, message_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.800Z DEBUG CREATE TABLE queue_metadata ( queue_type INTEGER NOT NULL, data BYTEA NOT NULL, PRIMARY KEY(queue_type) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.805Z DEBUG CREATE TABLE cluster_metadata ( metadata_partition INTEGER NOT NULL, immutable_data BYTEA NOT NULL, immutable_data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY(metadata_partition) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.810Z DEBUG CREATE TABLE cluster_membership ( membership_partition INTEGER NOT NULL, host_id BYTEA NOT NULL, rpc_address VARCHAR(15) NOT NULL, rpc_port SMALLINT NOT NULL, role SMALLINT NOT NULL, session_start TIMESTAMP DEFAULT '1970-01-01 00:00:01+00:00', last_heartbeat TIMESTAMP DEFAULT '1970-01-01 00:00:01+00:00', record_expiry TIMESTAMP DEFAULT '1970-01-01 00:00:01+00:00', PRIMARY KEY (membership_partition, host_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.816Z DEBUG CREATE UNIQUE INDEX cm_idx_rolehost ON cluster_membership (role, host_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.819Z DEBUG CREATE INDEX cm_idx_rolelasthb ON cluster_membership (role, last_heartbeat); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.822Z DEBUG CREATE INDEX cm_idx_rpchost ON cluster_membership (rpc_address, role); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.824Z DEBUG CREATE INDEX cm_idx_lasthb ON cluster_membership (last_heartbeat); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.827Z DEBUG CREATE INDEX cm_idx_recordexpiry ON cluster_membership (record_expiry); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.829Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.831Z DEBUG Schema updated from 0.0 to 1.0 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.831Z DEBUG ---- Executing updates for version 1.1 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.831Z DEBUG ALTER TABLE cluster_metadata ADD data BYTEA NOT NULL DEFAULT ''; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.832Z DEBUG ALTER TABLE cluster_metadata ADD data_encoding VARCHAR(16) NOT NULL DEFAULT 'Proto3'; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.833Z DEBUG ALTER TABLE cluster_metadata ADD version BIGINT NOT NULL DEFAULT 1; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.835Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.838Z DEBUG Schema updated from 1.0 to 1.1 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.838Z DEBUG ---- Executing updates for version 1.2 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.838Z DEBUG ALTER TABLE queue ADD message_encoding VARCHAR(16) NOT NULL DEFAULT 'Json'; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.839Z DEBUG ALTER TABLE queue_metadata ADD data_encoding VARCHAR(16) NOT NULL DEFAULT 'Json'; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.841Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.844Z DEBUG Schema updated from 1.1 to 1.2 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.844Z DEBUG ---- Executing updates for version 1.3 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.844Z DEBUG CREATE TABLE visibility_tasks( shard_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.851Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.855Z DEBUG Schema updated from 1.2 to 1.3 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.855Z DEBUG ---- Executing updates for version 1.4 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.855Z DEBUG ALTER TABLE cluster_metadata DROP immutable_data; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.856Z DEBUG ALTER TABLE cluster_metadata DROP immutable_data_encoding; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.858Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.861Z DEBUG Schema updated from 1.3 to 1.4 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.861Z DEBUG ---- Executing updates for version 1.5 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.861Z DEBUG ALTER TABLE history_node ADD prev_txn_id BIGINT NOT NULL DEFAULT 0; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.862Z DEBUG ALTER TABLE executions ADD db_record_version BIGINT NOT NULL DEFAULT 0; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.863Z DEBUG ALTER TABLE cluster_membership ALTER COLUMN rpc_address TYPE VARCHAR(128); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.865Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.868Z DEBUG Schema updated from 1.4 to 1.5 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.868Z DEBUG ---- Executing updates for version 1.6 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.868Z DEBUG ALTER TABLE queue_metadata ADD version BIGINT NOT NULL DEFAULT 0; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.869Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.872Z DEBUG Schema updated from 1.5 to 1.6 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.872Z DEBUG ---- Executing updates for version 1.7 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.872Z DEBUG CREATE TABLE cluster_metadata_info ( metadata_partition INTEGER NOT NULL, cluster_name VARCHAR(255) NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, version BIGINT NOT NULL, PRIMARY KEY(metadata_partition, cluster_name) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.878Z DEBUG ALTER TABLE current_executions ALTER COLUMN start_version SET DEFAULT 0; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.879Z DEBUG CREATE TABLE tiered_storage_tasks( shard_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, task_id) ); {"logging-call-at": "updatetask.go:159"} caddy | {"level":"info","ts":1740238847.3564382,"msg":"using config from file","file":"/etc/caddy/Caddyfile"} caddy | {"level":"info","ts":1740238847.3585927,"msg":"adapted config to JSON","adapter":"caddyfile"} caddy | {"level":"info","ts":1740238847.3594728,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]} caddy | {"level":"info","ts":1740238847.3597102,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000053200"} caddy | {"level":"warn","ts":1740238847.3598282,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80} caddy | {"level":"info","ts":1740238847.362534,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]} caddy | {"level":"info","ts":1740238847.3630373,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"} caddy | {"level":"info","ts":1740238847.3630576,"msg":"serving initial configuration"} caddy | {"level":"info","ts":1740238847.3659623,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/data/caddy"} caddy | {"level":"info","ts":1740238847.36621,"logger":"tls","msg":"finished cleaning storage units"} temporal | 2025-02-22T15:40:48.885Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.888Z DEBUG Schema updated from 1.6 to 1.7 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.888Z DEBUG ---- Executing updates for version 1.8 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.888Z DEBUG DROP TABLE tiered_storage_tasks; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.889Z DEBUG ALTER TABLE current_executions ALTER COLUMN create_request_id TYPE VARCHAR(255); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.890Z DEBUG ALTER TABLE signals_requested_sets ALTER COLUMN signal_id TYPE VARCHAR(255); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.892Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.895Z DEBUG Schema updated from 1.7 to 1.8 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.895Z DEBUG ---- Executing updates for version 1.9 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.895Z DEBUG CREATE TABLE history_immediate_tasks( shard_id INTEGER NOT NULL, category_id INTEGER NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, category_id, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.901Z DEBUG CREATE TABLE history_scheduled_tasks ( shard_id INTEGER NOT NULL, category_id INTEGER NOT NULL, visibility_timestamp TIMESTAMP NOT NULL, task_id BIGINT NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, category_id, visibility_timestamp, task_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.907Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.909Z DEBUG Schema updated from 1.8 to 1.9 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.909Z DEBUG ---- Executing updates for version 1.10 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.909Z DEBUG CREATE TABLE task_queue_user_data ( namespace_id BYTEA NOT NULL, task_queue_name VARCHAR(255) NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, version BIGINT NOT NULL, PRIMARY KEY (namespace_id, task_queue_name) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.914Z DEBUG CREATE TABLE build_id_to_task_queue ( namespace_id BYTEA NOT NULL, build_id VARCHAR(255) NOT NULL, task_queue_name VARCHAR(255) NOT NULL, PRIMARY KEY (namespace_id, build_id, task_queue_name) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.919Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.922Z DEBUG Schema updated from 1.9 to 1.10 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.922Z DEBUG ---- Executing updates for version 1.11 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.922Z DEBUG CREATE TABLE queues ( queue_type INT NOT NULL, queue_name VARCHAR(255) NOT NULL, metadata_payload BYTEA NOT NULL, metadata_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (queue_type, queue_name) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.928Z DEBUG CREATE TABLE queue_messages ( queue_type INT NOT NULL, queue_name VARCHAR(255) NOT NULL, queue_partition BIGINT NOT NULL, message_id BIGINT NOT NULL, message_payload BYTEA NOT NULL, message_encoding VARCHAR(16) NOT NULL, PRIMARY KEY ( queue_type, queue_name, queue_partition, message_id ) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.934Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.936Z DEBUG Schema updated from 1.10 to 1.11 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.936Z DEBUG ---- Executing updates for version 1.12 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:48.936Z DEBUG CREATE TABLE nexus_incoming_services ( service_id BYTEA NOT NULL, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, version BIGINT NOT NULL, PRIMARY KEY (service_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.942Z DEBUG CREATE TABLE nexus_incoming_services_partition_status ( id INT NOT NULL PRIMARY KEY DEFAULT 0, version BIGINT NOT NULL, CONSTRAINT only_one_row CHECK (id = 0) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:48.946Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:48.949Z DEBUG Schema updated from 1.11 to 1.12 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:48.949Z INFO UpdateSchemaTask done {"logging-call-at": "updatetask.go:127"} temporal | 2025-02-22T15:40:49.134Z INFO Starting schema setup {"config": {"SchemaFilePath":"","SchemaName":"","InitialVersion":"0.0","Overwrite":false,"DisableVersioning":false}, "logging-call-at": "setuptask.go:63"} temporal | 2025-02-22T15:40:49.135Z DEBUG Setting up version tables {"logging-call-at": "setuptask.go:73"} temporal | 2025-02-22T15:40:49.144Z DEBUG Setting initial schema version to 0.0 {"logging-call-at": "setuptask.go:136"} temporal | 2025-02-22T15:40:49.145Z DEBUG Updating schema update log {"logging-call-at": "setuptask.go:141"} temporal | 2025-02-22T15:40:49.146Z INFO Schema setup complete {"logging-call-at": "setuptask.go:149"} temporal | 2025-02-22T15:40:49.164Z INFO UpdateSchemaTask started {"config": {"DBName":"","TargetVersion":"","SchemaDir":"/etc/temporal/schema/postgresql/v12/visibility/versioned","SchemaName":"","IsDryRun":false}, "logging-call-at": "updatetask.go:104"} temporal | 2025-02-22T15:40:49.166Z DEBUG Schema Dirs: [v1.0 v1.1 v1.2 v1.3 v1.4 v1.5 v1.6] {"logging-call-at": "updatetask.go:212"} temporal | 2025-02-22T15:40:49.166Z INFO Processing schema file: v1.0/schema.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.167Z INFO Processing schema file: v1.1/index.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.168Z INFO Processing schema file: v1.2/advanced_visibility.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.170Z INFO Processing schema file: v1.3/add_history_size_bytes.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.171Z INFO Processing schema file: v1.3/add_build_ids_search_attribute.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.171Z INFO Processing schema file: v1.4/add_execution_duration.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.171Z INFO Processing schema file: v1.4/add_state_transition_count.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.172Z INFO Processing schema file: v1.4/add_parent_workflow_info.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.172Z INFO Processing schema file: v1.5/add_root_workflow_info.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.173Z INFO Processing schema file: v1.6/fix_root_workflow_info.sql {"logging-call-at": "updatetask.go:256"} temporal | 2025-02-22T15:40:49.173Z DEBUG running 7 updates for current version 0.0 {"logging-call-at": "updatetask.go:138"} temporal | 2025-02-22T15:40:49.173Z DEBUG ---- Executing updates for version 1.0 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.173Z DEBUG CREATE TABLE executions_visibility ( namespace_id CHAR(64) NOT NULL, run_id CHAR(64) NOT NULL, start_time TIMESTAMP NOT NULL, execution_time TIMESTAMP NOT NULL, workflow_id VARCHAR(255) NOT NULL, workflow_type_name VARCHAR(255) NOT NULL, status INTEGER NOT NULL, close_time TIMESTAMP NULL, history_length BIGINT, memo BYTEA, encoding VARCHAR(64) NOT NULL, task_queue VARCHAR(255) DEFAULT '' NOT NULL, PRIMARY KEY (namespace_id, run_id) ); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.180Z DEBUG CREATE INDEX by_type_start_time ON executions_visibility (namespace_id, workflow_type_name, status, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.184Z DEBUG CREATE INDEX by_workflow_id_start_time ON executions_visibility (namespace_id, workflow_id, status, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.187Z DEBUG CREATE INDEX by_status_by_start_time ON executions_visibility (namespace_id, status, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.191Z DEBUG CREATE INDEX by_type_close_time ON executions_visibility (namespace_id, workflow_type_name, status, close_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.194Z DEBUG CREATE INDEX by_workflow_id_close_time ON executions_visibility (namespace_id, workflow_id, status, close_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.197Z DEBUG CREATE INDEX by_status_by_close_time ON executions_visibility (namespace_id, status, close_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.200Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.203Z DEBUG Schema updated from 0.0 to 1.0 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.203Z DEBUG ---- Executing updates for version 1.1 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.203Z DEBUG CREATE INDEX by_close_time_by_status ON executions_visibility (namespace_id, close_time DESC, run_id, status); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.206Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.208Z DEBUG Schema updated from 1.0 to 1.1 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.208Z DEBUG ---- Executing updates for version 1.2 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.208Z DEBUG CREATE EXTENSION IF NOT EXISTS btree_gin; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.221Z DEBUG CREATE FUNCTION convert_ts(s VARCHAR) RETURNS TIMESTAMP AS $$ BEGIN RETURN s::timestamptz at time zone 'UTC'; END $$ LANGUAGE plpgsql IMMUTABLE RETURNS NULL ON NULL INPUT; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.223Z DEBUG ALTER TABLE executions_visibility ADD COLUMN search_attributes JSONB NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.224Z DEBUG ALTER TABLE executions_visibility ADD COLUMN TemporalChangeVersion JSONB GENERATED ALWAYS AS (search_attributes->'TemporalChangeVersion') STORED, ADD COLUMN BinaryChecksums JSONB GENERATED ALWAYS AS (search_attributes->'BinaryChecksums') STORED, ADD COLUMN BatcherUser VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'BatcherUser') STORED, ADD COLUMN TemporalScheduledStartTime TIMESTAMP GENERATED ALWAYS AS (convert_ts(search_attributes->>'TemporalScheduledStartTime')) STORED, ADD COLUMN TemporalScheduledById VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'TemporalScheduledById') STORED, ADD COLUMN TemporalSchedulePaused BOOLEAN GENERATED ALWAYS AS ((search_attributes->'TemporalSchedulePaused')::boolean) STORED, ADD COLUMN TemporalNamespaceDivision VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'TemporalNamespaceDivision') STORED; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.247Z DEBUG ALTER TABLE executions_visibility ADD COLUMN Bool01 BOOLEAN GENERATED ALWAYS AS ((search_attributes->'Bool01')::boolean) STORED, ADD COLUMN Bool02 BOOLEAN GENERATED ALWAYS AS ((search_attributes->'Bool02')::boolean) STORED, ADD COLUMN Bool03 BOOLEAN GENERATED ALWAYS AS ((search_attributes->'Bool03')::boolean) STORED, ADD COLUMN Datetime01 TIMESTAMP GENERATED ALWAYS AS (convert_ts(search_attributes->>'Datetime01')) STORED, ADD COLUMN Datetime02 TIMESTAMP GENERATED ALWAYS AS (convert_ts(search_attributes->>'Datetime02')) STORED, ADD COLUMN Datetime03 TIMESTAMP GENERATED ALWAYS AS (convert_ts(search_attributes->>'Datetime03')) STORED, ADD COLUMN Double01 DECIMAL(20, 5) GENERATED ALWAYS AS ((search_attributes->'Double01')::decimal) STORED, ADD COLUMN Double02 DECIMAL(20, 5) GENERATED ALWAYS AS ((search_attributes->'Double02')::decimal) STORED, ADD COLUMN Double03 DECIMAL(20, 5) GENERATED ALWAYS AS ((search_attributes->'Double03')::decimal) STORED, ADD COLUMN Int01 BIGINT GENERATED ALWAYS AS ((search_attributes->'Int01')::bigint) STORED, ADD COLUMN Int02 BIGINT GENERATED ALWAYS AS ((search_attributes->'Int02')::bigint) STORED, ADD COLUMN Int03 BIGINT GENERATED ALWAYS AS ((search_attributes->'Int03')::bigint) STORED, ADD COLUMN Keyword01 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword01') STORED, ADD COLUMN Keyword02 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword02') STORED, ADD COLUMN Keyword03 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword03') STORED, ADD COLUMN Keyword04 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword04') STORED, ADD COLUMN Keyword05 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword05') STORED, ADD COLUMN Keyword06 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword06') STORED, ADD COLUMN Keyword07 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword07') STORED, ADD COLUMN Keyword08 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword08') STORED, ADD COLUMN Keyword09 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword09') STORED, ADD COLUMN Keyword10 VARCHAR(255) GENERATED ALWAYS AS (search_attributes->>'Keyword10') STORED, ADD COLUMN Text01 TSVECTOR GENERATED ALWAYS AS ((search_attributes->>'Text01')::tsvector) STORED, ADD COLUMN Text02 TSVECTOR GENERATED ALWAYS AS ((search_attributes->>'Text02')::tsvector) STORED, ADD COLUMN Text03 TSVECTOR GENERATED ALWAYS AS ((search_attributes->>'Text03')::tsvector) STORED, ADD COLUMN KeywordList01 JSONB GENERATED ALWAYS AS (search_attributes->'KeywordList01') STORED, ADD COLUMN KeywordList02 JSONB GENERATED ALWAYS AS (search_attributes->'KeywordList02') STORED, ADD COLUMN KeywordList03 JSONB GENERATED ALWAYS AS (search_attributes->'KeywordList03') STORED; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.271Z DEBUG DROP INDEX by_type_start_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.272Z DEBUG DROP INDEX by_workflow_id_start_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.273Z DEBUG DROP INDEX by_status_by_start_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.275Z DEBUG DROP INDEX by_type_close_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.276Z DEBUG DROP INDEX by_workflow_id_close_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.277Z DEBUG DROP INDEX by_status_by_close_time; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.279Z DEBUG DROP INDEX by_close_time_by_status; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.280Z DEBUG CREATE INDEX default_idx ON executions_visibility (namespace_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.283Z DEBUG CREATE INDEX by_execution_time ON executions_visibility (namespace_id, execution_time, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.286Z DEBUG CREATE INDEX by_workflow_id ON executions_visibility (namespace_id, workflow_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.289Z DEBUG CREATE INDEX by_workflow_type ON executions_visibility (namespace_id, workflow_type_name, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.293Z DEBUG CREATE INDEX by_status ON executions_visibility (namespace_id, status, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.296Z DEBUG CREATE INDEX by_history_length ON executions_visibility (namespace_id, history_length, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.300Z DEBUG CREATE INDEX by_task_queue ON executions_visibility (namespace_id, task_queue, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.303Z DEBUG CREATE INDEX by_temporal_change_version ON executions_visibility USING GIN (namespace_id, TemporalChangeVersion jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.305Z DEBUG CREATE INDEX by_binary_checksums ON executions_visibility USING GIN (namespace_id, BinaryChecksums jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.306Z DEBUG CREATE INDEX by_batcher_user ON executions_visibility (namespace_id, BatcherUser, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.309Z DEBUG CREATE INDEX by_temporal_scheduled_start_time ON executions_visibility (namespace_id, TemporalScheduledStartTime, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.312Z DEBUG CREATE INDEX by_temporal_scheduled_by_id ON executions_visibility (namespace_id, TemporalScheduledById, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.316Z DEBUG CREATE INDEX by_temporal_schedule_paused ON executions_visibility (namespace_id, TemporalSchedulePaused, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.320Z DEBUG CREATE INDEX by_temporal_namespace_division ON executions_visibility (namespace_id, TemporalNamespaceDivision, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.323Z DEBUG CREATE INDEX by_bool_01 ON executions_visibility (namespace_id, Bool01, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.327Z DEBUG CREATE INDEX by_bool_02 ON executions_visibility (namespace_id, Bool02, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.330Z DEBUG CREATE INDEX by_bool_03 ON executions_visibility (namespace_id, Bool03, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.333Z DEBUG CREATE INDEX by_datetime_01 ON executions_visibility (namespace_id, Datetime01, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.336Z DEBUG CREATE INDEX by_datetime_02 ON executions_visibility (namespace_id, Datetime02, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.339Z DEBUG CREATE INDEX by_datetime_03 ON executions_visibility (namespace_id, Datetime03, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.343Z DEBUG CREATE INDEX by_double_01 ON executions_visibility (namespace_id, Double01, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.346Z DEBUG CREATE INDEX by_double_02 ON executions_visibility (namespace_id, Double02, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.349Z DEBUG CREATE INDEX by_double_03 ON executions_visibility (namespace_id, Double03, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.353Z DEBUG CREATE INDEX by_int_01 ON executions_visibility (namespace_id, Int01, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.356Z DEBUG CREATE INDEX by_int_02 ON executions_visibility (namespace_id, Int02, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.359Z DEBUG CREATE INDEX by_int_03 ON executions_visibility (namespace_id, Int03, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.362Z DEBUG CREATE INDEX by_keyword_01 ON executions_visibility (namespace_id, Keyword01, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.365Z DEBUG CREATE INDEX by_keyword_02 ON executions_visibility (namespace_id, Keyword02, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.369Z DEBUG CREATE INDEX by_keyword_03 ON executions_visibility (namespace_id, Keyword03, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.372Z DEBUG CREATE INDEX by_keyword_04 ON executions_visibility (namespace_id, Keyword04, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.375Z DEBUG CREATE INDEX by_keyword_05 ON executions_visibility (namespace_id, Keyword05, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.379Z DEBUG CREATE INDEX by_keyword_06 ON executions_visibility (namespace_id, Keyword06, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.383Z DEBUG CREATE INDEX by_keyword_07 ON executions_visibility (namespace_id, Keyword07, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.386Z DEBUG CREATE INDEX by_keyword_08 ON executions_visibility (namespace_id, Keyword08, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.389Z DEBUG CREATE INDEX by_keyword_09 ON executions_visibility (namespace_id, Keyword09, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.393Z DEBUG CREATE INDEX by_keyword_10 ON executions_visibility (namespace_id, Keyword10, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.396Z DEBUG CREATE INDEX by_text_01 ON executions_visibility USING GIN (namespace_id, Text01); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.398Z DEBUG CREATE INDEX by_text_02 ON executions_visibility USING GIN (namespace_id, Text02); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.399Z DEBUG CREATE INDEX by_text_03 ON executions_visibility USING GIN (namespace_id, Text03); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.400Z DEBUG CREATE INDEX by_keyword_list_01 ON executions_visibility USING GIN (namespace_id, KeywordList01 jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.401Z DEBUG CREATE INDEX by_keyword_list_02 ON executions_visibility USING GIN (namespace_id, KeywordList02 jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.403Z DEBUG CREATE INDEX by_keyword_list_03 ON executions_visibility USING GIN (namespace_id, KeywordList03 jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.404Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.406Z DEBUG Schema updated from 1.1 to 1.2 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.406Z DEBUG ---- Executing updates for version 1.3 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.406Z DEBUG ALTER TABLE executions_visibility ADD COLUMN history_size_bytes BIGINT NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.407Z DEBUG CREATE INDEX by_history_size_bytes ON executions_visibility (namespace_id, history_size_bytes, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.410Z DEBUG ALTER TABLE executions_visibility ADD COLUMN BuildIds JSONB GENERATED ALWAYS AS (search_attributes->'BuildIds') STORED; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.480Z DEBUG CREATE INDEX by_build_ids ON executions_visibility USING GIN (namespace_id, BuildIds jsonb_path_ops); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.481Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.483Z DEBUG Schema updated from 1.2 to 1.3 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.483Z DEBUG ---- Executing updates for version 1.4 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.483Z DEBUG ALTER TABLE executions_visibility ADD COLUMN execution_duration BIGINT NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.484Z DEBUG CREATE INDEX by_execution_duration ON executions_visibility (namespace_id, execution_duration, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.486Z DEBUG ALTER TABLE executions_visibility ADD COLUMN state_transition_count BIGINT NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.487Z DEBUG CREATE INDEX by_state_transition_count ON executions_visibility (namespace_id, state_transition_count, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.490Z DEBUG ALTER TABLE executions_visibility ADD COLUMN parent_workflow_id VARCHAR(255) NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.490Z DEBUG ALTER TABLE executions_visibility ADD COLUMN parent_run_id VARCHAR(255) NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.491Z DEBUG CREATE INDEX by_parent_workflow_id ON executions_visibility (namespace_id, parent_workflow_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.494Z DEBUG CREATE INDEX by_parent_run_id ON executions_visibility (namespace_id, parent_run_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.496Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.498Z DEBUG Schema updated from 1.3 to 1.4 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.498Z DEBUG ---- Executing updates for version 1.5 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.498Z DEBUG ALTER TABLE executions_visibility ADD COLUMN root_workflow_id VARCHAR(255) NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.499Z DEBUG ALTER TABLE executions_visibility ADD COLUMN root_run_id VARCHAR(255) NULL; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.500Z DEBUG CREATE INDEX by_root_workflow_id ON executions_visibility (namespace_id, root_workflow_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.502Z DEBUG CREATE INDEX by_root_run_id ON executions_visibility (namespace_id, root_run_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.505Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.507Z DEBUG Schema updated from 1.4 to 1.5 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.507Z DEBUG ---- Executing updates for version 1.6 ---- {"logging-call-at": "updatetask.go:157"} temporal | 2025-02-22T15:40:49.507Z DEBUG DROP INDEX by_root_workflow_id; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.508Z DEBUG DROP INDEX by_root_run_id; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.509Z DEBUG ALTER TABLE executions_visibility DROP COLUMN root_workflow_id; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.510Z DEBUG ALTER TABLE executions_visibility DROP COLUMN root_run_id; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.510Z DEBUG ALTER TABLE executions_visibility ADD COLUMN root_workflow_id VARCHAR(255) NOT NULL DEFAULT ''; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.511Z DEBUG ALTER TABLE executions_visibility ADD COLUMN root_run_id VARCHAR(255) NOT NULL DEFAULT ''; {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.512Z DEBUG CREATE INDEX by_root_workflow_id ON executions_visibility (namespace_id, root_workflow_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.515Z DEBUG CREATE INDEX by_root_run_id ON executions_visibility (namespace_id, root_run_id, (COALESCE(close_time, '9999-12-31 23:59:59')) DESC, start_time DESC, run_id); {"logging-call-at": "updatetask.go:159"} temporal | 2025-02-22T15:40:49.518Z DEBUG ---- Done ---- {"logging-call-at": "updatetask.go:176"} temporal | 2025-02-22T15:40:49.520Z DEBUG Schema updated from 1.5 to 1.6 {"logging-call-at": "updatetask.go:149"} temporal | 2025-02-22T15:40:49.520Z INFO UpdateSchemaTask done {"logging-call-at": "updatetask.go:127"} temporal | Temporal CLI address: 172.18.0.4:7233. temporal | 2025/02/22 15:40:49 Loading config; env=docker,zone=,configDir=config temporal | 2025/02/22 15:40:49 Loading config files=[config/docker.yaml] temporal | {"level":"warn","ts":"2025-02-22T15:40:49.680Z","msg":"Not using any authorizer and flag `--allow-no-auth` not detected. Future versions will require using the flag `--allow-no-auth` if you do not want to set an authorizer.","logging-call-at":"main.go:178"} temporal | time=2025-02-22T15:40:49.691 level=ERROR msg="failed reaching server: last connection error: connection error: desc = \"transport: Error while dialing: dial tcp 172.18.0.4:7233: connect: connection refused\"" temporal | Waiting for Temporal server to start... temporal | Temporal server started. temporal | Registering default namespace: default. temporal | time=2025-02-22T15:40:50.750 level=WARN msg="Passing the namespace as an argument is now deprecated; please switch to using -n instead" temporal | time=2025-02-22T15:40:50.756 level=ERROR msg="unable to describe namespace default: Namespace default is not found." temporal | Default namespace default not found. Creating... api | Running database migrations... api | INFO [alembic.runtime.migration] Context impl PostgresqlImpl. api | INFO [alembic.runtime.migration] Will assume transactional DDL. api | INFO [alembic.runtime.migration] Running upgrade -> 50e22ca490f9, Initial migration api | INFO [alembic.runtime.migration] Running upgrade 50e22ca490f9 -> db946949e584, Remove CaseAction and CaseContext and remove workspace ID from CaseEvent api | INFO [alembic.runtime.migration] Running upgrade db946949e584 -> c4620fec7efc, Add environment and unique constraint to Secret temporal | time=2025-02-22T15:40:50.795 level=WARN msg="Passing the namespace as an argument is now deprecated; please switch to using -n instead" temporal | Namespace default successfully registered. temporal | Default namespace default registration complete. temporal | time=2025-02-22T15:40:50.837 level=ERROR msg="unable to list search attributes: Namespace default is not found." temporal | Waiting for namespace cache to refresh... temporal | Name Type temporal | TemporalChangeVersion KeywordList api | INFO [alembic.runtime.migration] Running upgrade c4620fec7efc -> 5308ffdd79f3, Add expects to Workflow api | INFO [alembic.runtime.migration] Running upgrade 5308ffdd79f3 -> 5273ec029b1b, Add registry repository and action tables api | INFO [alembic.runtime.migration] Running upgrade 5273ec029b1b -> 36f47d3628bf, Remove versioning from registry tables api | INFO [alembic.runtime.migration] Running upgrade 36f47d3628bf -> eba1f1b8f56d, Make repository_id non-nullable and add cascade delete api | INFO [alembic.runtime.migration] Running upgrade eba1f1b8f56d -> 054e842cb078, Remove cases api | INFO [alembic.runtime.migration] Running upgrade 054e842cb078 -> 046d417c113f, Add org secrets api | INFO [alembic.runtime.migration] Running upgrade 046d417c113f -> 0a85ea95e68c, Add schedule timeout api | INFO [alembic.runtime.migration] Running upgrade 0a85ea95e68c -> 307c3bb9fad5, Add user last_login_at api | INFO [alembic.runtime.migration] Running upgrade 307c3bb9fad5 -> b7a3a2146bac, Add accesstoken id api | INFO [alembic.runtime.migration] Running upgrade b7a3a2146bac -> da03a0dfa2db, Add repo last synced at and commit sha api | INFO [alembic.runtime.migration] Running upgrade da03a0dfa2db -> 3bc0a0970817, Add tags and workflow tags tables temporal | RootRunId Keyword api | INFO [alembic.runtime.migration] Running upgrade 3bc0a0970817 -> 8be6393b2ee0, Add workflow alias api | INFO [alembic.runtime.migration] Running upgrade 8be6393b2ee0 -> f2e840c9fb2c, Add workflow error handler temporal | TemporalScheduledById Keyword temporal | HistoryLength Int api | INFO [alembic.runtime.migration] Running upgrade f2e840c9fb2c -> 9194fb66b4ea, Add doc_url and author to BoundRegistryAction temporal | BatcherUser Keyword api | INFO [alembic.runtime.migration] Running upgrade 9194fb66b4ea -> 496c162975d7, Add organization settings table api | INFO [alembic.runtime.migration] Running upgrade 496c162975d7 -> 849db8d3b59d, Add deprecated field to BoundRegistryAction api | INFO [alembic.runtime.migration] Running upgrade 849db8d3b59d -> db3c91261770, Add Temporal search attributes temporal | StateTransitionCount Int temporal | RunId Keyword api | 2025-02-22 15:40:52.562901Z [7] | INFO tracecat.dsl.client:get_temporal_client:104 - Connecting to Temporal server... | {'namespace': 'default', 'url': 'temporal:7233'} api | 2025-02-22 15:40:52.583232Z [7] | INFO tracecat.dsl.client:get_temporal_client:110 - Successfully connected to Temporal server | {} api | 2025-02-22 15:40:52.589626Z [7] | INFO db3c91261770_add_temporal_search_attributes_py:add_temporal_search_attributes:56 - Temporal search attributes added | {} temporal | TemporalSchedulePaused Bool api | INFO [alembic.runtime.migration] Running upgrade db3c91261770 -> f92c80ef8c9d, Use UUIDs for workflows temporal | TaskQueue Keyword api | 2025-02-22 15:40:52.591117Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:56 - Dropping all foreign key constraints | {} api | 2025-02-22 15:40:52.593592Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:63 - Converting workflow IDs from hex to UUID format | {} api | 2025-02-22 15:40:52.604968Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:83 - Converting action workflow_id to UUID | {} api | 2025-02-22 15:40:52.613470Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:83 - Converting schedule workflow_id to UUID | {} api | 2025-02-22 15:40:52.619976Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:83 - Converting webhook workflow_id to UUID | {} temporal | ExecutionStatus Keyword api | 2025-02-22 15:40:52.627179Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:83 - Converting workflowdefinition workflow_id to UUID | {} temporal | WorkflowType Keyword api | 2025-02-22 15:40:52.635972Z [7] | INFO f92c80ef8c9d_use_uuids_for_workflows_py:upgrade:83 - Converting workflowtag workflow_id to UUID | {} temporal | BuildIds KeywordList api | INFO [alembic.runtime.migration] Running upgrade f92c80ef8c9d -> 4e07917dc4e8, Keep Action inputs as yaml string api | Migrations completed successfully. temporal | ExecutionDuration Int api | 2025-02-22 15:41:00.466119Z [25] | INFO tracecat.api.app:create_app:206 - OAuth redirect URL | {'url': 'http://0.0.0.0/auth/oauth/callback'} api | 2025-02-22 15:41:00.473238Z [25] | INFO tracecat.api.app:create_app:255 - App started | {'env': 'production', 'origins': [''], 'auth_types': {, }} api | INFO: Started server process [25] temporal | TemporalScheduledStartTime Datetime api | INFO: Waiting for application startup. api | 2025-02-22 15:41:00.585716Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'git_allowed_domains'} temporal | RootWorkflowId Keyword temporal | ParentRunId Keyword temporal | WorkflowId Keyword temporal | TemporalNamespaceDivision Keyword temporal | BinaryChecksums KeywordList api | 2025-02-22 15:41:00.588965Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'git_repo_url'} api | 2025-02-22 15:41:00.590161Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'git_repo_package_name'} temporal | HistorySizeBytes Int api | 2025-02-22 15:41:00.591204Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'saml_enabled'} temporal | ParentWorkflowId Keyword temporal | BatcherNamespace Keyword temporal | StartTime Datetime temporal | CloseTime Datetime api | 2025-02-22 15:41:00.592221Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'saml_enforced'} api | 2025-02-22 15:41:00.594610Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'saml_idp_metadata_url'} api | 2025-02-22 15:41:00.595816Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'auth_basic_enabled'} api | 2025-02-22 15:41:00.596785Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'auth_require_email_verification'} api | 2025-02-22 15:41:00.598045Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'auth_allowed_email_domains'} api | 2025-02-22 15:41:00.599105Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'auth_min_password_length'} api | 2025-02-22 15:41:00.600027Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'auth_session_expire_time_seconds'} temporal | ExecutionTime Datetime api | 2025-02-22 15:41:00.601018Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'oauth_google_enabled'} api | 2025-02-22 15:41:00.602613Z [25] | INFO tracecat.settings.service:init_default_settings:76 - Created setting | {'service': 'settings', 'key': 'app_registry_validation_enabled'} api | 2025-02-22 15:41:00.604091Z [25] | INFO tracecat.registry.common:reload_registry:22 - Setting up base registry repository | {} api | 2025-02-22 15:41:00.613493Z [25] | INFO tracecat.registry.common:reload_registry:32 - Created base registry repository | {'origin': 'tracecat_registry'} api | 2025-02-22 15:41:00.613663Z [25] | INFO tracecat.registry.repository:load_from_origin:232 - Loading builtin registry | {} temporal | Namespace cache refreshed. api | 2025-02-22 15:41:00.613740Z [25] | INFO tracecat.registry.repository:_load_base_udfs:220 - Loading base UDFs | {} api | 2025-02-22 15:41:00.620881Z [25] | INFO tracecat.registry.repository:_register_udfs_from_package:527 - Loading UDFs from /usr/local/lib/python3.12/site-packages/tracecat_registry/__main__.py | {} api | INFO: Application startup complete. api | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) temporal | Adding Custom*Field search attributes. temporal | Search attributes have been added