Commit graph

7 commits

Author SHA1 Message Date
XiaoSeS
72e1dae93d build(server): raise Byte Buddy so tests run on JDKs newer than 22
`make test-backend-app` fails on any JDK newer than 22 with 18 errors, all
"Mockito cannot mock this class": 7 in S3StorageServiceTest and 11 in
NotificationServiceTest. Spring Boot 3.2.3 manages Byte Buddy 1.14.12, which
knows class file versions only up to Java 22, so it cannot instrument a mock's
type hierarchy on a newer JVM. It fails identically on a clean tree, so the
pre-PR checklist has been red for reasons unrelated to any change under review.

Overrides the managed version to 1.17.5, which covers Java 24 and 25. The
compile target stays at 21.

Byte Buddy is compile-scoped, reaching Hibernate's runtime bytecode
enhancement and not only Mockito, so this was verified beyond the unit tests:
the application starts, all 65 migrations apply, the logs carry no
enhancement errors, and the staging smoke test passes 15/15. Restoring
1.14.12 brings the 14 S3 mock failures straight back.

Verified:
  make test-backend-app                         BUILD SUCCESS, 0 "cannot mock"
  S3StorageServiceTest                          14/14
  NotificationServiceTest                       11/11
  scripts/smoke-test.sh against local staging   15/15
2026-09-18 18:02:09 +08:00
yun-zhi-ztl
6e8b257abb feat(notification): add in-app notifications and harden delivery 2026-03-23 12:31:28 +08:00
vsxd
9bad6a38e2 chore(release): v0.1.0 2026-03-19 20:25:18 +08:00
vsxd
14d86c290a chore(release): v0.1.0-beta.7 2026-03-13 16:05:08 +08:00
vsxd
62d9d88546 chore(release): cut v0.1.0-beta.2 2026-03-13 10:13:50 +08:00
vsxd
edfff6abc7 feat: complete Chunk 1 - backend skeleton and infrastructure
- Migrate all Maven groupId and Java packages to com.iflytek.skillhub
- Add Docker Compose with PostgreSQL 16, Redis 7, MinIO
- Add Flyway V1 migration with Phase 1 core schema (user, auth, RBAC, namespace, audit)
- Add RequestIdFilter with MDC tracing and X-Request-Id header
- Add GlobalExceptionHandler and ErrorResponse DTO
- Add HealthController (/api/v1/health) and OpenAPI config
- Add basic SecurityConfig permitting public endpoints
- Add H2 test profile for CI-friendly testing without external services
- Add top-level Makefile for dev workflow orchestration
- All 3 tests passing
2026-03-11 23:35:47 +08:00
vsxd
27b7a4dad1 feat: project ini and docs updates 2026-03-11 22:47:05 +08:00