Skip to content

Fix/docker networking and ci updates#88

Merged
t-ho merged 5 commits into
masterfrom
fix/docker-networking-and-ci-updates
Jul 12, 2025
Merged

Fix/docker networking and ci updates#88
t-ho merged 5 commits into
masterfrom
fix/docker-networking-and-ci-updates

Conversation

@t-ho
Copy link
Copy Markdown
Owner

@t-ho t-ho commented Jul 12, 2025

Summary

  • Fix Docker networking issues that caused 500 connection errors between client and API server
  • Update GitHub Actions build workflow to use Node.js 20.x and latest action versions for consistency
  • Add optional chaining to error handlers to prevent JavaScript crashes on unexpected API responses

t-ho added 5 commits July 11, 2025 23:11
  - Update node-version from 14.x to 20.x to match test.yml
  - Replace npm with yarn for consistency
  - Update all actions to latest versions (checkout@v4, setup-node@v4, cache@v4)
  - Update Docker actions (setup-buildx@v3, login@v3, build-push@v5)
  - Fix deprecated ::set-output syntax
  - Fix client Dockerfile to use yarn instead of npm
  - Add extra_hosts mapping for localhost in client service
  - Remove deprecated docker-compose version declarations
  - Enable client container to access API server via host gateway
  - Add optional chaining (err?.response?.data?.error?.message) to all error handlers
  - Prevent JavaScript crashes when API returns 500 errors without expected structure
  - Improve error handling robustness across all auth actions
@t-ho t-ho merged commit 9004ccc into master Jul 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant