Skip to content

chore: migrate toolchain to mise, harden CI, fix docs + JSP cookie bug#71

Merged
AndriyKalashnykov merged 1 commit into
masterfrom
chore/mise-migration-and-ci-foundation
Jun 16, 2026
Merged

chore: migrate toolchain to mise, harden CI, fix docs + JSP cookie bug#71
AndriyKalashnykov merged 1 commit into
masterfrom
chore/mise-migration-and-ci-foundation

Conversation

@AndriyKalashnykov

Copy link
Copy Markdown
Owner

Project-review remediation — Phase A (foundation) + Phase B (docs), all validated locally.

Foundation (Phase A)

  • .mise.toml (new) — pins java (temurin-21), maven 3.9.11, node 24.16.0, aqua:nektos/act 0.2.87 as the single toolchain source (portfolio mise policy).
  • Makefile — full mise migration: depsmise install; removed SDKMAN/nvm/sudo/curl-install targets (deps-check, env-check, deps-ci, deps-act, renovate-bootstrap); added mise-shims PATH export; removed @clear; .PHONY to end; honest lint description; renovate-validaterenovate@latest via mise node.
  • ci.ymljdx/mise-action + per-matrix-leg MISE_JAVA_VERSION override (replaces setup-java/make deps-ci); added ci-pass aggregator + changes path-filter (dorny/paths-filter, SHA-pinned) + pull-requests: read; job cibuild; ~/.m2 cache; workflow_call: trigger.
  • renovate.jsonautomergeType: branchpr; enabled mise manager.

Docs (Phase B, re-derived from post-Phase-A state)

  • README / CLAUDE.md — mise prerequisites; removed references to deleted targets; fixed tomcat10 Servlet API 6.06.1 (pom declares 6.1.0); rewrote CI section; sized screenshots; make test no-op noted; Skills glob *.yml*.{yml,yaml}.

Fix

  • index.jsp — cookie loop now renders all cookies (the <tr> was outside the for, so only the last cookie displayed).

Validation

  • make verify-all (all 3 profiles compile under mise) ✓
  • make ci (deps→clean→lint→build→test) → exit 0 ✓
  • actionlint ci.yml clean ✓ · make renovate-validate exit 0, mise manager recognized ✓

⚠️ Manual follow-up

automergeType: pr is only safe behind a required status check — add ci-pass as the required check on master after merge.

Not included (deferred)

  • Security gate (trivy-fs/cve-check/Checkstyle, real static-check) — MEDIUM, separate PR.
  • Test coverage (JUnit5+Mockito servlet test + Jetty curl-smoke) — run /test-coverage-analysis.

Foundation (Phase A):
- Add .mise.toml pinning java/maven/node/act (single toolchain source)
- Makefile: replace SDKMAN+nvm with mise; drop sudo/curl-install targets,
  @clear; honest lint desc; renovate-validate via renovate@latest + mise node
- ci.yml: jdx/mise-action with per-leg MISE_JAVA_VERSION; add changes
  (dorny/paths-filter) + ci-pass aggregator; rename job ci->build; m2 cache;
  workflow_call trigger
- renovate.json: automergeType branch->pr; enable mise manager

Docs (Phase B):
- README/CLAUDE.md: mise prerequisites, remove deleted-target refs,
  fix tomcat10 Servlet API 6.0->6.1, rewrite CI section, size screenshots

Fix:
- index.jsp: render all cookies (was only rendering the last)
@AndriyKalashnykov AndriyKalashnykov merged commit 9b68d4c into master Jun 16, 2026
8 checks passed
@AndriyKalashnykov AndriyKalashnykov deleted the chore/mise-migration-and-ci-foundation branch June 16, 2026 04:03
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