• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ThePalaceProject / web-patron / 24568575390
88%

Build:
DEFAULT BRANCH: main
Ran 17 Apr 2026 01:52PM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Apr 2026 01:50PM UTC coverage: 80.571%. Remained the same
24568575390

push

github

web-flow
Deployed container startup time improvements (PP-4001) (#121)

## Description

This PR introduces three changes to reduce container startup time:
- **Enables SWC for production builds.** Deletes `babel.config.js`,
whose presence forced Next.js to use Babel for compilation. The Babel
preset (needed by Jest for Theme UI's emotion JSX transform) is moved
inline into `jest.config.js` and `jest.config.node.js` so the test suite
is unaffected.
- **Adds `SKIP_BUILD_TIME_CHECKS` flag.** A new `SKIP_BUILD_TIME_CHECKS`
env var (`false` by default in the Dockerfile) allows deployments to
skip ESLint and TypeScript checks during `next build`. When enabled via
the deployment config, this eliminates the lint/typecheck phase from
container startup entirely.
- **Removes deprecated `next-transpile-modules`.** Replaces the
`next-transpile-modules` wrapper with Next.js's built-in
`transpilePackages` option (available since Next.js 13). This was needed
for the switch from Babel to SWC and has the added benefit of removing a
dependency.

## Motivation and Context

Container startup was slow (usually taking over 3.5 minutes) due to long
app build times (we currently need to build at container start to some
parts of the active configuration). The build used Babel compilation and
performed linting and type checking — all of which added latency on
every deploy / restart.
- SWC is significantly faster than Babel for production builds.
- Our CI already performs linting and type checking, so wasting ~50
seconds on it for every startup should be avoided.

[Jira PP-4001]

## How Has This Been Tested?

- Manual testing with `npm run build` and `npm run start` in my local
dev environment.
- All checks pass locally.
- CI tests pass.

## Checklist:

- [x] I have updated the documentation accordingly.
- [x] All new and existing tests passed.

153 of 193 branches covered (79.27%)

Branch coverage included in aggregate %.

270 of 332 relevant lines covered (81.33%)

9.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24568575390.1 17 Apr 2026 01:52PM UTC 13
80.57
GitHub Action Run
Source Files on build 24568575390
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • d104f800 on github
  • Prev Build on main (#24530608508)
  • Next Build on main (#24568795647)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc