Skip to content

chore: add T3 Code actions so new moddrop threads install, run Dev and Verify in one click - #20

Merged
beastyrabbit merged 2 commits into
mainfrom
t3/configure-t3-actions
Nov 12, 2026
Merged

beastyrabbit merged 2 commits into
mainfrom
t3/configure-t3-actions

Conversation

@beastyrabbit

@beastyrabbit beastyrabbit commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

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.json with three actions: Install dependencies (runs on worktree creation), Dev (pnpm dev, stops when the thread settles, previews https://moddrop.localhost:1355), and Verify. New threads also default to a worktree. T3 imports these actions into its settings; it does not run t3.json directly.

Verify starts a throwaway Postgres on a random loopback port, because CANVAS_TEST_DATABASE_URL is 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-lockfile passed. pnpm dev served both Portless URLs from a worktree (no worktree prefix with an explicit name), and Ctrl-C removed its Postgres container. t3.json validates 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.

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.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T09:01:59.928554Z d6a74f2 Manual request
🔒 Security Review ✅ Completed 2026-11-12T09:00:22.338974Z 2754654 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread t3.json Resolved
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.
@beastyrabbit

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: d6a74f26bd

ℹ️ 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".

@beastyrabbit
beastyrabbit merged commit f27d972 into main Nov 12, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant