Skip to content

SEAB-7772 Bump nextflow-parsing to Java 21 and align with dockstore versions - #203

Open
denis-yuen wants to merge 5 commits into
developfrom
feature/nextflow-parsing-bumps
Open

denis-yuen wants to merge 5 commits into
developfrom
feature/nextflow-parsing-bumps

Conversation

@denis-yuen

@denis-yuen denis-yuen commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Description
So things are easier to work with and explore, I updated all libraries for nextflow-parsing to more recent counterparts. I also had it flesh out the test so it actually invokes the nextflow lambda. FYI, not wedded to the git clone in the lambda, I may split it out to a different lambda or not even use it as discussed. This is mostly to get things working/easier to work with.

Generated comment:
Moves nextflow-parsing to Java 21 and aligns it with dockstore/dockstore: Maven plugins, checkstyle (pinned 1.20.0 config), javax -> jakarta, and library versions, including Nextflow 25.04.4 (Groovy 4, jgit 7). Fixes the template handler and invokes the function against a Sarek event in CI. Also updates CLAUDE.md. Stacked on #202.

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-7772

Security
Changes the Lambda runtime (java11 -> java21) and many dependencies. Excludes Nextflow's io.seqera:lib-trace instead of adding a third-party Maven repo.

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.

🤖 Generated with Claude Code

@denis-yuen denis-yuen self-assigned this Oct 8, 2026
@denis-yuen
denis-yuen added this pull request to stack #201 October 8, 2026 20:22
@denis-yuen
denis-yuen marked this pull request as ready for review October 8, 2026 20:22
@denis-yuen
denis-yuen requested review from a team and svonworl and removed request for a team October 8, 2026 20:23
@denis-yuen
denis-yuen force-pushed the feature/update_circle_ci branch from 77f27be to 86495b6 Compare October 9, 2026 17:05
denis-yuen and others added 5 commits October 9, 2026 13:25
- Java 11 -> 21 (pom and template.yaml runtime java21)
- Groovy 3.0.8 -> 3.0.25 (3.0.8 cannot read Java 21 class files)
- fmt-maven-plugin -> com.spotify.fmt 2.29, dependency plugin 3.6.1,
  spotbugs 4.8.3.1, surefire/failsafe 3.5.3, compiler plugin 3.12.1
- jackson 2.22.1, guava 33.6.0-jre, slf4j-api 2.0.18, junit 5.9.1
- Ignore EI_EXPOSE_REP findings on NextflowHandler

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…25.04

- Use Dockstore's checkstyle.xml/suppressions (engine 10.0); format with
  fmt-maven-plugin aosp style (4-space) and unsorted imports to satisfy it
- javax.ws.rs -> jakarta.ws.rs (jakarta.ws.rs-api 3.1.0, jersey 3.1.11,
  openapi-java-client 1.20.0)
- jgit 5.12.0 -> 7.8.0
- Nextflow 21.04.3 -> 25.04.4 (ConfigParserFactory.create()), Groovy 4.0.26,
  excluding io.seqera:lib-trace (not on Maven Central, unused for parsing)
- aws-lambda-java-core 1.4.0, aws-lambda-java-events 3.16.1
- Nextflow brings logback 1.5, fixing the slf4j 2.x no-op logging

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replaces the local copies of checkstyle.xml and checkstyle-suppressions.xml
(identical to dockstore/dockstore 1.20.0).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@denis-yuen
denis-yuen force-pushed the feature/nextflow-parsing-bumps branch from 75c3d7a to 780dd19 Compare October 9, 2026 17:27
@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

@denis-yuen
denis-yuen removed the request for review from svonworl October 9, 2026 17:28
@denis-yuen

Copy link
Copy Markdown
Member Author

Looks like stack glitched on merge, need to fix it

@denis-yuen
denis-yuen marked this pull request as draft October 9, 2026 17:29
@denis-yuen
denis-yuen removed this pull request from stack #201 October 9, 2026 17:30
@denis-yuen
denis-yuen changed the base branch from feature/update_circle_ci to develop October 9, 2026 17:31

@denis-yuen denis-yuen left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explicitly ignore whitespace when reviewing, this uses a newer checkstyle from dockstore

# SAM build also runs the Java tests
run: |
sam build --use-container
sam local invoke HelloWorldFunction -e events/sarek.json &> output.txt

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the real changes

@denis-yuen
denis-yuen marked this pull request as ready for review October 9, 2026 18:52
@denis-yuen
denis-yuen requested review from a team and svonworl and removed request for a team October 9, 2026 18:52
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