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

safe-global / safe-events-service / 43857612532
88%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2026 11:26AM UTC
Jobs 2
Files 51
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

16 Nov 2026 11:25AM UTC coverage: 87.551%. Remained the same
43857612532

push

github

web-flow
Align Dockerfile with the other Node services (PLA-2381) (#678)

* Align Dockerfile with the other Node services (PLA-2381)

Dockerfile, byte-identical in safe-fee-service, safe-events-service and
safe-billing-service:
- Use the pinned node:24.22.3-slim image instead of the full node:24 image.
- Install production dependencies in their own stage, and keep the pnpm
  store in a BuildKit cache mount, so the store is never part of a layer.
- The runtime files are the build context allowed by .dockerignore, without
  src. Each service lists its files in .dockerignore, so the Dockerfile has
  no per-service lines.
- Copy runtime files as root and run as node, so the process cannot change
  its own code.

Changes needed for the shared Dockerfile:
- AdminJS writes its frontend bundle to the OS temp dir (ADMIN_JS_TMP_DIR,
  set in adminjs.ts unless already set), because the runtime user cannot
  write to /app.
- Move the public-hoist-pattern for the AdminJS babel plugins from .npmrc to
  publicHoistPattern in pnpm-workspace.yaml, so the install reads it without
  copying an extra file. Newer pnpm only reads auth settings from .npmrc.

The image goes from 2.18GB to 876MB with the same production packages.
Tested on amd64 and arm64: migrations run, /health/ready returns 200,
/about returns buildCommit, /admin/login loads and AdminJS writes its bundle
to /tmp/adminjs, and SIGTERM stops the app with exit code 0.

* Set ADMIN_JS_TMP_DIR in docker_run.sh instead of adminjs.ts

AdminJS reads ADMIN_JS_TMP_DIR from process.env itself, so it is not service
config. Setting it in the start script keeps adminjs.ts free of process.env
writes.

* Add .nvmrc with Node 24, like the other Node services

467 of 547 branches covered (85.37%)

Branch coverage included in aggregate %.

827 of 931 relevant lines covered (88.83%)

116.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 43857612532.1 16 Nov 2026 11:26AM UTC 100
87.58
GitHub Action Run
2 run-test:e2e:cov - 43857612532.2 16 Nov 2026 11:26AM UTC 96
64.44
GitHub Action Run
Source Files on build 43857612532
  • Tree
  • List 51
  • Changed 30
  • Source Changed 0
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43857612532
  • 923cb3aa on github
  • Prev Build on main (#43448412487)
  • Next Build on main (#43861401817)
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