Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
6ed47b5
fix(server): route SQLite reads around writer contention (#23902)
Yash-Singh1 Oct 23, 2026
b7e802b
fix(claude): route approval feedback to the requesting agent (#23657)
Yash-Singh1 Oct 23, 2026
0c25c29
fix(web): align pull request file counts with diff stats (#23905)
Yash-Singh1 Oct 23, 2026
9b7e7df
fix(web): task durations over an hour no longer wrap in the tasks pan…
jamesvillarrubia Oct 23, 2026
53245cc
fix(server): preserve Codex sign-in guidance in usage notices (#17055)
jieyuexing Oct 23, 2026
7e52513
fix(server): restore Claude subscription usage through proxies (#12069)
Kanaliseren Oct 23, 2026
71a283a
fix(server): Forgejo skipped jobs no longer keep a pull request watch…
Mnigos Oct 23, 2026
a68e6e9
fix(mobile): move Android undo toasts above bottom navigation (#23928)
PixPMusic Oct 23, 2026
9a63802
perf(server): skip unused Git output line parsing (#23953)
juliusmarminge Oct 23, 2026
e64a6d4
fix(server): abort interrupted ACP MCP fetches (#23955)
juliusmarminge Oct 23, 2026
56c365c
fix(web): new threads no longer hang when a project's machine is offl…
t3dotgg Oct 23, 2026
6d9ec7b
fix(pi): stop blank input placeholders from failing the run (#23235)
only21mil Oct 23, 2026
656f3f4
fix(cursor): fail turns that end in a transport error after commentar…
only21mil Oct 23, 2026
49597c7
test(forgejo): answer the base branch read in the skipped-checks test…
juliusmarminge Oct 23, 2026
807319c
fix(opencode): retry failed model catalogs until they recover (#23939)
Yash-Singh1 Oct 23, 2026
d7a8d6f
fix(server): avoid full shell read on resume (#23987)
Yash-Singh1 Oct 23, 2026
51a7118
test: delete low-value tests and dead test-only exports (#24058)
t3dotgg Oct 23, 2026
12c91ae
test(server): restore DST scheduling tests deleted in the test snap (…
t3dotgg Oct 23, 2026
30a405b
test(web): restore project settings permission tests deleted in the t…
t3dotgg Oct 23, 2026
0cb033c
test(mobile): restore clipboard secret-redaction test deleted in the …
t3dotgg Oct 23, 2026
7d6b5be
fix(web): Cmd+B toggles the sidebar unless text is selected (#24063)
t3dotgg Oct 23, 2026
1aa7179
fix(server): agent-browser and Chrome no longer outlive the agent tha…
josephv123 Oct 23, 2026
abffeed
test(client-runtime): restore render scheduler tests deleted in the t…
t3dotgg Oct 23, 2026
4812dca
fix(web): cmd+k search hides subagents and favors recent, whole-word …
t3dotgg Oct 23, 2026
24c063a
test(lint): new polling loops in tests now fail lint (#23983)
t3dotgg Oct 23, 2026
b2377db
ci: unused dependency patches fail in check:changed, not after push (…
t3dotgg Oct 23, 2026
6ba8078
fix(desktop): PDFs in the preview can be annotated (#24022)
shivamhwp Oct 23, 2026
16aaf5b
fix(web): instructed compact runs without a bare compaction first (#2…
juliusmarminge Oct 23, 2026
cccb78c
fix(desktop): reduce app crashes when a preview tab's renderer dies d…
shivamhwp Oct 23, 2026
fbc6a08
fix(server): Stop stops a thread's subagents again (#23886)
shivamhwp Oct 23, 2026
c58d558
fix(desktop): a stuck quit no longer leaves the app unkillable (#23873)
shivamhwp Oct 23, 2026
1df9c32
fix(web): keep blockquote text readable in every theme (#24036)
Yash-Singh1 Oct 23, 2026
c96a4bb
fix(bitbucket): stop the startup sweep from flooding Bitbucket with 4…
shivamhwp Oct 23, 2026
eb1510d
fix(web): screen readers hear when the open thread starts, needs you …
shivamhwp Oct 23, 2026
f7f02d7
perf(web): reduce allocations in streaming timeline scans (#23739)
UtkarshUsername Oct 23, 2026
9828cad
perf(web): reuse a collator when sorting changed-file trees (#23776)
UtkarshUsername Oct 23, 2026
66ee628
perf(scripts): check:changed finishes in about 10 s (#23581)
t3dotgg Oct 23, 2026
97be291
fix(web): size Usage header controls to the available width (#24123)
nateEc Oct 23, 2026
9f660d3
perf(server): speed up large terminal clipboard sequences (#23819)
AksharP5 Oct 23, 2026
58a5d1d
fix(server): make stale CLI service recovery actionable (#23541)
juliusmarminge Oct 23, 2026
4dcc244
fix(web): pasted images show their upload tile instantly (#23832)
bmdavis419 Oct 23, 2026
171f8d8
fix(server): clean up deleted threads worktrees with subagents (#23900)
juliusmarminge Oct 23, 2026
5bb54a0
fix(server): pause periodic PR discovery without foreground clients (…
juliusmarminge Oct 23, 2026
e340aae
fix(server): meter checkpoint git subprocess attempts (#24218)
juliusmarminge Oct 23, 2026
9a391eb
fix(web): clear stale resource monitor errors after retry (#24229)
juliusmarminge Oct 23, 2026
96ffd7a
fix(mobile): align draft workspace controls with the composer (#24239)
PixPMusic Oct 23, 2026
eeda2cb
feat(mobile): thread header minimizes on the Duo while reading back t…
juliusmarminge Oct 23, 2026
c8c9ccf
fix(web): center pull request timeline actions (#24259)
PixPMusic Oct 23, 2026
cd69df4
fix(server): find the resource monitor when the server runs from its …
yordis Oct 23, 2026
7beaa01
fix(pull-requests): list filters narrow on every host that can (#23922)
juliusmarminge Oct 23, 2026
3046545
fix(pull-requests): a filtered list fills its page instead of waiting…
juliusmarminge Oct 23, 2026
22dc1da
feat(pull-requests): label and author filters search the host (#23924)
juliusmarminge Oct 23, 2026
e01c399
fix(mobile): chat and composer chips stay readable in light mode (#22…
flamboh Oct 24, 2026
5e3ad56
fix(web): review thread avatars no longer clip in collapsed activity …
flamboh Oct 24, 2026
52628d8
ci: close "needs more info" issues after 7 days without a reply (#22628)
juliusmarminge Oct 24, 2026
33f1fe5
fix(server): Codex accounts show ChatGPT's current plan names (#24200)
flamboh Oct 24, 2026
bf5ffe8
fix(observability): desktop dev version and web environment match the…
yordis Oct 24, 2026
f252ed0
fix(observability): custom resource attributes use the t3code prefix …
yordis Oct 24, 2026
6c21798
fix(mobile): Home and pull request lists let UIKit own their top inse…
juliusmarminge Oct 24, 2026
4fef307
fix(mobile): keep the Duo's Home and pull request headers fixed (#24295)
juliusmarminge Oct 24, 2026
7d87be3
fix(server): interrupts started by an agent no longer say "by user" i…
juliusmarminge Oct 24, 2026
ff1f6fd
feat(relay): deploy on-demand preview stages for labeled PRs
juliusmarminge Oct 24, 2026
26c3625
fix(mobile): HTML links in pull request comments open when tapped (#2…
flamboh Oct 24, 2026
7de9535
perf(client): avoid full ordering scans for streamed replacements (#2…
juliusmarminge Oct 24, 2026
5b55036
fix(server): a fork's first /compact compacts its inherited history (…
juliusmarminge Oct 24, 2026
70bd962
fix(server): agent recordings honor the browser frame rate setting (#…
juliusmarminge Oct 24, 2026
d31269e
fix(client-runtime): Stop clears commands already finished on the ser…
juliusmarminge Oct 24, 2026
79e392c
fix(web): SSH environments on an older reused remote server explain t…
juliusmarminge Oct 24, 2026
f416175
fix(web): keep usage-limit wake action visible (#23803)
juliusmarminge Oct 24, 2026
3f3a1bf
fix(server): reject pairing with an incompatible server protocol (#23…
juliusmarminge Oct 24, 2026
d14ace8
fix(mobile): Live Activity stops shouting the running-agent count (#2…
juliusmarminge Oct 24, 2026
ce60c87
Merge upstream/main into the fork
riccardovandra Oct 24, 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
  •  
  •  
  •  
203 changes: 203 additions & 0 deletions .github/workflows/relay-preview-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
name: Clean up relay preview

# Tears down stage `pr-<n>` when `relay:preview` is removed or the PR closes,
# and retries teardown for closed labeled PRs on a schedule. A label stays on a
# PR only while its teardown is outstanding, so the scheduled retry lists
# exactly the failures.
#
# This runs under pull_request_target, so the workflow and the Alchemy program
# come from the default branch. No PR code runs here, which is why it needs no
# reviewer approval and why a PR cannot edit its own teardown to reach secrets.
on:
pull_request_target:
types: [unlabeled, closed]
schedule:
- cron: "17 7 * * *"
workflow_dispatch:

permissions:
contents: read
issues: read
pull-requests: read

jobs:
cleanup_pr:
name: Tear down relay preview
if: >-
github.ref == 'refs/heads/main' &&
github.event_name == 'pull_request_target' &&
(
(github.event.action == 'unlabeled' && github.event.label.name == 'relay:preview') ||
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'relay:preview'))
)
# Job-level so that events which skip this job, such as a closed PR without
# the label, never take the group's pending slot. GitHub replaces a pending
# run in a group with a newer one, which would drop a queued teardown.
concurrency:
group: relay-preview-${{ github.event.pull_request.number }}
cancel-in-progress: false
permissions:
contents: read
issues: write
pull-requests: write
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 30
environment:
name: relay-preview-cleanup
env:
GH_TOKEN: ${{ github.token }}
STAGE: pr-${{ github.event.pull_request.number }}
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
PLANETSCALE_ORGANIZATION: ${{ vars.PLANETSCALE_ORGANIZATION }}
AXIOM_ORG_ID: ${{ vars.AXIOM_ORG_ID }}
RELAY_API_ZONE_NAME: ${{ vars.RELAY_API_ZONE_NAME }}
RELAY_TUNNEL_ZONE_NAME: ${{ vars.RELAY_TUNNEL_ZONE_NAME }}
CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_PUBLISHABLE_KEY }}
CLERK_JWT_AUDIENCE: ${{ vars.CLERK_JWT_AUDIENCE }}
APNS_ENABLED: "false"
ALCHEMY_TELEMETRY_DISABLED: "1"
steps:
- name: Checkout default branch
uses: actions/checkout@v6
with:
ref: ${{ github.event.repository.default_branch }}
sparse-checkout: |
/*
!/.repos/
sparse-checkout-cone-mode: false

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

# Destroy also runs the preview tunnel sweep, which is part of the stack.
- name: Destroy preview stage
run: vp run --filter t3code-relay destroy --stage "$STAGE" --yes --no-input
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
PLANETSCALE_API_TOKEN_ID: ${{ secrets.PLANETSCALE_API_TOKEN_ID }}
PLANETSCALE_API_TOKEN: ${{ secrets.PLANETSCALE_API_TOKEN }}
AXIOM_TOKEN: ${{ secrets.AXIOM_TOKEN }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}

# Only reached after a successful destroy. A failed one keeps the label,
# so the scheduled retry picks the PR up again.
- name: Clear the teardown marker
if: github.event.action == 'closed'
run: gh pr edit "${{ github.event.pull_request.number }}" --repo "$GITHUB_REPOSITORY" --remove-label relay:preview

# An unlabeled event has already removed the label, so a failed teardown
# must put it back or no retry will ever see the stage. Labels added with
# GITHUB_TOKEN do not start new runs, so this does not redeploy.
- name: Restore the teardown marker after a failed destroy
if: failure() && github.event.action == 'unlabeled'
run: gh pr edit "${{ github.event.pull_request.number }}" --repo "$GITHUB_REPOSITORY" --add-label relay:preview

list_closed_previews:
name: List closed relay previews
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request_target'
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
outputs:
numbers: ${{ steps.list.outputs.numbers }}
steps:
# The issues endpoint is paginated by gh, so there is no listing cap. Pull
# requests appear there with a `pull_request` key.
- name: List closed PRs labeled relay:preview
id: list
env:
GH_TOKEN: ${{ github.token }}
run: |
numbers=$(gh api --paginate --method GET "repos/$GITHUB_REPOSITORY/issues" \
-f labels=relay:preview -f state=closed -f per_page=100 \
--jq '.[] | select(.pull_request) | .number') \
|| { echo "Could not list closed relay:preview PRs" >&2; exit 1; }
json=$(printf '%s\n' "$numbers" | jq -Rsc 'split("\n") | map(select(length > 0) | tonumber)')
echo "Closed relay:preview PRs: $json"
echo "numbers=$json" >> "$GITHUB_OUTPUT"

sweep_pr:
name: Retry teardown for PR ${{ matrix.number }}
needs: list_closed_previews
if: github.ref == 'refs/heads/main' && needs.list_closed_previews.outputs.numbers != '[]'
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 30
strategy:
fail-fast: false
max-parallel: 4
matrix:
number: ${{ fromJSON(needs.list_closed_previews.outputs.numbers) }}
# Same group as the deploy and teardown for this PR, so a reopened PR's
# deploy cannot run concurrently with a teardown of its previous stage.
concurrency:
group: relay-preview-${{ matrix.number }}
cancel-in-progress: false
permissions:
contents: read
issues: write
pull-requests: write
environment:
name: relay-preview-cleanup
env:
GH_TOKEN: ${{ github.token }}
STAGE: pr-${{ matrix.number }}
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
PLANETSCALE_ORGANIZATION: ${{ vars.PLANETSCALE_ORGANIZATION }}
AXIOM_ORG_ID: ${{ vars.AXIOM_ORG_ID }}
RELAY_API_ZONE_NAME: ${{ vars.RELAY_API_ZONE_NAME }}
RELAY_TUNNEL_ZONE_NAME: ${{ vars.RELAY_TUNNEL_ZONE_NAME }}
CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_PUBLISHABLE_KEY }}
CLERK_JWT_AUDIENCE: ${{ vars.CLERK_JWT_AUDIENCE }}
APNS_ENABLED: "false"
ALCHEMY_TELEMETRY_DISABLED: "1"
steps:
# The lock above is taken before this runs, so the state read here is
# current. An open PR, including one reopened since the listing, is left
# alone. GitHub reports merged PRs as MERGED, so anything not OPEN counts.
- name: Confirm the PR is not open
id: eligible
run: |
state=$(gh pr view "${{ matrix.number }}" --repo "$GITHUB_REPOSITORY" \
--json state --jq 'if .state == "OPEN" then "no" else "yes" end') \
|| { echo "Could not read PR ${{ matrix.number }}" >&2; exit 1; }
echo "eligible=$state" >> "$GITHUB_OUTPUT"
[ "$state" = yes ] || echo "PR ${{ matrix.number }} is open again; leaving $STAGE alone."

- name: Checkout default branch
if: steps.eligible.outputs.eligible == 'yes'
uses: actions/checkout@v6
with:
ref: ${{ github.event.repository.default_branch }}
sparse-checkout: |
/*
!/.repos/
sparse-checkout-cone-mode: false

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

- name: Destroy preview stage
if: steps.eligible.outputs.eligible == 'yes'
run: vp run --filter t3code-relay destroy --stage "$STAGE" --yes --no-input
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
PLANETSCALE_API_TOKEN_ID: ${{ secrets.PLANETSCALE_API_TOKEN_ID }}
PLANETSCALE_API_TOKEN: ${{ secrets.PLANETSCALE_API_TOKEN }}
AXIOM_TOKEN: ${{ secrets.AXIOM_TOKEN }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}

- name: Clear the teardown marker
if: steps.eligible.outputs.eligible == 'yes'
run: gh pr edit "${{ matrix.number }}" --repo "$GITHUB_REPOSITORY" --remove-label relay:preview
81 changes: 81 additions & 0 deletions .github/workflows/relay-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Deploy relay preview

# Labeling a same-repository PR `relay:preview` deploys Alchemy stage `pr-<n>`.
# This job runs the PR's own code with account credentials, so it waits for an
# approval in the `relay-preview` environment on every run. Teardown is in
# relay-preview-cleanup.yml and never runs PR code.
on:
pull_request:
types: [labeled, synchronize, reopened]

permissions:
contents: read
pull-requests: read

concurrency:
group: relay-preview-${{ github.event.pull_request.number }}
cancel-in-progress: false

jobs:
deploy_preview:
name: Deploy relay preview
if: >-
github.event.pull_request.head.repo.full_name == github.repository &&
contains(github.event.pull_request.labels.*.name, 'relay:preview')
runs-on: blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 20
environment:
name: relay-preview
env:
STAGE: pr-${{ github.event.pull_request.number }}
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
PLANETSCALE_ORGANIZATION: ${{ vars.PLANETSCALE_ORGANIZATION }}
AXIOM_ORG_ID: ${{ vars.AXIOM_ORG_ID }}
RELAY_API_ZONE_NAME: ${{ vars.RELAY_API_ZONE_NAME }}
RELAY_TUNNEL_ZONE_NAME: ${{ vars.RELAY_TUNNEL_ZONE_NAME }}
CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_PUBLISHABLE_KEY }}
CLERK_JWT_AUDIENCE: ${{ vars.CLERK_JWT_AUDIENCE }}
# Previews take no alert notifier, no tunnel cleanup, and no custom
# domain, so they stay silent and reap nothing outside their own stage.
APNS_ENABLED: "false"
ALCHEMY_TELEMETRY_DISABLED: "1"
steps:
- name: Confirm the PR is still open and labeled
env:
GH_TOKEN: ${{ github.token }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
state=$(gh pr view "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --json state,labels \
--jq 'if .state == "OPEN" and any(.labels[]; .name == "relay:preview") then "ok" else "stale" end')
if [ "$state" != "ok" ]; then
echo "PR #$PR_NUMBER is no longer open with relay:preview; not deploying." >&2
exit 1
fi

- name: Checkout
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
sparse-checkout: |
/*
!/.repos/
sparse-checkout-cone-mode: false

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

- name: Deploy preview stage
run: vp run --filter t3code-relay deploy --stage "$STAGE" --yes --no-input
env:
T3CODE_RELAY_CLIENT_CONFIG_ENV: ${{ runner.temp }}/relay-client-config.env
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
PLANETSCALE_API_TOKEN_ID: ${{ secrets.PLANETSCALE_API_TOKEN_ID }}
PLANETSCALE_API_TOKEN: ${{ secrets.PLANETSCALE_API_TOKEN }}
AXIOM_TOKEN: ${{ secrets.AXIOM_TOKEN }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
30 changes: 30 additions & 0 deletions .github/workflows/stale-needs-more-info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Close stale "needs more info" issues

on:
schedule:
- cron: "17 6 * * *"
workflow_dispatch:

permissions:
actions: write
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
only-issue-labels: "needs more info"
# The label is applied by the triage flow, so never auto-mark; close 7 days after it was added.
days-before-issue-stale: -1
days-before-issue-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1
remove-issue-stale-when-updated: true
stale-issue-label: "needs more info"
close-issue-reason: not_planned
close-issue-message: >-
Closing: no reply in 7 days after we asked for more information.
Comment with the missing details and we will reopen.
operations-per-run: 200
Loading