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

ThePalaceProject / web-patron / 32397845389
30%

Build:
DEFAULT BRANCH: main
Ran 20 Aug 2026 05:30PM UTC
Jobs 1
Files 93
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

20 Aug 2026 05:28PM UTC coverage: 29.323%. Remained the same
32397845389

push

github

web-flow
Make i18n config visible to containerized app (PP-4961) (#185)

## Description

Pass the `next-i18next` config to `serverSideTranslations` explicitly
instead of relying on it being found on disk at request time.

- Every page builds its i18n props through one helper, so this is a
single call site.
- Adds a type declaration so the CommonJS config can be imported under
`allowJs: false`.
- Also copies the config into the runtime image in case a future call
site omits it.

## Motivation and Context

Every server-rendered page returned an error page in the dev deployment,
and locally when running the standalone server directly.

Left to itself, next-i18next resolves `./next-i18next.config.js` against
the working directory on every render. Nothing in our code referenced
the file, so it only ever reached the standalone bundle because Next's
file tracer inferred it. Up until Next 16.3.0 replaced it (`@vercel/nft`
0.27.1 -> 1.10.2). Now it no longer emits "working-directory-relative"
assets discovered in dependency code, and the file stopped being copied.
Importing the config removes the dependency on both the tracer and the
working directory.

[Jira PP-4961]

## How Has This Been Tested?

- Manual testing in local dev environment. Specifically:
- Production build run through the standalone server with the config
file absent: the multi-library home page, library pages, and the `/en`
locale route all render with translations and no errors.
- `npm run dev` verified for the same routes, with the language selector
flag both on and off.
- All tests / checks pass locally.
- [CI tests /
checks](https://github.com/ThePalaceProject/web-patron/actions/runs/32385569818)
pass.

## Checklist:

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

326 of 1467 branches covered (22.22%)

Branch coverage included in aggregate %.

705 of 2049 relevant lines covered (34.41%)

9.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32397845389.1 20 Aug 2026 05:30PM UTC 93
29.32
GitHub Action Run
Source Files on build 32397845389
  • Tree
  • List 93
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7c98c6c1 on github
  • Prev Build on main (#32297395938)
  • Next Build on main (#32533325761)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc