|
2 | 2 |
|
3 | 3 | ## Current Status |
4 | 4 |
|
5 | | -**Version 1.2.4 released.** Added Akka Insights (withInsights) and Kubernetes |
6 | | -management (withManagementKubernetes) support to the Akka helper. |
7 | | - |
8 | | -Note: CI scripted tests failing due to environment issues unrelated to code changes. |
9 | | -Manual `sbt publish` used for release. |
| 5 | +**Version 1.2.5 released.** Fixed CI scripted tests and AKKA_REPO_TOKEN |
| 6 | +propagation. All 16 scripted tests now pass in CI. |
10 | 7 |
|
11 | 8 | ## Work Completed (Recent) |
12 | 9 |
|
| 10 | +### Session Jan 28-29, 2026 - v1.2.5 Released (CI Fixes) |
| 11 | + |
| 12 | +**Released:** v1.2.5 to GitHub Packages |
| 13 | + |
| 14 | +**Root Cause Analysis:** |
| 15 | +The scripted tests had been failing since PR #8 "Use native git instead of |
| 16 | +JGit for worktree support". Native git fails hard in non-git directories, |
| 17 | +while JGit was more lenient. Scripted tests run in temp directories that |
| 18 | +aren't git repositories. |
| 19 | + |
| 20 | +**Bug Fixes:** |
| 21 | +1. **Git/DynamicVersioning helpers now detect git repos** - Added `isGitRepo` |
| 22 | + check that walks up directory tree looking for `.git`. Only enables native |
| 23 | + git (`useReadableConsoleGit`) if actually in a git repo. Falls back to JGit |
| 24 | + for non-git directories (scripted tests). |
| 25 | + |
| 26 | +2. **AKKA_REPO_TOKEN propagation to scripted tests** - The `scriptedLaunchOpts` |
| 27 | + now passes `AKKA_REPO_TOKEN` as system property `-Dakka.repo.token=...`. |
| 28 | + The Akka helper checks both `sys.props` and `sys.env` for the token. |
| 29 | + |
| 30 | +3. **Modules now apply Resolvers** - `Module()` was missing the Resolvers |
| 31 | + configuration, breaking dependency resolution for Akka dependencies. |
| 32 | + |
| 33 | +**Improvements:** |
| 34 | +- Updated scripted test build.sbt files to use modern PascalCase `With.*` |
| 35 | + syntax (BuildInfo, Scala3, Riddl) instead of deprecated lowercase versions. |
| 36 | + |
| 37 | +**Technical Notes:** |
| 38 | +- The `isGitRepo` function is duplicated in both Git.scala and |
| 39 | + DynamicVersioning.scala because the project/ directory uses symlinks to |
| 40 | + the source files, and DynamicVersioning.scala is linked while Git.scala |
| 41 | + is not. Sharing the function would require adding another symlink. |
| 42 | +- CI now passes all 16 scripted tests. |
| 43 | + |
13 | 44 | ### Session Jan 27, 2026 - Documentation Updates |
14 | 45 |
|
15 | 46 | Improved documentation for With.Akka helper to reduce confusion for users: |
@@ -163,7 +194,7 @@ Run scripted tests on every PR. Skip Akka test in CI (requires credentials). |
163 | 194 |
|
164 | 195 | ## Test Coverage Status |
165 | 196 |
|
166 | | -### Current Test Results (Jan 17, 2026) |
| 197 | +### Current Test Results (Jan 29, 2026) |
167 | 198 |
|
168 | 199 | | Test Scenario | Purpose | Status | |
169 | 200 | |----------------|-------------------------------|---------------------------| |
|
0 commit comments