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

ThePalaceProject / web-patron / 25003295306
88%

Build:
DEFAULT BRANCH: main
Ran 27 Apr 2026 03:14PM 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

27 Apr 2026 03:13PM UTC coverage: 88.201% (+3.2%) from 85.0%
25003295306

push

github

web-flow
Wire up new runtime config module (PP-4124) (#125)

**Note:** This PR is stacked on #124 and should not be merged until that
one goes in.

## Description

Activates the runtime config system introduced in the companion PR
(`chore/runtime-config-module`) and removes the build-time config
machinery it replaces.

**Wiring:**
- All page and API routes now receive `AppConfig` via `getAppConfig()`
(reads and parses `CONFIG_FILE` at runtime, cached in memory) rather
than from a build-time baked environment variable
- `_app.tsx` wraps the component tree with `AppConfigContext.Provider`,
initialises Bugsnag, and applies media support settings from the runtime
config
- `getLibraries` in `libraryRegistry.ts` now reads static libraries
directly from `AppConfig.staticLibraries` rather than re-parsing
`CONFIG_FILE` independently

**New config property:**
- `staticLibraries` is a first-class config key for inline static
library definitions, replacing the object form of `libraries`
- Using `libraries` as an object now emits a deprecation warning and is
rejected if `staticLibraries` is also present
- `community-config.yml` and README updated to reflect the new property
and mark both deprecated `libraries` forms

**Build / Docker:**
- Bugsnag webpack plugin removed; Bugsnag is now initialised at runtime
from `AppConfig`
- Dockerfile updated to multi-stage build with `output: "standalone"`,
reducing image size

**Dead code removed:**
- `src/config/fetch-config.js` and its type declaration and tests
- `src/server/staticLibraries.ts` and its tests (superseded by
`AppConfig.staticLibraries`)
- `SKIP_BUILD_TIME_CHECKS` env var reference removed from README

## Motivation and Context

Config was previously baked into the build artifact at `next build`
time, requiring a full rebuild to change any setting. This change moves
config resolution to runtime so that a container image can be
reconfigured (or repointed at a different `CONFIG_FILE`) without
rebuilding.

[Jira PP-4124]
... (continued)

173 of 197 branches covered (87.82%)

Branch coverage included in aggregate %.

19 of 21 new or added lines in 3 files covered. (90.48%)

283 of 320 relevant lines covered (88.44%)

18.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.45
-1.83% src/server/appConfig.ts
Jobs
ID Job ID Ran Files Coverage
1 25003295306.1 27 Apr 2026 03:14PM UTC 13
88.2
GitHub Action Run
Source Files on build 25003295306
  • Tree
  • List 13
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • dbc67e60 on github
  • Prev Build on main (#25001739971)
  • Next Build on main (#25005389964)
  • 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