Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
1f698f0
fix: PR diffs fold Viewed files the way GitHub does, on web and mobil…
arifali123 Nov 16, 2026
d427894
fix(server): GitLab reads with no project on the host name the host, …
juliusmarminge Nov 16, 2026
b5554ac
fix(server): T3 Connect error 1016 tells you to link again instead of…
YasserDRIF Nov 16, 2026
cd42e1a
fix(web): the PR author filter says "1 merge loaded", not "1 merges l…
preetsuthar17 Nov 16, 2026
222288b
fix(pi): health checks no longer run Pi extensions in the server's fo…
juliusmarminge Nov 16, 2026
ab8ff33
fix(mobile): Duo scroll views recheck their bleed after a fold (#37571)
juliusmarminge Nov 16, 2026
59df51f
perf(mobile): switching back to a thread lays its feed out once (#37578)
juliusmarminge Nov 16, 2026
1c7d945
fix(web): typing in a file after a find match stays in the file (#37674)
juliusmarminge Nov 16, 2026
023620d
fix(server): Codex health checks no longer kill ssh mid SSH-agent req…
juliusmarminge Nov 16, 2026
5a20d59
fix(shell): Windows PATH probe reads User and Machine registry (#37632)
dieterstemmet Nov 16, 2026
83e3c4f
fix(web): published themes keep their CSS when a saved theme shares t…
elias1218 Nov 16, 2026
1ae5590
fix(web): find in thread no longer announces streamed count refreshes…
juliusmarminge Nov 16, 2026
12b9845
fix(ssh): verify runtime archives in homes containing newlines (#37150)
Lucenx9 Nov 16, 2026
bcb0604
fix(web): model picker options no longer jump a pixel on hover (#37661)
Yash-Singh1 Nov 16, 2026
fecd713
fix(mobile): long threads no longer jump to the bottom after they app…
juliusmarminge Nov 16, 2026
6f5838f
fix(client-runtime): a relative "Add project starts in" opens the pic…
juliusmarminge Nov 16, 2026
83c520c
fix(web): clicks beside an open file's find bar reach the code again …
juliusmarminge Nov 16, 2026
c8c51af
fix(server): recover gateway cooldown after last error (#37692)
MaxFabian25 Nov 16, 2026
4860a73
fix(mobile): sent videos no longer flash black and queued attachments…
juliusmarminge Nov 16, 2026
caef8c3
fix(composer): show local command actions while running (#32912)
Marker-bit Nov 16, 2026
b0f0c44
fix(shared): open Forgejo and Gitea /pulls/ tab and commit links (#37…
aravhawk Nov 16, 2026
0a842b2
fix(web): list each pull request once across servers (#37704)
screen-gd Nov 16, 2026
1d1489d
fix(web): keyboard-opened sidebar menus select their first item (#37727)
juliusmarminge Nov 16, 2026
4247b5a
feat(voice): add a native streaming transcription toggle (#34380)
UtkarshUsername Nov 16, 2026
375343a
fix(mobile): expanding a live tool-call row no longer crashes the thr…
yashranaway Nov 16, 2026
bc0988d
fix(ci): iOS preview builds record their tag on macOS awk (#37746)
juliusmarminge Nov 16, 2026
c02b98b
fix(server): a Codex hook that stops a delegated child no longer read…
juliusmarminge Nov 16, 2026
15271c8
fix(pr): label and reviewer pickers send picks once, when they close …
juliusmarminge Nov 16, 2026
02f8a32
fix(server): PR watches wake when CI passes before the first sweep (#…
UsamaKhan Nov 16, 2026
7d32075
feat(web): themes can use full-size background images (#36680)
t3dotgg Nov 16, 2026
cfb1f12
fix(mobile): one shared upload per attachment, and new threads keep t…
juliusmarminge Nov 16, 2026
07e8bfa
refactor(mobile): deliver queued messages with one Effect fiber per t…
juliusmarminge Nov 16, 2026
1da6b14
refactor(client-runtime): share the Effect attachment upload registry…
juliusmarminge Nov 16, 2026
8bbe7fd
fix(mobile): keep turn and connection status from shifting the compos…
juliusmarminge Nov 16, 2026
6f5861f
fix(shared): inline code paths with spaces become file chips (#37750)
juliusmarminge Nov 16, 2026
6dd0923
fix(web): file tree icons and ignored rows follow the theme's muted t…
juliusmarminge Nov 16, 2026
8ca0c88
fix(web): screen readers see one Notifications landmark, not two (#31…
juliusmarminge Nov 16, 2026
c1a9279
ci(mobile): share one local build action across preview and store bui…
juliusmarminge Nov 16, 2026
943de8f
fix(server): a Claude request that gets no answer fails after 10 minu…
juliusmarminge Nov 16, 2026
50717b8
fix(server): reading t3.json from a cleaned-up worktree no longer log…
mInrOz Nov 16, 2026
70a7cfe
fix(azure-devops): deleted files appear in the pull request Code tab …
amv146 Nov 16, 2026
f4d0855
fix(web): PDF attachment chips no longer look like failed ones (#33805)
juliusmarminge Nov 16, 2026
959f422
fix(web): screen reader announcements no longer linger after they sto…
juliusmarminge Nov 16, 2026
db4221b
fix(server): long sessions import when most transcript lines are book…
juliusmarminge Nov 16, 2026
6e650b3
fix(web): returning to the window keeps a text selection (#31710)
juliusmarminge Nov 16, 2026
c69f4b7
fix(web): model picker lists a model reported twice once (#31590)
juliusmarminge Nov 16, 2026
ca432d7
fix(server): log the connections the private-network gate closes (#31…
juliusmarminge Nov 16, 2026
991c62d
fix(web): project picker rows no longer jump when the palette opens (…
Yash-Singh1 Nov 16, 2026
fb89ce1
feat(desktop): drag file pills into Finder on macOS (#37768)
Yash-Singh1 Nov 16, 2026
e05b087
fix(server): creating a thread no longer records a failed projection …
mInrOz Nov 16, 2026
80b9620
fix(gitlab): Create MR works with snap-installed glab (#31763)
juliusmarminge Nov 16, 2026
747ed9c
fix(mobile): show background work at the end of the feed, and even ou…
juliusmarminge Nov 16, 2026
750e492
feat(web): copy snapshots into another composer (#37771)
Yash-Singh1 Nov 16, 2026
acddfae
fix(desktop): opening the app refreshes the t3 launcher with Local en…
juliusmarminge Nov 16, 2026
a6f7981
fix(pi): ask_user_question single-select questions render as a struct…
juliusmarminge Nov 16, 2026
a10f9e4
fix(server): pull request links whose reads keep failing back off ins…
juliusmarminge Nov 16, 2026
c242558
feat(web): dictation keeps recording into its thread when you switch …
juliusmarminge Nov 16, 2026
58e5ba5
fix(mobile): color links in user messages (#36966)
mduchev Nov 16, 2026
f9db865
fix(mobile): a pasted pairing link fills both Address and Code (#28635)
Padi142 Nov 16, 2026
e8e7fb7
fix(mobile): one Working row after worktree setup, and follow-ups no …
juliusmarminge Nov 16, 2026
4b22bb4
perf(pr): PR panel paints from saved data and reads ahead on intent (…
Bil0000 Nov 16, 2026
6794d56
fix(desktop): relay tracing honors a telemetry opt-out from the login…
juliusmarminge Nov 16, 2026
b79d277
fix(server): a thread_send follow-up waits only on background work it…
juliusmarminge Nov 16, 2026
e65a790
fix(client): validate signed asset URLs at the RPC boundary (#37812)
juliusmarminge Nov 16, 2026
82afb28
fix(mobile): worktree setup after hand-off follows web (#37811)
juliusmarminge Nov 16, 2026
4b758f4
fix(web): citation jumps move focus to the cited response (#37813)
juliusmarminge Nov 17, 2026
b474449
fix(server): validate resolved HTML preview dependencies (#37821)
juliusmarminge Nov 17, 2026
d6a28f4
fix(client): guard saved environment routes during SSH onboarding (#3…
juliusmarminge Nov 17, 2026
1fe416a
fix(opencode): keep the answer when a background report lands right a…
juliusmarminge Nov 17, 2026
6b134a7
fix(github): PR Code tab reads files 30 per page so GitHub keeps thei…
juliusmarminge Nov 17, 2026
4021638
fix(web): thread hover cards show the provider icon in its brand colo…
juliusmarminge Nov 17, 2026
25c06e5
fix(mobile): iPad reopens agent-started threads after a restart (#31260)
juliusmarminge Nov 17, 2026
1adc05b
fix(server): enforce authorization on MCP retries (#37822)
juliusmarminge Nov 17, 2026
2741165
fix(auth): bind automatic pairing codes to peer links (#37825)
juliusmarminge Nov 17, 2026
b4e47a5
fix(providers): enforce approval and settings boundaries (#37826)
juliusmarminge Nov 17, 2026
ba11932
fix(desktop): SSH environments download the remote runtime from T3COD…
juliusmarminge Nov 17, 2026
6fa874e
fix(opencode): unanswered stop now offers Force stop (#31021)
juliusmarminge Nov 17, 2026
9b313f2
fix(composer): open PR completion after opening brackets (#37827)
amv146 Nov 17, 2026
3605d52
fix(server): background tasks survive a failed Claude turn on a live …
juliusmarminge Nov 17, 2026
4ffa1da
fix(server): t3_thread_launch refuses an explicit branch that already…
juliusmarminge Nov 17, 2026
1d20ad0
chore(release): prepare v0.1.10
t3-code-bot[bot] Nov 17, 2026
88fc9ac
fix(scenarios): second server startup failure no longer hangs (#37847)
StiensWout Nov 17, 2026
5adbd28
fix(opencode): external OpenCode 2 servers list models without the ho…
juliusmarminge Nov 17, 2026
b754240
fix(web): retry a failed theme wallpaper download when back online (#…
StiensWout Nov 17, 2026
1402a2c
fix(provider-core): ACP sign-in failures tell the user to sign in (#2…
juliusmarminge Nov 17, 2026
b50e98e
fix(ssh): count bytes for Include question-mark wildcards (#37840)
Lucenx9 Nov 17, 2026
e9a1e86
fix(github): the Pull Requests page lists a repository when GitHub se…
juliusmarminge Nov 17, 2026
e514c36
fix(web): project picker jump shortcuts follow the filtered rows (#31…
juliusmarminge Nov 17, 2026
6a6fecb
fix(provider-pi): stopping an extension handoff keeps the thread on t…
StiensWout Nov 17, 2026
861211f
fix(server): skip settlement cleanup for deleted threads (#37833)
andongmin94 Nov 17, 2026
d775f6b
fix(web,mobile): message timestamps follow a system time zone change …
juliusmarminge Nov 17, 2026
75683c8
fix(contracts): preserve whitespace in diff file paths (#37835)
andongmin94 Nov 17, 2026
9e32c95
fix(client-runtime): show routes whose host refused this device's sig…
juliusmarminge Nov 17, 2026
77aaabb
fix(web): reveal a turn file whose path ends in whitespace (#37879)
juliusmarminge Nov 17, 2026
f68d970
fix(cli): t3 update checks the database before switching builds (#37873)
Jacksondr5 Nov 17, 2026
26f70e7
fix(web): a failed reaction toggle no longer clears a newer reaction …
StiensWout Nov 17, 2026
3eeec6f
fix(server): /clear resets the Claude context meter (#29961)
juliusmarminge Nov 17, 2026
d405bd9
fix(web): sidebar width recovers when the window widens after a narro…
juliusmarminge Nov 17, 2026
411f0f7
fix(web): make dark-mode scrollbar thumbs visible (#30031)
juliusmarminge Nov 17, 2026
47c95c2
fix(web): a rewritten review guide no longer shows code from the prev…
StiensWout Nov 17, 2026
ed80c2f
fix(web): screen readers name the file checkboxes in the commit dialo…
juliusmarminge Nov 17, 2026
f39ecd3
fix(web): a rule typed under a line stays a rule when sent (#29663)
juliusmarminge Nov 17, 2026
86a028c
fix(server): agents can switch T3 Code back to the stock theme (#36724)
juliusmarminge Nov 17, 2026
9d28fc9
feat(themes): theme CSS can hold 100,000 characters (#37781)
t3dotgg Nov 17, 2026
ccae953
fix(server): ACP agents keep the kept conversation after Edit from he…
juliusmarminge Nov 17, 2026
f390ae7
fix(ssh): an older client no longer replaces a newer running SSH serv…
juliusmarminge Nov 17, 2026
d7373c4
fix(scripts): dev --share no longer replaces another server's Serve r…
Jacksondr5 Nov 17, 2026
e9d5bae
fix(web): linked PR comment highlight keeps its full outline (#37881)
bignosecss Nov 17, 2026
f6d1964
fix(shared): stopping an MCP call cancels its stalled SSE response (#…
juliusmarminge Nov 17, 2026
8753e4d
fix(web,mobile): Send now tells you why it could not send (#31283)
juliusmarminge Nov 17, 2026
a5c28da
fix(server): a delegated task reports the answer its child gives afte…
juliusmarminge Nov 17, 2026
907ff25
fix(provider-opencode): goal turns end when OpenCode pauses the goal …
juliusmarminge Nov 17, 2026
77fe1d6
fix(cli): ignore non-executable paths when checking installation (#37…
Lucenx9 Nov 17, 2026
f0572cf
fix(source-control-bitbucket): read ssh.bitbucket.org remotes as Bitb…
juliusmarminge Nov 17, 2026
4f78119
feat(server): t3.json can name sparse-checkout patterns for new workt…
mikeohuo Nov 17, 2026
ebd007e
fix(web): View instructions closes the skill details popover (#37900)
Jacksondr5 Nov 17, 2026
84d34d4
feat(cli): choose model options when starting a thread with t3 thread…
pjmuller Nov 17, 2026
0058a4a
fix(server): Antigravity finds the agy CLI on PATH when no binary pat…
juliusmarminge Nov 17, 2026
90a098b
fix(provider-grok): grok update keeps a script install on Grok's own …
juliusmarminge Nov 17, 2026
428d365
feat(server): configurable usage history retention (#28111)
chomamateusz Nov 17, 2026
1b8ac6d
fix(gitlab): large merge request files show counts and load their dif…
juliusmarminge Nov 17, 2026
55c134a
fix(client-runtime): Tab completes a folder name when the list shows …
Abhishek-B-R Nov 17, 2026
44ebe67
fix(web): preserve citations when adding review comments (#35300)
jakeleventhal Nov 17, 2026
2b2d65d
fix(server): report managed runtime verification timeouts (#37896)
primevishnu Nov 17, 2026
a6016e6
fix(server): match ignore wildcards by UTF-8 byte (#37927)
Lucenx9 Nov 17, 2026
c71f98c
fix(server): thread reads no longer load every run of the thread (#37…
juliusmarminge Nov 17, 2026
20501a0
feat(issues): add issue tracking core with GitHub issues (#19259)
juliusmarminge Nov 17, 2026
85dcfa6
feat(web): add the Issues page and issue detail panel (#19260)
juliusmarminge Nov 17, 2026
adffb36
feat(issues): add GitLab, Azure DevOps, and Forgejo issue trackers (#…
juliusmarminge Nov 17, 2026
0597b9e
feat(issues): link issues to threads and expose issue tools to agents…
juliusmarminge Nov 17, 2026
86863be
feat(issues): add Linear as a standalone issue tracker (#19274)
juliusmarminge Nov 17, 2026
6ad58a8
feat(mobile): add the Issues tab and issue screens (#37040)
juliusmarminge Nov 17, 2026
60f7e5d
feat(issues): filter the issue list by label and assignee, and sort i…
juliusmarminge Nov 17, 2026
652e2f2
feat(mobile): source control providers and issue trackers in settings…
juliusmarminge Nov 17, 2026
49fad98
refactor(issues): move issues between their tracker's own states (#37…
juliusmarminge Nov 17, 2026
e10ea0c
test(web): load the runtime graph before the relay telemetry cases ti…
juliusmarminge Nov 17, 2026
ccf96b2
feat(web): sidebar titles glimmer while they regenerate (#29383)
jakeleventhal Nov 17, 2026
8eb1a5e
fix(provider-grok): grok update targets the GROK_HOME that owns binar…
juliusmarminge Nov 17, 2026
d848e4b
fix(web): show the change breakdown on the floating Changes button (#…
jakeleventhal Nov 17, 2026
9795f45
feat(terminal): allow configuring the interactive shell (#37924)
juliusmarminge Nov 17, 2026
d27002b
feat(web): unassign default keyboard shortcuts (#28687)
LukasFB Nov 17, 2026
2d265dc
feat(prs): save named filter views across clients (#29387)
jakeleventhal Nov 17, 2026
0945866
fix(server): skip global reflog scans for local turn commits (#37926)
amv146 Nov 17, 2026
0072f66
fix(server): retry a fresh Claude session once after a startup or MCP…
juliusmarminge Nov 17, 2026
5b91a5a
fix(web): HTML file previews no longer flash white after agent comman…
juliusmarminge Nov 17, 2026
48a64a8
feat(web): make terminal close confirmation optional (#35305)
jakeleventhal Nov 17, 2026
0df1967
fix(server): a delegated task keeps its report when a later run ends …
juliusmarminge Nov 17, 2026
2904c39
fix(server): fork a running Claude thread natively (#37955)
juliusmarminge Nov 17, 2026
85a90b6
perf(scripts): scenarios no longer start two CLI processes to add and…
kdy1 Nov 17, 2026
0ff1495
fix(mobile): widen the Duo portrait sidebar (#26608)
jakeleventhal Nov 17, 2026
e30a27b
feat(mobile): redesign the Android usage limits widget (#34390)
koushikxd Nov 17, 2026
b823dda
fix(i18n): catalogs match the source, with a CI check (#37954)
maria-rcks Nov 17, 2026
bb29ee3
feat(issues): save named filter views on web and mobile (#37963)
juliusmarminge Nov 17, 2026
a2bace5
fix(web): the message minimap no longer shows a track line on themes …
ixmxvii-hash Nov 17, 2026
c2eb8f3
fix(server): images on runs the provider never started reach the next…
juliusmarminge Nov 17, 2026
cd9c39f
fix(web): imported theme files keep their top-level canvas and accent…
juliusmarminge Nov 17, 2026
49c3ab8
fix(web): published background no longer shows under a saved theme wi…
juliusmarminge Nov 17, 2026
6ec1d31
fix(web): preserve literal XML declarations in EPUB previews (#36624)
StiensWout Nov 17, 2026
980f5d4
fix(server): read the active shell index without parsing thread paylo…
juliusmarminge Nov 17, 2026
f98249a
fix(web): unsaved PR review comments survive a light/dark switch (#38…
juliusmarminge Nov 17, 2026
f79ab79
fix(web): stopped or expired questions return their attached files to…
juliusmarminge Nov 17, 2026
17c1425
fix(server): remove one-time scheduled tasks after their turn complet…
juliusmarminge Nov 17, 2026
b78914e
fix(client-runtime): Linear filters keep their choices when a search …
StiensWout Nov 17, 2026
9bc3fda
fix(azure-devops): pull requests show their labels (#38018)
juliusmarminge Nov 17, 2026
16548ab
fix(azure-devops): issue list loads work items through workitemsbatch…
juliusmarminge Nov 17, 2026
d6419d9
fix(web): links to repeated headings work while a reply streams (#38017)
StiensWout Nov 17, 2026
d051d98
fix(web): leaving Appearance cancels a pending theme install (#38021)
StiensWout Nov 17, 2026
48359de
fix(shared): stopping an MCP call releases a stalled JSON response bo…
StiensWout Nov 17, 2026
25da86c
fix(server): process group metrics no longer warn at every startup (#…
mInrOz Nov 17, 2026
42a5aad
fix(server): saved secrets only reach the destination they were saved…
juliusmarminge Nov 17, 2026
16a8876
fix(server): bound favicon source scans (#37870)
juliusmarminge Nov 17, 2026
f1cd57b
fix(git): bound merge credit parsing work (#37869)
juliusmarminge Nov 17, 2026
d1f7683
fix(server): close media streams on session invalidation (#37871)
juliusmarminge Nov 17, 2026
d35ec21
fix(server): agents can open Linear issues by URL (#37968)
StiensWout Nov 17, 2026
135d7a9
fix(server): a background task's result still shows when the turn bef…
puri-adityakumar Nov 17, 2026
10784e0
fix: expired-session error card asks to pair again and names the reje…
juliusmarminge Nov 17, 2026
215bd59
fix(server): Windows uninstall fails when its cleanup shell cannot st…
StiensWout Nov 17, 2026
1345800
fix(mobile): recovering a failed task keeps a paste that lands while …
StiensWout Nov 17, 2026
786cf6a
fix(release): weak glibc version needs no longer raise the .deb libc6…
juliusmarminge Nov 17, 2026
6ef2c05
fix(server): t3_thread_send_attachments says why a send was refused (…
SouthCarpet Nov 17, 2026
1379dd0
fix(server): keep awake blocks Windows sleep when the server runs in …
juliusmarminge Nov 17, 2026
0b3ebcf
fix(web): sent messages keep the spaces typed at the start of a line …
matthewcosier Nov 17, 2026
33542a5
fix(server): delegating a task no longer records failed projection re…
mInrOz Nov 17, 2026
218c18b
fix(server): a host-narrowed issue list still names every tracker (#3…
juliusmarminge Nov 17, 2026
9830b85
feat(desktop): drag file pills into Explorer on Windows (#38096)
Yash-Singh1 Nov 17, 2026
e9a48b9
Merge upstream/main into sync/upstream-2026-11-17
getBoolean Nov 17, 2026
d9bd9af
chore: measure the fork's MCP tool budget on top of upstream's issue …
getBoolean Nov 17, 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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# Batch files need CRLF for cmd.exe to parse them reliably.
*.cmd text eol=crlf
*.bat text eol=crlf
# GitHub's and Expo's GraphQL schemas and the operations graphqlgen writes from them.
# GitHub's, Linear's and Expo's GraphQL schemas and the operations graphqlgen writes from them.
packages/source-control-github/schema/** linguist-generated
packages/issue-tracker-linear/schema/** linguist-generated
apps/server/schema/** linguist-generated
**/*.graphql.ts linguist-generated
38 changes: 38 additions & 0 deletions .github/actions/drop-checkout-credentials/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Drop checkout credentials
description: Removes the token actions/checkout leaves behind, so later steps can run dependency and build scripts.

# checkout keeps the token in a file under RUNNER_TEMP that .git/config includes, so
# both go. `persist-credentials: false` fails in this repo: its cleanup runs `git
# submodule foreach`, which stops at the vendored gitlinks under .repos (no .gitmodules).
runs:
using: composite
steps:
- name: Drop checkout credentials
shell: bash
run: |
# Status 1 means no match; any other failure stops the step.
lookup() {
local status=0
git -C "$dir" config --local "$@" || status=$?
if [ "$status" -gt 1 ]; then exit "$status"; fi
}
for dir in . .trusted; do
[ -e "$dir/.git" ] || continue
lookup --get-regexp '^includeif\..*\.path$' | while read -r key file; do
rm -f "$file"
git -C "$dir" config --local --unset-all "$key"
done
lookup --name-only --get-regexp '^http\..*\.extraheader$' | while read -r key; do
git -C "$dir" config --local --unset-all "$key"
done
remaining="$(lookup --get-regexp 'extraheader|includeif')"
if [ -n "$remaining" ]; then
echo "::error::checkout credentials are still configured in $dir"
exit 1
fi
done
rm -f "$RUNNER_TEMP"/git-credentials-*.config
if ls "$RUNNER_TEMP"/git-credentials-*.config 2>/dev/null; then
echo "::error::a checkout credential file is still present"
exit 1
fi
188 changes: 188 additions & 0 deletions .github/actions/eas-local-build/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
name: EAS local build
description: Installs the toolchain and mobile dependencies, then runs `eas build --local` on this runner.

inputs:
platform:
description: android or ios
required: true
profile:
description: eas.json build profile
required: true
environment:
description: EAS environment to pull, preview or production
required: true
expo-token:
description: Expo token for that environment
required: true
output:
description: Path the build artifact is written to
required: true
cache:
description: "false for untrusted code: no sticky disk and no EAS cache, so nothing it writes reaches trusted builds"
default: "true"
sourcemaps-r2:
description: R2 credentials for the eas-build-on-success source map upload; EAS secrets don't reach local builds
default: ""

runs:
using: composite
steps:
- name: Prepare Android build cache
if: inputs.platform == 'android' && inputs.cache == 'true'
shell: bash
env:
CACHE_NAME: ${{ inputs.environment == 'production' && 'store' || 'preview' }}
run: |
cache="$HOME/.cache/t3-android-$CACHE_NAME"
{
echo "GRADLE_USER_HOME=$cache/gradle"
echo "CCACHE_DIR=$cache/ccache"
echo "CCACHE_MAXSIZE=5G"
# Gradle installs the NDK fresh each run, so key on the compiler's version, not its mtime.
echo "CCACHE_COMPILERCHECK=%compiler% -v"
echo "pnpm_config_store_dir=$cache/pnpm-store"
# eas build --local copies the project here. A fixed path keeps
# ccache keys stable, and the same disk as the store lets pnpm hardlink.
echo "EAS_LOCAL_BUILD_WORKINGDIR=$cache/eas-build"
echo "CCACHE_BASEDIR=$cache/eas-build"
# CMake (3.17+) reads these, and AGP passes Gradle's environment through.
echo "CMAKE_C_COMPILER_LAUNCHER=ccache"
echo "CMAKE_CXX_COMPILER_LAUNCHER=ccache"
} >> "$GITHUB_ENV"

- name: Mount Android build cache
if: inputs.platform == 'android' && inputs.cache == 'true'
uses: useblacksmith/stickydisk@3f6be1451e3cad893b778bc93495c80452a5da26 # v1.7.2
with:
key: ${{ github.repository }}-android-${{ inputs.environment == 'production' && 'store' || 'preview' }}-build
path: ~/.cache/t3-android-${{ inputs.environment == 'production' && 'store' || 'preview' }}

- name: Configure Gradle and ccache
if: inputs.platform == 'android' && inputs.cache == 'true'
shell: bash
run: |
mkdir -p "$GRADLE_USER_HOME" "$CCACHE_DIR"
rm -rf "$EAS_LOCAL_BUILD_WORKINGDIR"
# No daemon: nothing should hold the sticky disk open when it is committed.
printf 'org.gradle.caching=true\norg.gradle.daemon=false\n' > "$GRADLE_USER_HOME/gradle.properties"
sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
sudo apt-get update -qq && sudo apt-get install -y -qq ccache
ccache --zero-stats

# Matches the EAS build image in eas.json.
- name: Select Xcode 27.1
if: inputs.platform == 'ios'
shell: bash
run: |
xcode=/Applications/Xcode_27.1.app
if [ ! -d "$xcode" ]; then
ls -d /Applications/Xcode*.app
echo "::error::Xcode 27.1 is not on this runner."
exit 1
fi
sudo xcode-select -s "$xcode/Contents/Developer"
xcodebuild -version
echo "- Xcode: \`$(basename "$xcode")\`" >> "$GITHUB_STEP_SUMMARY"

# EAS's credentials step fails to import the distribution certificate without it.
- name: Install Apple WWDR G3 intermediate
if: inputs.platform == 'ios'
shell: bash
run: |
curl -fsSL -o "$RUNNER_TEMP/AppleWWDRCAG3.cer" https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer
sudo security add-certificates -k /Library/Keychains/System.keychain "$RUNNER_TEMP/AppleWWDRCAG3.cer" || true
security find-certificate -c "Apple Worldwide Developer Relations" /Library/Keychains/System.keychain | grep labl

- name: Setup Node
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version-file: package.json

- name: Enable corepack
shell: bash
run: |
npm install --global corepack@latest
corepack enable
pnpm --version

# EAS commands load app.config.ts, whose plugins must resolve. Keep install
# scripts: some download native assets that the build's fingerprint check hashes.
- name: Install mobile dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline --filter=@t3tools/mobile...

- name: Setup Java
if: inputs.platform == 'android'
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
distribution: temurin
java-version: 17

- name: Setup EAS
uses: expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
with:
eas-version: latest
eas-cache: ${{ inputs.cache }}
token: ${{ inputs.expo-token }}
# npm, not pnpm: this only installs eas-cli into the action's own
# tool dir, and pnpm 11 hard-fails that install on dtrace-provider's
# ignored build script (no allowBuilds config outside the repo).
packager: npm

- name: Build tools
if: inputs.platform == 'ios'
shell: bash
run: |
command -v pod || sudo gem install cocoapods --no-document
command -v fastlane || brew install fastlane
pod --version
fastlane --version | tail -1

# EAS commands skip dotenv, and the Android fingerprint hashes this file.
- name: Pull ${{ inputs.environment }} environment variables
shell: bash
working-directory: apps/mobile
env:
EXPO_TOKEN: ${{ inputs.expo-token }}
ENVIRONMENT: ${{ inputs.environment }}
PLATFORM: ${{ inputs.platform }}
run: |
eas env:pull "$ENVIRONMENT" --non-interactive
node --input-type=module <<'NODE'
import { appendFileSync, readFileSync } from "node:fs";
import { parseEnv } from "node:util";
const env = parseEnv(readFileSync(".env.local", "utf8"));
const googleServicesFile = env.T3CODE_ANDROID_GOOGLE_SERVICES_FILE;
if (!googleServicesFile && process.env.PLATFORM === "android") {
throw new Error(`T3CODE_ANDROID_GOOGLE_SERVICES_FILE is missing from the ${process.env.ENVIRONMENT} environment`);
}
if (googleServicesFile) {
appendFileSync(process.env.GITHUB_ENV, `T3CODE_ANDROID_GOOGLE_SERVICES_FILE=${googleServicesFile}\n`);
}
NODE

- name: Build
shell: bash
working-directory: apps/mobile
env:
EXPO_TOKEN: ${{ inputs.expo-token }}
MOBILE_SOURCEMAPS_R2: ${{ inputs.sourcemaps-r2 }}
PLATFORM: ${{ inputs.platform }}
PROFILE: ${{ inputs.profile }}
OUTPUT: ${{ inputs.output }}
run: |
if [ "$PLATFORM" = "ios" ]; then
# A real path: /var -> /private/var symlinks break the expo-widgets bundle step.
export EAS_LOCAL_BUILD_WORKINGDIR="$RUNNER_TEMP/eas-build"
fi
eas build --local --platform "$PLATFORM" --profile "$PROFILE" --non-interactive --output "$OUTPUT"

- name: Report ccache
if: inputs.platform == 'android' && inputs.cache == 'true'
shell: bash
run: |
{
echo '```'
ccache --show-stats
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
57 changes: 57 additions & 0 deletions .github/actions/record-build-tag/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Record build tag
description: Pushes the tag that tells later runs a build for this fingerprint exists.

inputs:
tag:
description: Tag name, without refs/tags/
required: true
message:
description: Annotated tag message; empty makes a lightweight tag
default: ""
replace:
description: "true replaces an existing tag; otherwise an existing tag counts as recorded"
default: "false"
token:
description: Token with contents write
required: true

runs:
using: composite
steps:
- name: Record build tag
shell: bash
env:
TAG: ${{ inputs.tag }}
MESSAGE: ${{ inputs.message }}
REPLACE: ${{ inputs.replace }}
GH_TOKEN: ${{ inputs.token }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
remote="https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
# GitHub occasionally fails ref writes server-side ("fatal error in commit_refs").
for attempt in 1 2 3; do
if refs="$(git ls-remote "$remote" "refs/tags/$TAG")"; then
old="$(printf '%s\n' "$refs" | while read -r sha ref; do
if [ "$ref" = "refs/tags/$TAG" ]; then echo "$sha"; fi
done)"
if [ -n "$old" ] && [ "$REPLACE" != "true" ]; then
echo "$TAG exists."
exit 0
fi
if [ -n "$MESSAGE" ]; then
git tag -f -a "$TAG" -m "$MESSAGE"
else
git tag -f "$TAG"
fi
# An empty lease means the tag must not exist yet.
if git push --force-with-lease="refs/tags/$TAG:$old" "$remote" "refs/tags/$TAG"; then
exit 0
fi
fi
if [ "$attempt" = 3 ]; then
echo "::error::Could not push $TAG."
exit 1
fi
sleep $((attempt * 15))
done
11 changes: 10 additions & 1 deletion .github/fork-manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apps/mobile/src/lib/pullRequestNavigation.ts Fork:
apps/mobile/src/lib/pullRequestNavigation.ts payload: { ...payload, pop: true }
apps/mobile/src/native/useOpenPullRequest.ts Fork:
apps/mobile/src/native/useOpenPullRequest.ts iosPullRequestNavigationAction(params, isPad, replace)
apps/mobile/src/native/useOpenPullRequest.ts issue links that resolve to a pull request follow the same iPad detail reuse
apps/mobile/src/features/layout/workspace/workspace-detail-selection.test.ts Fork:
apps/mobile/src/features/layout/workspace/workspace-detail-selection.test.ts reuses the iPad PR screen without losing the originating thread

Expand Down Expand Up @@ -640,7 +641,7 @@ docs/operations/fork-releases.md | `T3CODE_IOS_RUNNER` | `macos-26-intel

# Fork: Keep guidance for project git-account overrides and optional repository identity configuration.
docs/user/project-settings.md Fork:
docs/user/project-settings.md access. Source control contains automatic pull, the default pull request merge method, text
docs/user/project-settings.md commits and pushes use. The same rows edit environment defaults or project overrides depending on the

# Fork: Keep account management, explicit thread bypass, SSH alias, and live-terminal identity guidance.
docs/user/source-control.md Fork:
Expand Down Expand Up @@ -1027,3 +1028,11 @@ apps/server/integration/transferBudgetV2.integration.test.ts : yield* readHistor

# Fork: The fork runs setup-script tests on macOS too, where a syntax error exits 1 rather than dash's 2.
apps/server/src/project/ProjectSetupScriptRunner.test.ts if (exitCode === null) assert.notEqual(result.exitCode, 0);

# Fork: iPad sidebar navigation reaches upstream's mobile Issues tab through its own workspace list route, like pull requests.
apps/mobile/src/Stack.tsx screen: IssueListRouteScreen
apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx export function IssueListRouteScreen()
apps/mobile/src/features/layout/workspace/IpadSidebarActions.tsx { tab: "issues", label: "Issues", icon: "git.issue" }
apps/mobile/src/features/layout/workspace/workspace-tab-navigation.ts if (destination === "Issues" || destination === "Issue") return "issues";
apps/mobile/src/features/layout/workspace/workspace-tab-navigation.ts tab === "issues" ? "Issues" : "SettingsUsage"
apps/mobile/src/features/layout/workspace/workspace-tab-navigation.test.ts ["issues", "Issues"],
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ jobs:
- name: Check generated Expo GraphQL operations
run: vp run --filter t3 generate --check

- name: Check generated Linear GraphQL operations
run: vp run --filter @t3tools/issue-tracker-linear generate --check

- name: Check i18n catalogs
run: vp run i18n:check

- name: Check
run: vp check

Expand Down
Loading
Loading