Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4b88193
Add product tracing for relay clients
juliusmarminge Jun 7, 2026
67b5556
Inline relay tracing operator
juliusmarminge Jun 7, 2026
c85f73e
Move relay tracing into shared
juliusmarminge Jun 8, 2026
dd5f301
Trace managed relay connection bootstrap
juliusmarminge Jun 8, 2026
94efc67
Rewrite client connection architecture
juliusmarminge Jun 7, 2026
2b1707a
Trace relay connection flows in new runtime
juliusmarminge Jun 8, 2026
f9c0e72
refactor: Enhance connection supervisor with improved state managemen…
juliusmarminge Jun 9, 2026
371d32e
refactor: update environment registry and runtime services
juliusmarminge Jun 9, 2026
cb29e15
refactor: remove filesystem and source control discovery state manage…
juliusmarminge Jun 9, 2026
3b329ad
refactor: reorganize shared client runtime
juliusmarminge Jun 9, 2026
9f84f6e
feat: add state management for environment queries and terminal sessions
juliusmarminge Jun 9, 2026
9b1592a
Refactor session and event handling across the app
juliusmarminge Jun 9, 2026
f51573c
Harden shared connection runtime
juliusmarminge Jun 10, 2026
e674ab8
Repair mobile connection integration
juliusmarminge Jun 10, 2026
ea4bc99
Restore web connection projections
juliusmarminge Jun 10, 2026
f6227ed
Harden persisted catalogs and relay tracing
juliusmarminge Jun 10, 2026
d35a85d
Refactor session handling and event streaming
juliusmarminge Jun 10, 2026
ed6acd6
Consolidate Clerk auth sheet routing
juliusmarminge Jun 10, 2026
d704e55
Resolve rebase integration conflicts
juliusmarminge Jun 10, 2026
ec36c24
Polish mobile chat and relay startup
juliusmarminge Jun 11, 2026
f70bfd9
Align mobile turn folds with main
juliusmarminge Jun 11, 2026
1d72a40
Add native composer editor and token styling
juliusmarminge Jun 12, 2026
21742e3
Refine mobile composer and UITextView patch
juliusmarminge Jun 12, 2026
dfb4711
Extract markdown text module for mobile
juliusmarminge Jun 14, 2026
14b6d1d
Fix regressions found in connection runtime audit
juliusmarminge Jun 15, 2026
d035924
Reconcile restacked runtime with current main
juliusmarminge Jun 15, 2026
7edd34a
Generate mobile markdown file icons from Pierre sprites
juliusmarminge Jun 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
79 changes: 79 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,46 @@ jobs:
clerk_cli_oauth_client_id: ${{ steps.public_config.outputs.clerk_cli_oauth_client_id }}
relay_url: ${{ steps.public_config.outputs.relay_url }}
env:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
RELAY_DOMAIN: ${{ vars.RELAY_DOMAIN }}
RELAY_API_ZONE_NAME: ${{ vars.RELAY_API_ZONE_NAME }}
CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_PUBLISHABLE_KEY }}
CLERK_JWT_TEMPLATE: ${{ vars.CLERK_JWT_TEMPLATE }}
CLERK_CLI_OAUTH_CLIENT_ID: ${{ vars.CLERK_CLI_OAUTH_CLIENT_ID }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ needs.preflight.outputs.ref }}

- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version-file: package.json
cache: true
run-install: |
args:
- --filter=t3code-relay...

- id: relay_state
name: Read production relay tracing config
shell: bash
run: |
vp run --filter t3code-relay deploy \
--stage prod \
--read-state \
--github-output \
--github-env-file "$RUNNER_TEMP/relay-client-tracing.env"

- name: Upload relay client tracing config
uses: actions/upload-artifact@v7
with:
name: relay-client-tracing-config
path: ${{ runner.temp }}/relay-client-tracing.env
if-no-files-found: error
retention-days: 1

- id: public_config
name: Resolve production relay public config
shell: bash
Expand Down Expand Up @@ -272,6 +306,20 @@ jobs:
cache: true
run-install: true

- name: Download relay client tracing config
uses: actions/download-artifact@v8
with:
name: relay-client-tracing-config
path: ${{ runner.temp }}/relay-client-tracing

- name: Load relay client tracing config
shell: bash
run: |
config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env"
tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")"
echo "::add-mask::$tracing_token"
cat "$config_path" >> "$GITHUB_ENV"

- name: Align package versions to release version
run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"

Expand Down Expand Up @@ -508,6 +556,20 @@ jobs:
- --filter=@t3tools/web...
- --filter=@t3tools/scripts...

- name: Download relay client tracing config
uses: actions/download-artifact@v8
with:
name: relay-client-tracing-config
path: ${{ runner.temp }}/relay-client-tracing

- name: Load relay client tracing config
shell: bash
run: |
config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env"
tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")"
echo "::add-mask::$tracing_token"
cat "$config_path" >> "$GITHUB_ENV"

- name: Align package versions to release version
run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"

Expand Down Expand Up @@ -670,6 +732,20 @@ jobs:
- --filter=@t3tools/scripts...
- --filter=@t3tools/web...

- name: Download relay client tracing config
uses: actions/download-artifact@v8
with:
name: relay-client-tracing-config
path: ${{ runner.temp }}/relay-client-tracing

- name: Load relay client tracing config
shell: bash
run: |
config_path="$RUNNER_TEMP/relay-client-tracing/relay-client-tracing.env"
tracing_token="$(sed -n 's/^T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=//p' "$config_path")"
echo "::add-mask::$tracing_token"
cat "$config_path" >> "$GITHUB_ENV"

- name: Align package versions to release version
run: node scripts/update-release-package-versions.ts "${{ needs.preflight.outputs.version }}"

Expand Down Expand Up @@ -716,6 +792,9 @@ jobs:
--build-env "T3CODE_CLERK_PUBLISHABLE_KEY=${T3CODE_CLERK_PUBLISHABLE_KEY:-}" \
--build-env "T3CODE_CLERK_JWT_TEMPLATE=${T3CODE_CLERK_JWT_TEMPLATE:-}" \
--build-env "T3CODE_RELAY_URL=${T3CODE_RELAY_URL:-}" \
--build-env "T3CODE_RELAY_CLIENT_OTLP_TRACES_URL=${T3CODE_RELAY_CLIENT_OTLP_TRACES_URL:-}" \
--build-env "T3CODE_RELAY_CLIENT_OTLP_TRACES_DATASET=${T3CODE_RELAY_CLIENT_OTLP_TRACES_DATASET:-}" \
--build-env "T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN=${T3CODE_RELAY_CLIENT_OTLP_TRACES_TOKEN:-}" \
--build-env "VITE_HOSTED_APP_URL=$router_url" \
--build-env "VITE_HOSTED_APP_CHANNEL=$channel_name"
)"
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/app/DesktopCloudAuthTokenStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as FileSystem from "effect/FileSystem";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";

import * as ElectronSafeStorage from "../electron/ElectronSafeStorage.ts";
import * as ElectronSafeStorage from "../electron/ElectronSafeStorageService.ts";
import * as DesktopConfig from "./DesktopConfig.ts";
import * as DesktopEnvironment from "./DesktopEnvironment.ts";
import * as DesktopCloudAuthTokenStore from "./DesktopCloudAuthTokenStore.ts";
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/app/DesktopCloudAuthTokenStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import * as Path from "effect/Path";
import * as PlatformError from "effect/PlatformError";
import * as Schema from "effect/Schema";

import * as ElectronSafeStorage from "../electron/ElectronSafeStorage.ts";
import * as ElectronSafeStorage from "../electron/ElectronSafeStorageService.ts";
import * as DesktopEnvironment from "./DesktopEnvironment.ts";

interface CloudAuthTokenDocument {
Expand Down
Loading
Loading