Skip to content

Merge persistant server preference#56

Merged
justinhartman merged 12 commits intomainfrom
develop
Oct 20, 2025
Merged

Merge persistant server preference#56
justinhartman merged 12 commits intomainfrom
develop

Conversation

@justinhartman
Copy link
Owner

No description provided.

@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
imdb-app Ready Ready Preview Comment Oct 20, 2025 3:36pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@codecov
Copy link

codecov bot commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e7e8bc6) to head (79a3093).
⚠️ Report is 13 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #56   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1627      1650   +23     
  Branches       130       135    +5     
=========================================
+ Hits          1627      1650   +23     
Flag Coverage Δ
tests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

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

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.

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

package.json Outdated
Comment on lines +17 to +20
"deploy": "bun db:migrate && bun start",
"start": "npx tsx api/index.ts",
"start:dev": "npx tsx api/index.ts --enable-source-maps --watch",
"lint": "bun lint:ts && bun lint:ejs",

Choose a reason for hiding this comment

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

P1 Badge Fix bun script invocations in package scripts

The deploy and lint scripts now call other scripts using bun db:migrate, bun start, and bun lint:ts, but Bun only runs package.json scripts via bun run <script>. Without the run subcommand Bun will attempt to execute a file named db:migrate/lint:ts and exit with a "no such file" error, so npm run deploy and bun run lint will fail before doing anything. These should dispatch with bun run db:migrate and bun run lint:ts (or continue using npx/npm run).

Useful? React with 👍 / 👎.

Comment on lines +22 to +29
- name: Setup Bun package manager
uses: oven-sh/setup-bun@v2
with:
node-version: '22.x'
cache: 'yarn'
bun-version-file: ".bun-version"
- name: Install dependencies
run: yarn install --frozen-lockfile
run: bun install --frozen-lockfile
- name: Run tests with coverage
run: yarn test:coverage
run: bun test:coverage

Choose a reason for hiding this comment

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

P1 Badge Use bun run when invoking tests in develop workflow

The develop CI job executes bun test:coverage, but the test:coverage entry is a package script, not a Bun test file. Without bun run the command fails before Jest starts, so the coverage job will break. Switch the step to bun run test:coverage (or call npx jest directly).

Useful? React with 👍 / 👎.

Comment on lines +20 to +27
- name: Setup Bun package manager
uses: oven-sh/setup-bun@v2
with:
node-version: '22.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
bun-version-file: ".bun-version"
- name: Install production dependencies
run: bun install --production --frozen-lockfile
- name: Run tests with coverage
run: yarn test:coverage
run: bun test:coverage

Choose a reason for hiding this comment

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

P1 Badge Correct bun command in main workflow tests

The production workflow uses the same bun test:coverage invocation, which likewise fails because Bun does not execute package scripts without the run subcommand. This will prevent the main branch pipeline from running tests. Replace with bun run test:coverage or another working command.

Useful? React with 👍 / 👎.

@justinhartman justinhartman merged commit f47be0f into main Oct 20, 2025
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