Skip to content

Commit eb6fcb3

Browse files
authored
chore: sync with upstream pingdotgg/t3code main (#43)
2 parents fcc1cbf + 408ab86 commit eb6fcb3

1,288 files changed

Lines changed: 113882 additions & 28838 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/test-t3-mobile/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ Run Metro from `apps/mobile`.
8080
APP_VARIANT=development vp exec expo start \
8181
--dev-client \
8282
--scheme t3code-dev \
83-
--clear \
8483
--lan \
8584
--port <metro-port>
8685
```
@@ -179,6 +178,7 @@ Keep local verification focused. Do not turn this workflow into a full repositor
179178
## Troubleshoot predictable failures
180179

181180
- **Old UI or an old error appears:** verify Metro's worktree, variant, URL, and port before diagnosing the app.
181+
- **Metro serves stale or invalid transforms after those checks:** stop the owned Metro process and run `vp run dev:client:reset` once on the standard port. For a custom port, add `--clear` to the complete explicit `expo start` command above.
182182
- **The environment remains empty:** verify the platform-specific HTTP origin, use a fresh token, and confirm project seeding used the identical base directory.
183183
- **A second client cannot pair:** pairing tokens are single-use; issue another token.
184184
- **The pairing form opens but does not connect:** confirm the deep link uses the existing `connections/new` route, includes `autoConnect=1`, and carries a freshly minted encoded `pairingUrl`.

.coderabbit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
reviews:
2+
review_status: false
3+
auto_review:
4+
enabled: false

.github/VOUCHED.td

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
# -github:username reason for denouncement
1010
#
1111
# Keep entries sorted alphabetically.
12+
github:0x4bs3nt
13+
github:Adamulek123
1214
github:adityavardhansharma
1315
github:arhxam
1416
github:bil0000
@@ -26,6 +28,7 @@ github:github-actions[bot]
2628
github:gsimone
2729
github:GuilhermeVieiraDev
2830
github:hwanseoc
31+
github:ipanasenko
2932
github:jakeleventhal
3033
github:jamesx0416
3134
github:jappyjan
@@ -37,7 +40,9 @@ github:lnieuwenhuis
3740
github:Lucenx9
3841
github:mackinleysmith
3942
github:maria-rcks
43+
github:maxwellyoung
4044
github:mwolson
45+
github:nateEc
4146
github:nmggithub
4247
github:Noojuno
4348
github:notkainoa
@@ -48,6 +53,7 @@ github:PollyGlot
4853
github:RakshithBhat03
4954
github:realAhmedRoach
5055
github:Rishet11
56+
github:ryanrhughes
5157
github:saphid
5258
github:sethwebster
5359
github:shiroyasha9
@@ -56,6 +62,7 @@ github:StiensWout
5662
github:SunkenInTime
5763
github:tarik02
5864
github:tris203
65+
github:tsouth89
5966
github:UtkarshUsername
6067
github:Yash-Singh1
6168
github:yashranaway

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: ci-${{ github.event.pull_request.number || github.sha }}
1114
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
@@ -52,10 +55,7 @@ jobs:
5255
run: vp run build:desktop
5356

5457
- name: Verify preload bundle output
55-
run: |
56-
test -f apps/desktop/dist-electron/preload.cjs
57-
grep -nE "desktopBridge|getLocalEnvironmentBootstrap|PICK_FOLDER_CHANNEL|wsUrl" apps/desktop/dist-electron/preload.cjs
58-
grep -n "__clerk_internal_electron_passkeys" apps/desktop/dist-electron/preload.cjs
58+
run: node apps/desktop/scripts/verify-preload-bundle.mjs
5959

6060
# Everything except `t3` (apps/server). `--parallel` drops the package
6161
# dependency ordering that `vp run` applies by default: these `test` tasks

.github/workflows/release.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "!v*-nightly.*"
88
schedule:
99
# Off minute zero: GitHub delays scheduled runs most at the top of the hour.
10-
- cron: "7 */3 * * *"
10+
- cron: "38 */3 * * *"
1111
workflow_dispatch:
1212
inputs:
1313
channel:
@@ -867,35 +867,6 @@ jobs:
867867
fi
868868
done
869869
870-
# - name: Merge Windows updater manifests
871-
# run: |
872-
# shopt -s nullglob
873-
# found_windows_manifest=false
874-
# for x64_manifest in release-assets/*-win-x64.yml; do
875-
# if [[ "$(basename "$x64_manifest")" == builder-debug-* ]]; then
876-
# continue
877-
# fi
878-
879-
# arm64_manifest="${x64_manifest/-x64.yml/-arm64.yml}"
880-
# output_manifest="${x64_manifest/-win-x64.yml/.yml}"
881-
# if [[ ! -f "$arm64_manifest" ]]; then
882-
# echo "Missing matching arm64 Windows manifest for $x64_manifest" >&2
883-
# exit 1
884-
# fi
885-
886-
# found_windows_manifest=true
887-
# node scripts/merge-update-manifests.ts --platform win \
888-
# "$arm64_manifest" \
889-
# "$x64_manifest" \
890-
# "$output_manifest"
891-
# rm -f "$arm64_manifest" "$x64_manifest"
892-
# done
893-
894-
# if [[ "$found_windows_manifest" != true ]]; then
895-
# echo "No Windows updater manifests found to merge." >&2
896-
# exit 1
897-
# fi
898-
899870
- name: Publish release
900871
if: needs.preflight.outputs.previous_tag != ''
901872
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3

.macroscope/approvability.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
Use Macroscope's default approvability criteria.
2+
3+
Additionally, any pull request that changes product defaults is not auto-approvable and requires human review.
4+
5+
Any pull request that adds or broadens a directive that disables or suppresses a lint,
6+
type-checker, LSP, or other static-analysis diagnostic is not auto-approvable and requires
7+
human review. This includes file-level, line-level, and configuration-level overrides.

.macroscope/check-run-agents/effect-service-conventions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Review changed TypeScript and directly affected call sites for the conventions b
8282
## Change discipline
8383

8484
- Preserve useful comments, invariants, and specification documentation while moving code.
85+
- Require every new or broadened directive that disables or suppresses a lint, type-checker, LSP, or other static-analysis diagnostic to have an adjacent comment explaining why that diagnostic must be disabled there. The directive itself is not an explanation. Report a missing explanation as a concrete violation.
8586
- Do not add large tests solely to prove a mechanical refactor. Update existing tests and imports as needed.
8687
- If backend behavior changes, require focused tests. Use test implementations/layers for external services only; do not mock out core business logic.
8788
- Do not require `Layer.effect`, universal namespace imports, generic `make`/`layer` names for abstract-port implementations, separate error classes for diagnostic-only fields, or new tests for import-only changes.

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ An empty database is a bad test. Seed your worktree's `.t3` with a copy of real
104104
## Verifying
105105

106106
- Smallest proof that the change works. `vp test run <files>` for the tests you touched, targeted lint and typecheck for the scope you changed.
107+
- Test meaningful logic or observable behavior. Do not render components to static markup to assert props or attributes, or add tests that merely assert callback wiring or mirror the implementation.
107108
- **Do not run repo-wide checks.** No `vp check`, no `vp run -r test`, no `vp run -r typecheck` unless I ask. CI owns the full suite.
108109
- Backend behavior changes ship with focused tests for that behavior.
109110
- The server is event-sourced and its async flows emit typed receipts. Wait on receipts and worker drains, never on sleeps or polling. A test that needs a timeout to pass is wrong.

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Contributing
22

3+
## Developer Setup
4+
5+
See the [maintainer scripts guide](docs/internals/scripts.md#first-checkout) for the initial checkout,
6+
development commands, tests, and platform-specific desktop packaging prerequisites.
7+
38
## Read This First
49

510
We are not actively accepting contributions right now.

app.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)