Skip to content

feat(docker): add REST API live reload - #478

Merged
seansica merged 3 commits into
nextfrom
feat/live-reload-dev-workflow
Oct 16, 2026
Merged

seansica merged 3 commits into
nextfrom
feat/live-reload-dev-workflow

Conversation

@scotluns

@scotluns scotluns commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Provide a development Docker target for Compose to restart against mounted REST API source while keeping production dependencies separate.

Node 22 base
├── dev: npm ci → node ./bin/www
└── production: npm ci --omit=dev → npm start

Documents startup-only JSON configuration, authentication configuration, and restart requirements. Updates the environment template with metadata, Compose service names, validation-bypass settings, and scheduler guidance. Compose owns source watching and restarts in deployment PR #6.

Evidence

  • Before: The Dockerfile had one runtime path and installed production dependencies only.
    After: The dev target includes development dependencies and starts the normal server entrypoint; the final PR adds no nodemon dependency or source-volume seeding.
  • After: CI passed commitlint, static checks, and regression tests. Release was skipped for the PR. These checks do not establish the full Compose restart flow or a published-image build.

Merge Danger

Door: two-way

Revert the Dockerfile and configuration documentation/template changes. Merge before deployment PR #6.

Blast Radius: API

Affects development image contents and deployment configuration guidance. JSON configuration is read at startup; restart after changing it. Use the production target for runtime-only dependencies.

Related PRs

@jondricek
jondricek force-pushed the feat/live-reload-dev-workflow branch from 4982e5b to 6b705d1 Compare October 12, 2026 13:00
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.16%. Comparing base (953a7a3) to head (6b705d1).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             next     #478   +/-   ##
=======================================
  Coverage   82.16%   82.16%           
=======================================
  Files         257      257           
  Lines       41661    41661           
  Branches     5554     5554           
=======================================
  Hits        34232    34232           
  Misses       7326     7326           
  Partials      103      103           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@seansica
seansica merged commit 32f2ca1 into next Oct 16, 2026
4 checks passed
@seansica
seansica deleted the feat/live-reload-dev-workflow branch October 16, 2026 20:24
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants