Skip to content

Add Support ticket service and Railway deployment - #25

Draft
jackshim415 wants to merge 17 commits into
mainfrom
jackshim415/support
Draft

jackshim415 wants to merge 17 commits into
mainfrom
jackshim415/support

Conversation

@jackshim415

@jackshim415 jackshim415 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Add a Bun/Hono Support service with signed ticket-ingestion endpoints. Route Website contact submissions to Support and persist tickets through the shared database package. Include support-ticket schema migrations, optional requester team numbers, and fixes to await ticket creation and return route responses.

Areas affected

Support, Website contact handling, and the shared database schema. Server deployment-file relocation is separate in PR #38.

Deployment

Create a Railway Support service with Root Directory / and Config File /apps/support/railway.json. Configure DATABASE_URL for the shared Lovat database and LOVAT_SIGNING_KEY to match Website. Set Website LOVAT_SUPPORT_BASE to the Support origin. The Docker image builds the shared Prisma package; a pre-deploy step applies migrations, and /status checks HTTP availability. Full setup is in the Support README.

Verification

Support and shared DB built from a clean copy without local secrets or generated files. HTTP smoke checks returned 200 for /status and 401 for unsigned ticket requests. Website type checking and production build passed on Node 20.19.6, with existing formatting lint issues. Docker image validation was unavailable because Docker was not running. No live Railway deployment or production migration was performed.

@railway-app

railway-app Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the lovat-pr-25 environment in lovat

Service Status Web Updated
support ❌ Build Failed (View Logs) Oct 2, 2026 at 12:30 am UTC
api ❌ Build Failed (View Logs) Web Oct 1, 2026 at 4:00 am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T00:43:26.848412Z 11f81d8 PR opened
🔒 Security Review ✅ Completed 2026-09-14T00:42:37.966239Z 11f81d8 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.

@jackshim415
jackshim415 marked this pull request as draft September 14, 2026 00:40

@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: 11f81d8ed5

ℹ️ 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 apps/support/README.md Outdated
To run:

```bash
bun run index.ts

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Point the run command at the actual server entry point

In a fresh checkout, bun run index.ts exits with Module not found "index.ts"; a repository-wide search confirms that no such file exists and the implementation is instead under src/server.ts. The documented startup path therefore cannot launch this new service even after dependencies are installed, and the stale module field in package.json points to the same nonexistent entry point.

Useful? React with 👍 / 👎.

Comment thread apps/support/package.json Outdated
Comment on lines +5 to +9
"private": true,
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add Support to the repository verification path

This manifest exposes no type-check, build, test, or lint script, while scripts/check-all.sh invokes checks only for the four existing applications. Consequently neither the aggregate check nor an app-local command validates this backend, allowing the unresolved Hono/Express API mismatches in src/app.ts and src/server.ts to merge unnoticed; add a Support check script and invoke it from the aggregate checker.

AGENTS.md reference: AGENTS.md:L27-L34

Useful? React with 👍 / 👎.

@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-25 September 14, 2026 00:53 Destroyed
@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-25 September 14, 2026 01:06 Destroyed
@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-25 September 14, 2026 03:25 Destroyed
@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-25 September 14, 2026 03:28 Destroyed
@jackshim415 jackshim415 changed the title Add Support server Add Support ticket service and Railway deployment Sep 21, 2026
@railway-app
railway-app Bot temporarily deployed to lovat / lovat-pr-25 September 21, 2026 02:27 Destroyed

This branch had an error being deployed

1 failed and 1 active deployments
lovat / lovat-pr-25 — d9b6292c Deployed Oct 2, 2026 by railway-app[bot]
lovat / lovat-support-pr-25 — d9b6292c Deployed Oct 2, 2026 by railway-app[bot]
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