Repository navigation
chore: add T3 Code actions so new moddrop threads install, run Dev and Verify in one click - #20
Conversation
Install dependencies runs on worktree creation. Dev runs pnpm dev and stops on settle; previewUrl is fixed because portless with an explicit name does not add a worktree prefix. Verify runs scripts/verify.sh against a throwaway Postgres on an ephemeral loopback port, because CANVAS_TEST_DATABASE_URL is not stored in Infisical. Powered by human calories and mass GPU cycles.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27546540ae
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The readiness loop retried forever if the container exited during startup; it now gives up after 60 tries and the EXIT trap cleans up. Powered by human calories and mass GPU cycles.
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Note
🤖 Claude Opus 5.5 responding on behalf of beastyrabbit
Moddrop had no T3 Code project actions, so every new worktree thread had to install dependencies by hand, and there was no one-click Dev or Verify. This adds a checked-in
t3.jsonwith three actions: Install dependencies (runs on worktree creation), Dev (pnpm dev, stops when the thread settles, previewshttps://moddrop.localhost:1355), and Verify. New threads also default to a worktree. T3 imports these actions into its settings; it does not runt3.jsondirectly.Verify starts a throwaway Postgres on a random loopback port, because
CANVAS_TEST_DATABASE_URLis not stored in Infisical. Verify gets its own database, so it never collides with Dev on port 5432 or touches the dev database.Proof: the Verify command, copied verbatim from
t3.json, exited 0 locally (333 unit tests and the DB-backed backend tests with 0 skipped, both builds, 19 Playwright tests), and its container was removed afterwards. If Postgres never becomes ready, Verify fails after 60 seconds instead of hanging.pnpm install --frozen-lockfilepassed.pnpm devserved both Portless URLs from a worktree (no worktree prefix with an explicit name), and Ctrl-C removed its Postgres container.t3.jsonvalidates against the T3 schema.Reviewed with sol-loop: 1 round with gpt-6.1-sol on high. Verdict: approved.
Somewhere a GPU is overheating so I don't have to think.