9a7ad926aa
* WIP on using react-window-splitter
* WIP with new resizable panels and SSR
* Use the cookie package
* Resizable storybook page
* Increase indexing memory limit
* Fixed v2 usage meter displaying when on paid plan (#1255)
* Fixed v2 usage meter displaying when on paid plan
* Show the free usage panel only for v3 projects
* Concurrency page and more accurate tracking (#1252)
* Initial TaskRunConcurrencyTracker implementation
* MARQS calls a subscriber to events
* When enqueuing add the extra required metadata
* Track concurrency per environment for tasks too
* Admin page for global concurrency
* Use the new concurrency tracker on the tasks page
* Useful performance test task
* getAllTaskIdentifiers()
* New page for concurrency
* BackgroundWorkerTask index for quick lookup of task identifiers
* Added a way to get concurrency for environments
* Added upgrade/request more concurrency button
* Queued task column working
* Use defer and suspense
* Added queue column to the concurrency environments table
* Some comments added for clarity
* Fixed bad log message
* Sidemenu: move lower and rename to “Concurrency limits”
* Only show the environments, not tasks. Renamed to “Concurrency limits”
* v3: fix unfreezable state crashes for runs with multiple waits (#1253)
* support named capture groups
* write crash errors to attempt.error
* make restored pod names unique per checkpoint
* use last eight characters of checkpoint id instead
* add more chaos monkey env vars
* Ignore unfreezable states
* prevent excessive queue config parsing errors
* handle dependency resume edge case
* better entry point logging
* ignore checkpoint cancellation timeouts
* add missing idempotency keys to wait for dep replays
* remove checkpoints between attempts
* fix retry container names on kubernetes
* add changeset
* fix types
* bring back internal duration timers
* Added more logging to TaskRunConcurrencyTracker and some more try/catches
* Call subscriber.messageDequeued in dequeueMessageInSharedQueue
* Added messageReplaced to concurrency tracking (when freezing)
* Added depenenciesToBundle guide to bundle all packages
* Include the old message data when replacing, so we get the projectId etc.
* Fix restored container names
* Fix for schedule page not scrolling
* Added a description panel to the Concurrency admin page
* chore: Update version for release (beta) (#1256)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Release 3.0.0-beta.53
* Added a note to use batchTrigger() instead of trigger()
* The latest react-window-splitter fixes the ESM issues
* Set sensible defaults for the run page
* Deployments page
* Test page
* Schedules page
* Latest version of react-window-splitter (0.2.5)
* Updated to the latest version: react-window-splitter
* Callout if runs don’t start right away now has some top margin
* Small padding fix
* styled the handle focus state
* Added isStaticAtRest prop to resizable panel
* Updated resizable storybook
* Inline code blocks behave nicer when text wraps
* Added ElectricSQL to docker-compose, available on 3060
* Extracted some logic out of the eventRepository for getting a trace. This will be used on the frontend
* Use the new util
* More restructuring ready to use the trace summary from the frontend
* Using ElectricSQL for the run page data
* Min size for resizable panel on test page
* Don’t load the trace in the RunPresenter anymore
* Fix for the resizable panels on the run page
* Added overflow hidden to the panel group
* min size for the test page left hand panel
* Updated to latest window-splitter version
* Removed unused const
* One fix for client-server mismatch
* Slight improvement in the loading state
* Restructured the page so the loading is better
* Improvement to the loading states
* Improved the loading behaviour with the inspector
* WIP on auth, having problems with it
* Upgrade Remix to 2.9.1 (same as PR #1096)
* Switched structure around again so we only call the useTrace hook from the client
* Added auth to the sync
* Overscan more rows in the tree view
* Fix for TS error
* Remove duplicate import
* Revert "Upgrade Remix to 2.9.1 (same as PR #1096)"
This reverts commit e63ee9e924.
* save cookie only when id is used
* Deployment table now scrolls
* removed imports
* A lot of changes to make the inspector live too… WIP
* More major overhauls to get the synced version of the run page working…
* If a span is completed show that
* Set the debounce much lower for selecting the span view
* Load the details run inspector data on demand
* Delete the SpanPresenter
* Use the async payload because it deals with superjson
* Fixed weird merge conflict
* Share some inspector timeline components
* A couple of layout tweaks
* Improved the run inspector loading states
* Fix for paragaph errors
* Fix for focusing on a span
* Undefined typre for useSyncedShape
* ELECTRIC_ORIGIN env var doesn’t have a default, added to the examples
* Updated @electric-sql/react package to the latest
* Fix the timeline duration stretching
* Added some better error handling for the electric sync
* More logging
* Better error when there are bad responses
* Turn off resizable snapshots, there’s a bug
* Added getSpan back
* Added SpanPresenter back
* Updated to the new Electric hooks package
* Made a copy so we have the old run page and the new electric one
* Put the main eventRepository back for now
---------
Co-authored-by: nicktrn <55853254+nicktrn@users.noreply.github.com>
Co-authored-by: James Ritchie <james@trigger.dev>
Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
83 lines
3.8 KiB
Bash
83 lines
3.8 KiB
Bash
# YOU MIGHT LIKE TO MODIFY THESE VARIABLES
|
|
SESSION_SECRET=abcdef1234
|
|
MAGIC_LINK_SECRET=abcdef1234
|
|
ENCRYPTION_KEY=ae13021afef0819c3a307ad487071c06 # Must be a random 16 byte hex string. You can generate an encryption key by running `openssl rand -hex 16` in your terminal
|
|
LOGIN_ORIGIN=http://localhost:3030
|
|
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
|
|
# This sets the URL used for direct connections to the database and should only be needed in limited circumstances
|
|
# See: https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#fields:~:text=the%20shadow%20database.-,directUrl,-No
|
|
DIRECT_URL=${DATABASE_URL}
|
|
REMIX_APP_PORT=3030
|
|
APP_ENV=development
|
|
APP_ORIGIN=http://localhost:3030
|
|
ELECTRIC_ORIGIN=http://localhost:3060
|
|
NODE_ENV=development
|
|
V3_ENABLED=true
|
|
|
|
# Redis is used for the v3 queuing and v2 concurrency control
|
|
REDIS_HOST="localhost"
|
|
REDIS_PORT="6379"
|
|
REDIS_TLS_DISABLED="true"
|
|
|
|
DEV_OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:3030/otel"
|
|
DEV_OTEL_BATCH_PROCESSING_ENABLED="0"
|
|
|
|
# OPTIONAL VARIABLES
|
|
# This is used for validating emails that are allowed to log in. Every email that do not match this regex will be rejected.
|
|
# WHITELISTED_EMAILS="authorized@yahoo\.com|authorized@gmail\.com"
|
|
# Accounts with these emails will get global admin rights. This grants access to the admin UI.
|
|
# ADMIN_EMAILS="admin@example\.com|another-admin@example\.com"
|
|
# This is used for logging in via GitHub. You can leave these commented out if you don't want to use GitHub for authentication.
|
|
# AUTH_GITHUB_CLIENT_ID=
|
|
# AUTH_GITHUB_CLIENT_SECRET=
|
|
|
|
# Resend is an email service used for signing in to Trigger.dev via a Magic Link.
|
|
# Emails will print to the console if you leave these commented out
|
|
### Visit https://resend.com, create an account and get your API key. Then insert it below along with your From and Reply To email addresses. Visit https://resend.com/docs for more information.
|
|
# RESEND_API_KEY=<api_key>
|
|
# FROM_EMAIL=
|
|
# REPLY_TO_EMAIL=
|
|
|
|
# Remove the following line to enable logging telemetry traces to the console
|
|
LOG_TELEMETRY="false"
|
|
|
|
# CLOUD VARIABLES
|
|
POSTHOG_PROJECT_KEY=
|
|
PLAIN_API_KEY=
|
|
CLOUD_AIRTABLE_CLIENT_ID=
|
|
CLOUD_AIRTABLE_CLIENT_SECRET=
|
|
CLOUD_GITHUB_CLIENT_ID=
|
|
CLOUD_GITHUB_CLIENT_SECRET=
|
|
CLOUD_LINEAR_CLIENT_ID=
|
|
CLOUD_LINEAR_CLIENT_SECRET=
|
|
CLOUD_SLACK_APP_HOST=
|
|
CLOUD_SLACK_CLIENT_ID=
|
|
CLOUD_SLACK_CLIENT_SECRET=
|
|
|
|
# v3 variables
|
|
PROVIDER_SECRET=provider-secret # generate the actual secret with `openssl rand -hex 32`
|
|
COORDINATOR_SECRET=coordinator-secret # generate the actual secret with `openssl rand -hex 32`
|
|
|
|
# Uncomment the following line to enable the registry proxy
|
|
# ENABLE_REGISTRY_PROXY=true
|
|
# DEPOT_TOKEN=<Depot org token>
|
|
# DEPOT_PROJECT_ID=<Depot project id>
|
|
# DEPLOY_REGISTRY_HOST=${APP_ORIGIN} # This is the host that the deploy CLI will use to push images to the registry
|
|
# CONTAINER_REGISTRY_ORIGIN=<Container registry origin e.g. https://registry.digitalocean.com>
|
|
# CONTAINER_REGISTRY_USERNAME=<Container registry username e.g. Digital ocean email address>
|
|
# CONTAINER_REGISTRY_PASSWORD=<Container registry password e.g. Digital ocean PAT>
|
|
# DEV_OTEL_EXPORTER_OTLP_ENDPOINT="http://0.0.0.0:4318"
|
|
# These are needed for the object store (for handling large payloads/outputs)
|
|
# OBJECT_STORE_BASE_URL="https://{bucket}.{accountId}.r2.cloudflarestorage.com"
|
|
# OBJECT_STORE_ACCESS_KEY_ID=
|
|
# OBJECT_STORE_SECRET_ACCESS_KEY=
|
|
# CHECKPOINT_THRESHOLD_IN_MS=10000
|
|
|
|
# These control the server-side internal telemetry
|
|
# INTERNAL_OTEL_TRACE_EXPORTER_URL=<URL to send traces to>
|
|
# INTERNAL_OTEL_TRACE_EXPORTER_AUTH_HEADER_NAME=<Header name for the auth token>
|
|
# INTERNAL_OTEL_TRACE_EXPORTER_AUTH_HEADER_VALUE=<Auth token value>
|
|
# INTERNAL_OTEL_TRACE_LOGGING_ENABLED=1
|
|
# INTERNAL_OTEL_TRACE_SAMPING_RATE=20 # this means 1/20 traces or 5% of traces will be sampled (sampled = recorded)
|
|
# INTERNAL_OTEL_TRACE_INSTRUMENT_PRISMA_ENABLED=0,
|