Skip to content

Conversation

@neonspectra
Copy link
Owner

@neonspectra neonspectra commented Jan 14, 2026

Upgraded the backend to Laravel 12 (from Laravel 5.6) and PHP 8.4 (from PHP 7.4), modernized the bootstrap/routing/middleware setup, and updated the test harness to be PHPUnit 11‑compatible with an auto‑generated SQLite test DB.

Upgraded the frontend stack to Vue 3 (Vue 2 is EOL), Vue Router 4, Vuex 4, and Laravel Mix 6 / Webpack 5, plus moved the build stage to Node 24 LTS.

Documented the new build and test steps and updated env handling for VITE_GOOGLE_ANALYTICS_ID (backward‑compatible with MIX_).

Updated test suite with new frontend and character sheet export smoke tests, documented in tests/README.md. Added CI to run these on new commits.

Key changes

  • Backend: bootstrap/app.php, public/index.php, artisan, app/Providers/RouteServiceProvider.php, app/Http/Middleware/TrustProxies.php, app/Exceptions/Handler.php, routes/*.php, composer.json, composer.lock, phpunit.xml, `tests/*.
  • Frontend: package.json, package-lock.json, webpack.mix.js, resources/js/app.js, resources/sass/vendor.scss, resources/views/, main.blade.php.
  • Docker/runtime: Dockerfile now uses Node 24 and PHP 8.4; includes required PHP extensions.

Tests run

  • sudo docker build -t epcc .
  • sudo docker run --rm -d -p 8080:80 --name epcc_test epcc
  • curl -fsS http://localhost:8080/ | head -n 5
  • `sudo docker inspect --format='{{json .State.Health}}' epcc_test
  • sudo docker run --rm -v "$PWD":/app -w /app composer:2 sh -lc "git config --global --add safe.directory /app && composer install && vendor/bin/phpunit"

Notes

  • PHPUnit now passes; still reports two deprecations (from the upgraded framework/tooling), but no failing tests.
  • Docker image health check reaches healthy after the first interval.

@neonspectra neonspectra changed the title Refactor EOL components and ad CI test suite Refactor EOL components and add CI test suite Jan 14, 2026
@neonspectra neonspectra changed the title Refactor EOL components and add CI test suite Refactor EOL components, add CI test suite, and nightly image build Jan 14, 2026
@neonspectra neonspectra changed the title Refactor EOL components, add CI test suite, and nightly image build Refactor EOL components, add CI test suite and nightly image build Jan 14, 2026
@darvell
Copy link

darvell commented Jan 14, 2026

@copilot review and fix CI

@neonspectra neonspectra merged commit 2678aef into main Jan 14, 2026
1 check passed
@neonspectra neonspectra deleted the neon/refactor-2021-eol-components branch January 14, 2026 23:11
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.

3 participants