Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@liliancavalet
Copy link
Contributor

@liliancavalet liliancavalet commented Oct 17, 2025

Description

This pull request primarily removes the usage of the !include-optimize Maven profile from all CI workflow jobs, since zeebe-partent for Optimize was bumped to 8.8.1-SNAPSHOT, as we did in all other components on Monorepo, and now the Optimize module is able to find zeebe-partent, no need to be skipped.

CI Workflow Simplification:

  • Removed the -P\!include-optimize Maven profile from all relevant ci.yml, ci-operate.yml, ci-tasklist.yml, ci-webapp-run-ut-reuseable.yml, and ci-zeebe.yml workflow jobs, simplifying the Maven command invocations and reducing unnecessary configuration complexity. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27]

  • Reduced the timeout for the "General / Unit - Back End" job from 25 to 10 minutes in ci.yml, likely to catch stuck jobs faster and optimize CI resource usage.

Dependency Updates (Optimize Backend):

  • Excluded the jakarta.xml.bind:jakarta.xml.bind-api transitive dependency from a backend dependency in optimize/backend/pom.xml to prevent unnecessary or conflicting dependencies.
  • Upgraded com.github.wnameless.json:json-base from version 2.5.0 to 2.5.1 in optimize/backend/pom.xml for bug fixes or improvements.
  • Updated the parent POM version in optimize/pom.xml from 8.8.0-SNAPSHOT to 8.8.1-SNAPSHOT to track the latest parent build.

Checklist

Related issues

closes #

@liliancavalet liliancavalet requested review from a team as code owners October 17, 2025 12:22
@liliancavalet liliancavalet requested review from danielkelemen and removed request for a team October 17, 2025 12:22
@liliancavalet liliancavalet removed request for a team and danielkelemen October 17, 2025 12:22
@szpraat
Copy link
Contributor

szpraat commented Oct 17, 2025

Could you provide some context about this PR Why was optimize excluded before ?

@liliancavalet liliancavalet added this pull request to the merge queue Oct 17, 2025
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}
- name: Build Maven
run: |
./mvnw clean deploy -B -T1C -P -docker,skipFrontendBuild -DskipTests -DskipChecks -DaltStagingDirectory=${{ github.workspace }}/staging-${{ env.BRANCH_NAME }} -DskipRemoteStaging=true -Dmaven.deploy.skip=true -P\!include-optimize
Copy link
Member

@maxdanilov maxdanilov Oct 17, 2025

Choose a reason for hiding this comment

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

could you please add to the PR descriptiom why this -P switch is being removed and what's the effect of it?

<groupId>io.camunda</groupId>
<artifactId>zeebe-parent</artifactId>
<version>8.8.0-SNAPSHOT</version>
<version>8.8.1-SNAPSHOT</version>
Copy link
Member

@maxdanilov maxdanilov Oct 17, 2025

Choose a reason for hiding this comment

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

does this mean that from now on, parent.version in this file must always match the version from pom.xml for zeebe-parent?

does it also mean Optimize and Monorepo must always be built in-sync, one after another for the 8.8.x patches (i.e. if 8.8.1 built for Monorepo, Optimize 8.8.1 also must be built - cannot be skipped, be another patch version etc.)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

does this mean that from now on, parent.version in this file must always match the version from pom.xml for zeebe-parent?

I think yes, but I would like first to confirm with this first patch release.

does it also mean Optimize and Monorepo must always be built in-sync, one after another for the 8.8.x patches (i.e. if 8.8.1 built for Monorepo, Optimize 8.8.1 also must be built - cannot be skipped, be another patch version etc.)?

don't think so. This is zeebe referenced by the version generated by this build, we don't actively changed the optimize version, so I believe they can still be run separately with no version dependency.

-D forkCount=7 -D skipITs -D skipQaBuild=true -D skipChecks -Dskip.docker
-D surefire.rerunFailingTestsCount=3 -D junitThreadCount=16 -P skipFrontendBuild
-P\!include-optimize
-pl '-:optimize-schema-integrity-tests'
Copy link
Contributor

Choose a reason for hiding this comment

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

How became it -pl '-:optimize-schema-integrity-tests' from -P\!include-optimize ? At other parts the negation was just removed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because that's what we had before the issue happened.

Merged via the queue into stable/8.8 with commit bdfaad7 Oct 17, 2025
119 of 124 checks passed
@liliancavalet liliancavalet deleted the bump-optimize-zeebe-version branch October 17, 2025 14:03
@backport-action
Copy link
Collaborator

Successfully created backport PR for release-8.8.1:

liliancavalet added a commit that referenced this pull request Oct 21, 2025
# Description
Backport of #39684 to `release-8.8.1`.

relates to
@github-actions github-actions bot added the version:8.8.1 Label that represents issues released on version 8.8.1 label Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release-8.8.1 component/build-pipeline version:8.8.1 Label that represents issues released on version 8.8.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants