Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
66b4f31
#483: spark 4 and java 17 adjustments in codebase itself - mostly log…
lsulak Sep 23, 2026
e91d0b0
#483: more spark 4 specialities
lsulak Sep 23, 2026
9786ae7
readme updarte and linting
lsulak Sep 23, 2026
852ac7d
readme updarte for other modules
lsulak Sep 23, 2026
ec79d35
readme polishment
lsulak Sep 23, 2026
d9fd009
testing logging
lsulak Sep 23, 2026
f08464c
ok, deleting the weak testing logging
lsulak Sep 23, 2026
2ebc57f
readme update
lsulak Sep 23, 2026
72441b6
build files (not CICD yet)
lsulak Sep 23, 2026
4321921
removing irrelevant comment - logging usage in Agent is actually desc…
lsulak Sep 23, 2026
ee6776c
CI build files, attempt to make it work
lsulak Sep 23, 2026
b9f9f80
CI files - unifying Java setup (removing olafurpg/setup-scala - this …
lsulak Sep 24, 2026
7352318
unifying the new build against all java and scala possibilities for a…
lsulak Sep 24, 2026
d92eeff
making the tests and doc build consistent
lsulak Sep 24, 2026
6533825
improving readability of jobs
lsulak Sep 24, 2026
111018b
sbt missing - maybe because of ubuntu-latest ? I changed the scala an…
lsulak Sep 24, 2026
8f5e1df
sbt missing - maybe because of ubuntu-latest ? I changed the scala an…
lsulak Sep 24, 2026
fb30510
refactoring
lsulak Sep 24, 2026
ac36a89
post-review fixes
lsulak Sep 24, 2026
0fb9e49
consistency
lsulak Sep 24, 2026
f8a60a5
post-review changes (improvements)
lsulak Oct 2, 2026
4fa098d
Merge branch 'master' into feature/483-spark-4-compatibility
lsulak Oct 5, 2026
7ebd944
Merge branch 'master' into feature/483-spark-4-compatibility
lsulak Oct 16, 2026
4ae7d4c
Merge branch 'master' into feature/483-spark-4-compatibility
lsulak Oct 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 31 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,27 @@ on:

jobs:
test-agent-reader-and-model:
name: Test Agent, Reader and Model
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: Test Agent, Reader and Model (Spark 3, Java 8)
java-version: '8'
test-command: testAllStandard
doc-command: doc

- name: Test Agent, Reader and Model (Spark 3, Java 11)
java-version: '11'
test-command: testReaderModelSpark3
doc-command: docReaderModelSpark3

- name: Test Agent, Reader and Model (Spark 4, Java 17)
java-version: '17'
test-command: testReaderModelSpark4
doc-command: docReaderModelSpark4

steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
Expand All @@ -34,16 +53,17 @@ jobs:
persist-credentials: false
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK ${{ matrix.java-version }}
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.8"
distribution: temurin
java-version: ${{ matrix.java-version }}

- name: Build and run tests
run: sbt testAllStandard
run: sbt ${{ matrix.test-command }}

- name: Generate documenation
run: sbt doc
- name: Generate documentation
run: sbt ${{ matrix.doc-command }}

test-database-and-server:
name: Test Database and Server
Expand All @@ -69,10 +89,11 @@ jobs:
persist-credentials: false
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 11
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.11.0-11"
distribution: temurin
java-version: '11'

- name: Build and run unit tests
run: sbt "project database" test "project server" test
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 8
uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4
with:
java-version: "adopt@1.8"
distribution: temurin
java-version: '8'

- name: Run scalafmt And Print Diff
continue-on-error: true
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/jacoco_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ jobs:
persist-credentials: false
fetch-depth: 0

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 11
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.11.0-11"
distribution: temurin
java-version: '11'

- name: Prepare testing database
run: sbt flywayMigrate
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/license_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 8
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.8"
distribution: temurin
java-version: '8'
- run: sbt headerCheck
18 changes: 12 additions & 6 deletions .github/workflows/release_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ jobs:
fetch-depth: 0
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 17
# The Spark 4 rows of the agent are only added to the project matrix on Java 17+, so publishing has to
# run on a JDK 17 or `atum-agent-spark4_2.13` would silently never be released. The Spark 3 / model /
# reader rows still compile with `-release 8`, so their bytecode stays Java 8 compatible either way.
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.8"
distribution: temurin
java-version: '17'

- name: Run sbt ci-release
run: sbt ci-release
Expand All @@ -56,10 +60,12 @@ jobs:
fetch-depth: 0
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d

- name: Setup Scala
uses: olafurpg/setup-scala@32ffa16635ff8f19cc21ea253a987f0fdf29844c
- name: Setup JDK 11
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
java-version: "adopt@1.11.0-11"
distribution: temurin
java-version: '11'

- name: Run sbt assembly (produces jar)
run: sbt assembly

Expand Down
13 changes: 13 additions & 0 deletions .sbtrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ alias testDB=; project database; testOnly *
# Run specific: agent-server compatibility tests
alias testCompatibility=; testOnly *CompatibilityTests

# Run specific: agent tests against both Spark 3 build rows (Scala 2.12 and 2.13), on the recommended Java 11 runtime
alias testAgentSpark3=; project agent_spark3; testAllStandard; project agent_spark32_12; testAllStandard

# Run specific: agent tests against the Spark 4 build row (requires Java 17+)
alias testAgentSpark4=; project agent_spark4; testAllStandard

# Convenience aliases: bundle reader + model together with a specific agent Spark row/doc task.
alias testReaderModelSpark3=; project reader; testAllStandard; project model; testAllStandard; testAgentSpark3
alias docReaderModelSpark3=; project reader; doc; project model; doc

alias testReaderModelSpark4=; project reader; testAllStandard; project model; testAllStandard; testAgentSpark4
alias docReaderModelSpark4=; project reader; doc; project model; doc; project agent_spark4; doc

# Jacoco Aliases
alias jacoco=; jacocoOn; jacocoAgent; jacocoReader; jacocoModel; jacocoServer; jacocoOff

Expand Down
Loading
Loading