Merge remote-tracking branch 'origin/main' into feat/rail-chrome-and-landing
2 months ago
121 files changed
- apps/git-gateway/src/db.ts+67−0
- apps/git-gateway/src/server.ts+16−0
- apps/github-sync-worker/README.md+36−0
- apps/github-sync-worker/package.json+26−0
- apps/github-sync-worker/src/index.ts+192−0
- apps/github-sync-worker/src/load-web-env.ts+26−0
- apps/github-sync-worker/tsconfig.json+13−0
- apps/web/.env.example+8
−0
apps/web/app/[username]/[repository]/issues/[number]/issue-conversation.tsx+11−0apps/web/app/[username]/[repository]/issues/[number]/issue-detail.tsx+10−9apps/web/app/[username]/[repository]/issues/actions.ts+39−7apps/web/app/[username]/[repository]/issues/page.tsx+6−1apps/web/app/[username]/[repository]/layout.tsx+8−3apps/web/app/[username]/[repository]/pulls/[number]/actions.ts+58−0apps/web/app/[username]/[repository]/pulls/[number]/pull-request-conversation.tsx+17−0apps/web/app/[username]/[repository]/pulls/[number]/pull-request-detail.tsx+5−10apps/web/app/[username]/[repository]/pulls/page.tsx+1−0apps/web/app/[username]/[repository]/repository-home.tsx+16−3apps/web/app/[username]/[repository]/settings/_components/repository-settings-nav.tsx+8−0apps/web/app/[username]/[repository]/settings/github/actions.ts+354−0apps/web/app/[username]/[repository]/settings/github/github-sync-forms.tsx+822−0apps/web/app/[username]/[repository]/settings/github/load-github-settings.ts+238−0apps/web/app/[username]/[repository]/settings/github/page.tsx+45−0apps/web/app/api/github/install/callback/route.ts+91−0apps/web/app/api/github/install/route.ts+55−0apps/web/app/api/github/webhooks/route.test.ts+253−0apps/web/app/api/github/webhooks/route.ts+111−0apps/web/app/repositories/import/github/github-import-form.tsx+4−4apps/web/app/settings/account/account-settings-sections/connections.tsx+3−3apps/web/components/conversation/agent-checkpoint-timeline.tsx+2−0apps/web/components/conversation/conversation-actor-line.tsx+7−1apps/web/components/conversation/conversation-author.ts+53−0apps/web/components/conversation/conversation-profile-username.tsx+26−2apps/web/components/conversation/github-source-badge.tsx+17−0apps/web/components/conversation/reply-content.tsx+32−5apps/web/components/conversation/timeline-primitives.tsx+33−6apps/web/components/github-sync-badge.tsx+74−0apps/web/components/resource-list-row.tsx+6−0apps/web/db/github-sync.ts+1271−0apps/web/db/issues.ts+41−5apps/web/db/pull-requests.ts+70−10apps/web/db/repository-contributors.test.ts+133−0apps/web/db/repository-index.ts+71−13apps/web/db/schema.ts+516−0apps/web/db/shadow-profiles.test.ts+273−0apps/web/db/shadow-profiles.ts+237−0apps/web/db/thread-number.test.ts+157−0apps/web/db/thread-number.ts+56−0apps/web/drizzle/0047_salty_hannibal_king.sql+153−0apps/web/drizzle/0048_naive_skullbuster.sql+17−0apps/web/drizzle/0049_groovy_medusa.sql+12−0apps/web/drizzle/meta/0047_snapshot.json+9241−0apps/web/drizzle/meta/0048_snapshot.json+9374−0apps/web/drizzle/meta/0049_snapshot.json+9386−0apps/web/drizzle/meta/_journal.json+21−0apps/web/lib/admin.test.ts+9−1apps/web/lib/github/sync/attribution.ts+68−0apps/web/lib/github/sync/backfill.ts+255−0apps/web/lib/github/sync/bootstrap.ts+39−0apps/web/lib/github/sync/branch-updates.ts+168−0apps/web/lib/github/sync/clients.ts+380−0apps/web/lib/github/sync/create-remote.ts+230−0apps/web/lib/github/sync/dispatch-webhook.test.ts+308−0apps/web/lib/github/sync/dispatch-webhook.ts+337−0apps/web/lib/github/sync/enqueue.ts+146−0apps/web/lib/github/sync/failure-message.test.ts+97−0apps/web/lib/github/sync/failure-message.ts+67−0apps/web/lib/github/sync/fork-heads.ts+104−0apps/web/lib/github/sync/fork-repositories.ts+152−0apps/web/lib/github/sync/git-mirror.ts+249−0apps/web/lib/github/sync/indicator.ts+37−0apps/web/lib/github/sync/install-state.ts+106−0apps/web/lib/github/sync/installations.ts+58−0apps/web/lib/github/sync/issues-inbound.ts+431−0apps/web/lib/github/sync/issues-outbound.ts+279−0apps/web/lib/github/sync/link-thread.ts+36−0apps/web/lib/github/sync/pulls-inbound.ts+777−0apps/web/lib/github/sync/pulls-outbound.ts+553−0apps/web/lib/github/sync/reconcile.ts+55−0apps/web/lib/github/sync/ref-state.ts+9−0apps/web/lib/github/sync/refs-inbound.ts+242−0apps/web/lib/github/sync/refs-outbound.ts+203−0apps/web/lib/github/sync/repository-binding.test.ts+62−0apps/web/lib/github/sync/repository-binding.ts+33−0apps/web/lib/github/sync/run-job.ts+240−0apps/web/lib/github/sync/write-as-actor.test.ts+405−0apps/web/lib/pull-requests/create-pull-request.test.ts+29−0apps/web/lib/pull-requests/create-pull-request.ts+7−1apps/web/package.json+1−0deploy/.env.example+9−1deploy/Dockerfile+12−0deploy/docker-compose.app.yml+36−0deploy/docker-compose.single.yml+36−0docs/github-sync.md+116−0package.json+1−0packages/github-sync/package.json+22−0packages/github-sync/src/__tests__/echo-suppression.test.ts+394−0packages/github-sync/src/__tests__/ref-divergence.test.ts+234−0packages/github-sync/src/__tests__/webhook.test.ts+222−0packages/github-sync/src/api.ts+416−0packages/github-sync/src/app-auth.ts+192−0packages/github-sync/src/attribution.ts+111−0packages/github-sync/src/client.ts+342−0packages/github-sync/src/config.ts+60−0packages/github-sync/src/content-hash.ts+116−0packages/github-sync/src/errors.ts+98−0packages/github-sync/src/graphql.ts+116−0packages/github-sync/src/index.ts+15−0packages/github-sync/src/job-keys.ts+114−0packages/github-sync/src/mappers.ts+344−0packages/github-sync/src/rate-limit.ts+171−0packages/github-sync/src/refs.ts+182−0packages/github-sync/src/sync-decision.ts+163−0packages/github-sync/src/types.ts+194−0packages/github-sync/src/webhook.ts+117−0packages/github-sync/tsconfig.json+10−0packages/ui/src/components/brand-icons.tsx+38−0packages/ui/src/components/nucleo-icons.tsx+0−1packages/ui/src/components/user-avatar.tsx+25−4pnpm-lock.yaml+56−0turbo.json+7−0