Skip to content

feature(76471): enforce Java version consistency check & running unit tests inside Docker #20

Merged
bogdandina merged 1 commit intomainfrom
feature/76471_enforce-java-version-consistency-check
Apr 16, 2026
Merged

feature(76471): enforce Java version consistency check & running unit tests inside Docker #20
bogdandina merged 1 commit intomainfrom
feature/76471_enforce-java-version-consistency-check

Conversation

@bogdandina
Copy link
Copy Markdown
Contributor

@bogdandina bogdandina commented Mar 30, 2026

  1. User Story 76455: Make running unit tests inside Docker in shared workflows compulsory for microservices
  2. User Story 76471: Enforce Java version consistency in shared workflows

Comment thread .github/workflows/ci-cd-java.yml
Comment thread scripts/validate_java_version_consistency.py
Comment thread scripts/validate_java_version_consistency.py
Copy link
Copy Markdown
Contributor

@haphut haphut left a comment

Choose a reason for hiding this comment

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

Great work! I like the general approach and left a few comments.

@bogdandina bogdandina requested a review from haphut March 31, 2026 12:27
@bogdandina
Copy link
Copy Markdown
Contributor Author

Great work! I like the general approach and left a few comments.

I updated the PR. Please have one more review on it. Thanks!

@bogdandina bogdandina changed the title feature(76471): enforce Java version consistency check feature(76471): enforce Java version consistency check & running unit tests inside Docker Apr 2, 2026
Comment thread .github/workflows/ci-cd-java.yml Outdated
Comment thread .github/workflows/ci-cd-java.yml Outdated
@haphut
Copy link
Copy Markdown
Contributor

haphut commented Apr 2, 2026

Looking good!

Copy link
Copy Markdown
Contributor

@haphut haphut left a comment

Choose a reason for hiding this comment

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

LGTM. A few more nits as comments.

@bogdandina bogdandina requested a review from haphut April 7, 2026 06:49
Copy link
Copy Markdown
Contributor

@haphut haphut left a comment

Choose a reason for hiding this comment

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

LGTM

@haphut
Copy link
Copy Markdown
Contributor

haphut commented Apr 14, 2026

Also, please rebase onto main and either squash or rename commits like "fixes++". 😁

…code them

feat(76471): check Java version alignment between Dockerfile and pom.xml

feat(76471): check Java version alignment between Dockerfile and pom.xml

feat(76471): check Java version alignment between Dockerfile and pom.xml

feat(76471): fix the .gitignore and remove the scripts/__pycache__

fix(76471): fix shared workflow scripts checkout using hardcoded repo and workflow_sha

github.workflow_ref inside a reusable workflow returns the caller's
workflow ref instead of the shared workflow's ref, causing the scripts
checkout to target the wrong repository. Replace dynamic resolution with
a hardcoded repository name and github.workflow_sha which correctly
references the reusable workflow's commit SHA.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

feat(76471): potential fix

test(76471): add unit tests for validate_java_version_consistency.py and CI workflow

feat(76455): inline the test layer of the Dockerfile in the CI/CD for simplifying the microservice's Dockerfiles

feat(76471): fixes after PR review

feat(76471): fixes++
@bogdandina bogdandina force-pushed the feature/76471_enforce-java-version-consistency-check branch from 885a6fa to ea5150b Compare April 16, 2026 17:30
@bogdandina bogdandina merged commit 57072cf into main Apr 16, 2026
1 check passed
@bogdandina bogdandina deleted the feature/76471_enforce-java-version-consistency-check branch April 16, 2026 17:43
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.

2 participants